
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
2bd51e8
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_text-classification_FacebookAI/roberta-base", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.3.1+cu121", | |
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend", | |
"task": "text-classification", | |
"library": "transformers", | |
"model_type": "roberta", | |
"model": "FacebookAI/roberta-base", | |
"processor": "FacebookAI/roberta-base", | |
"device": "cuda", | |
"device_ids": "0", | |
"seed": 42, | |
"inter_op_num_threads": null, | |
"intra_op_num_threads": null, | |
"model_kwargs": {}, | |
"processor_kwargs": {}, | |
"no_weights": true, | |
"device_map": null, | |
"torch_dtype": null, | |
"eval_mode": true, | |
"to_bettertransformer": false, | |
"low_cpu_mem_usage": null, | |
"attn_implementation": null, | |
"cache_implementation": null, | |
"autocast_enabled": false, | |
"autocast_dtype": null, | |
"torch_compile": false, | |
"torch_compile_target": "forward", | |
"torch_compile_config": {}, | |
"quantization_scheme": null, | |
"quantization_config": {}, | |
"deepspeed_inference": false, | |
"deepspeed_inference_config": {}, | |
"peft_type": null, | |
"peft_config": {} | |
}, | |
"scenario": { | |
"name": "inference", | |
"_target_": "optimum_benchmark.scenarios.inference.scenario.InferenceScenario", | |
"iterations": 1, | |
"duration": 1, | |
"warmup_runs": 1, | |
"input_shapes": { | |
"batch_size": 1, | |
"num_choices": 2, | |
"sequence_length": 2 | |
}, | |
"new_tokens": null, | |
"memory": true, | |
"latency": true, | |
"energy": true, | |
"forward_kwargs": {}, | |
"generate_kwargs": { | |
"max_new_tokens": 2, | |
"min_new_tokens": 2 | |
}, | |
"call_kwargs": { | |
"num_inference_steps": 2 | |
} | |
}, | |
"launcher": { | |
"name": "process", | |
"_target_": "optimum_benchmark.launchers.process.launcher.ProcessLauncher", | |
"device_isolation": true, | |
"device_isolation_action": "error", | |
"numactl": false, | |
"numactl_kwargs": {}, | |
"start_method": "spawn" | |
}, | |
"environment": { | |
"cpu": " AMD EPYC 7R32", | |
"cpu_count": 16, | |
"cpu_ram_mb": 66697.293824, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.10.219-208.866.amzn2.x86_64-x86_64-with-glibc2.35", | |
"processor": "x86_64", | |
"python_version": "3.10.12", | |
"gpu": [ | |
"NVIDIA A10G" | |
], | |
"gpu_count": 1, | |
"gpu_vram_mb": 24146608128, | |
"optimum_benchmark_version": "0.4.0", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.43.3", | |
"transformers_commit": null, | |
"accelerate_version": "0.33.0", | |
"accelerate_commit": null, | |
"diffusers_version": "0.29.2", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.8", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 719.507456, | |
"max_global_vram": 1185.415168, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.374592 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 7.2254052734375, | |
"mean": 7.2254052734375, | |
"stdev": 0.0, | |
"p50": 7.2254052734375, | |
"p90": 7.2254052734375, | |
"p95": 7.2254052734375, | |
"p99": 7.2254052734375, | |
"values": [ | |
7.2254052734375 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 1.0880448751979404e-06, | |
"ram": 5.80658852224758e-07, | |
"gpu": 1.8588903760003404e-06, | |
"total": 3.527594103423039e-06 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 911.695872, | |
"max_global_vram": 1195.900928, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 508.993024 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 153, | |
"total": 0.9993215699195866, | |
"mean": 0.006531513528886184, | |
"stdev": 0.00029292487624618424, | |
"p50": 0.006486015796661377, | |
"p90": 0.006664639949798584, | |
"p95": 0.006756761646270752, | |
"p99": 0.00763998216629027, | |
"values": [ | |
0.009286656379699706, | |
0.00832102394104004, | |
0.006770688056945801, | |
0.0066796159744262696, | |
0.006683648109436035, | |
0.0066713600158691405, | |
0.006662208080291748, | |
0.006651904106140137, | |
0.006619071960449219, | |
0.006512639999389648, | |
0.0065382399559021, | |
0.006478847980499268, | |
0.006385663986206055, | |
0.006426623821258545, | |
0.006470560073852539, | |
0.006486015796661377, | |
0.006540287971496582, | |
0.00653107213973999, | |
0.006545407772064209, | |
0.006532095909118653, | |
0.006431807994842529, | |
0.006457344055175781, | |
0.0065484800338745115, | |
0.00653926420211792, | |
0.0065146880149841305, | |
0.0065710082054138185, | |
0.0065064959526062015, | |
0.006512639999389648, | |
0.006495232105255127, | |
0.006511616230010986, | |
0.006499328136444092, | |
0.006495232105255127, | |
0.006474751949310303, | |
0.00638976001739502, | |
0.006360127925872803, | |
0.006435840129852295, | |
0.006412288188934326, | |
0.006376448154449463, | |
0.006472703933715821, | |
0.0064542717933654785, | |
0.006469632148742676, | |
0.006568960189819336, | |
0.00652185583114624, | |
0.006536191940307618, | |
0.0066007041931152345, | |
0.006474751949310303, | |
0.006471680164337158, | |
0.006401055812835693, | |
0.006491136074066162, | |
0.0065372161865234375, | |
0.006490111827850342, | |
0.0064767999649047855, | |
0.006502399921417237, | |
0.006459392070770263, | |
0.0064133119583129885, | |
0.0064336957931518555, | |
0.006470655918121338, | |
0.00652185583114624, | |
0.006555647850036621, | |
0.006425600051879882, | |
0.006489088058471679, | |
0.006425600051879882, | |
0.006451200008392334, | |
0.006434815883636475, | |
0.006433792114257812, | |
0.006469632148742676, | |
0.006499263763427734, | |
0.006565887928009034, | |
0.006553599834442139, | |
0.0065136637687683106, | |
0.006560768127441406, | |
0.006554624080657959, | |
0.0065064959526062015, | |
0.006586368083953857, | |
0.006409215927124024, | |
0.006503424167633057, | |
0.006560768127441406, | |
0.006376448154449463, | |
0.006985727787017822, | |
0.006343679904937744, | |
0.0062863359451293946, | |
0.006415359973907471, | |
0.006326335906982422, | |
0.006277120113372803, | |
0.006150144100189209, | |
0.006203392028808594, | |
0.006184959888458252, | |
0.006137856006622314, | |
0.00633241605758667, | |
0.006721536159515381, | |
0.006808544158935547, | |
0.006871039867401123, | |
0.007011328220367432, | |
0.006724544048309326, | |
0.0067573761940002445, | |
0.0067051520347595215, | |
0.00657206392288208, | |
0.006558720111846924, | |
0.006665247917175293, | |
0.006511616230010986, | |
0.00653004789352417, | |
0.006492159843444824, | |
0.006516736030578613, | |
0.00652185583114624, | |
0.006474751949310303, | |
0.006471680164337158, | |
0.006543360233306885, | |
0.006479872226715088, | |
0.006482944011688232, | |
0.006495232105255127, | |
0.006465536117553711, | |
0.006471680164337158, | |
0.006495232105255127, | |
0.006451200008392334, | |
0.006471680164337158, | |
0.006445055961608887, | |
0.006457344055175781, | |
0.006475776195526123, | |
0.006462463855743408, | |
0.006471680164337158, | |
0.006486015796661377, | |
0.006493184089660644, | |
0.006603775978088379, | |
0.006492159843444824, | |
0.0065474557876586915, | |
0.006508543968200684, | |
0.006496255874633789, | |
0.006756351947784424, | |
0.006508543968200684, | |
0.0064522562026977535, | |
0.006482944011688232, | |
0.0064839677810668945, | |
0.006467584133148193, | |
0.006456319808959961, | |
0.006475776195526123, | |
0.00643891191482544, | |
0.006562816143035889, | |
0.006448128223419189, | |
0.006461440086364746, | |
0.006436831951141357, | |
0.0064471039772033695, | |
0.006464511871337891, | |
0.006456319808959961, | |
0.0064522562026977535, | |
0.006494207859039307, | |
0.0064430079460144046, | |
0.006464511871337891, | |
0.0064849920272827145, | |
0.006455296039581298, | |
0.006479872226715088, | |
0.0064716157913208006, | |
0.006440959930419922, | |
0.006510591983795166 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 153.10387027101964 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 7.390392760394604e-08, | |
"ram": 4.040778299589828e-08, | |
"gpu": 1.430349660496897e-07, | |
"total": 2.57346676649534e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3885808.8747026795 | |
} | |
} | |
} | |
} |