
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
b34fc13
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.4.1+cu124", | |
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend", | |
"task": "multiple-choice", | |
"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.261056, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.10.224-212.876.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.5.0", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.45.0", | |
"transformers_commit": null, | |
"accelerate_version": "0.34.2", | |
"accelerate_commit": null, | |
"diffusers_version": "0.30.3", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.9", | |
"timm_commit": null, | |
"peft_version": "0.13.0", | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 803.65568, | |
"max_global_vram": 1192.7552, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.37152 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 0.07824691009521484, | |
"mean": 0.07824691009521484, | |
"stdev": 0.0, | |
"p50": 0.07824691009521484, | |
"p90": 0.07824691009521484, | |
"p95": 0.07824691009521484, | |
"p99": 0.07824691009521484, | |
"values": [ | |
0.07824691009521484 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 9.125327291460256e-07, | |
"ram": 4.811736612244781e-07, | |
"gpu": 0.0, | |
"total": 1.3937063903705036e-06 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1089.196032, | |
"max_global_vram": 1203.24096, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 509.03808 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 168, | |
"total": 0.9971295700073243, | |
"mean": 0.005935295059567406, | |
"stdev": 0.00024726132759896486, | |
"p50": 0.005957632064819336, | |
"p90": 0.006055936098098755, | |
"p95": 0.0061800959348678585, | |
"p99": 0.007001385035514837, | |
"values": [ | |
0.006041600227355957, | |
0.005715968132019043, | |
0.005670911788940429, | |
0.005641248226165772, | |
0.005654528141021729, | |
0.005683199882507324, | |
0.005658624172210694, | |
0.005657599925994873, | |
0.005700607776641845, | |
0.0056258559226989744, | |
0.005567488193511963, | |
0.005585919857025146, | |
0.005585984230041504, | |
0.005653503894805908, | |
0.005631999969482422, | |
0.0056145920753479005, | |
0.005669888019561768, | |
0.005646336078643799, | |
0.005646336078643799, | |
0.005658624172210694, | |
0.0056483840942382815, | |
0.005670911788940429, | |
0.005631999969482422, | |
0.005642240047454834, | |
0.005628928184509278, | |
0.005645311832427978, | |
0.005634047985076904, | |
0.005634047985076904, | |
0.005642240047454834, | |
0.005627903938293457, | |
0.005650432109832764, | |
0.005617663860321045, | |
0.005605375766754151, | |
0.005603328227996827, | |
0.005627903938293457, | |
0.0057077760696411135, | |
0.005616640090942383, | |
0.0056514558792114256, | |
0.0056217598915100095, | |
0.005715968132019043, | |
0.00601087999343872, | |
0.0068618240356445315, | |
0.0062566399574279785, | |
0.006467584133148193, | |
0.005974016189575195, | |
0.005986303806304932, | |
0.005974016189575195, | |
0.005976064205169678, | |
0.005984255790710449, | |
0.005996543884277344, | |
0.005950528144836426, | |
0.005975039958953857, | |
0.006158336162567139, | |
0.00601907205581665, | |
0.005952511787414551, | |
0.005934080123901367, | |
0.005927999973297119, | |
0.006081535816192627, | |
0.005931007862091065, | |
0.005959680080413818, | |
0.005924863815307617, | |
0.005950496196746826, | |
0.005942272186279297, | |
0.005953536033630371, | |
0.005996543884277344, | |
0.005983232021331787, | |
0.005934080123901367, | |
0.005961728096008301, | |
0.005989376068115234, | |
0.0059770879745483394, | |
0.00601907205581665, | |
0.005957632064819336, | |
0.005959743976593017, | |
0.005972991943359375, | |
0.006052864074707031, | |
0.0060928001403808595, | |
0.005986303806304932, | |
0.005976064205169678, | |
0.005967872142791748, | |
0.005963776111602783, | |
0.005954559803009033, | |
0.005985280036926269, | |
0.005953536033630371, | |
0.006001664161682129, | |
0.005940224170684814, | |
0.00601087999343872, | |
0.006189055919647217, | |
0.006348800182342529, | |
0.007284736156463623, | |
0.006335487842559814, | |
0.006071296215057373, | |
0.0066406397819519045, | |
0.007512063980102539, | |
0.0060026879310607914, | |
0.005979135990142822, | |
0.005962719917297363, | |
0.005963776111602783, | |
0.005971968173980713, | |
0.005982207775115967, | |
0.005957632064819336, | |
0.005997568130493164, | |
0.005955584049224853, | |
0.005979135990142822, | |
0.005962751865386963, | |
0.005975039958953857, | |
0.006141952037811279, | |
0.0059955201148986816, | |
0.00602726411819458, | |
0.006108160018920898, | |
0.006030399799346924, | |
0.005984255790710449, | |
0.005941247940063477, | |
0.00597811222076416, | |
0.005943264007568359, | |
0.005972991943359375, | |
0.005917664051055908, | |
0.005976064205169678, | |
0.005929984092712402, | |
0.005962751865386963, | |
0.00592793607711792, | |
0.005949440002441406, | |
0.00591974401473999, | |
0.005956607818603516, | |
0.005990399837493897, | |
0.005943295955657959, | |
0.0059351038932800295, | |
0.005954559803009033, | |
0.005937151908874512, | |
0.005949440002441406, | |
0.0059269118309021, | |
0.0059361281394958495, | |
0.0059351038932800295, | |
0.0059361281394958495, | |
0.005923840045928955, | |
0.0060364799499511715, | |
0.0060631041526794435, | |
0.005966847896575928, | |
0.005917695999145508, | |
0.005920767784118652, | |
0.005925888061523437, | |
0.005962751865386963, | |
0.00592793607711792, | |
0.005942272186279297, | |
0.005966847896575928, | |
0.005974016189575195, | |
0.005943295955657959, | |
0.005987328052520752, | |
0.005928959846496582, | |
0.005954559803009033, | |
0.005943295955657959, | |
0.005967872142791748, | |
0.005967872142791748, | |
0.0060067839622497555, | |
0.0059699201583862304, | |
0.005983232021331787, | |
0.005963776111602783, | |
0.005963776111602783, | |
0.005946368217468262, | |
0.005961728096008301, | |
0.005932032108306885, | |
0.0061634559631347655, | |
0.005966847896575928, | |
0.0060026879310607914, | |
0.006021120071411133, | |
0.00602016019821167, | |
0.005983232021331787, | |
0.005970943927764893, | |
0.005950463771820068 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 168.48362043737805 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 7.02153621658921e-08, | |
"ram": 3.8368650188826585e-08, | |
"gpu": 1.4590905821303954e-07, | |
"total": 2.544930705677582e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3929380.072192387 | |
} | |
} | |
} | |
} |