
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
5195cd8
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.4.0", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.44.2", | |
"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.12.0", | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 799.584256, | |
"max_global_vram": 1192.7552, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.37152 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 7.991064453125, | |
"mean": 7.991064453125, | |
"stdev": 0.0, | |
"p50": 7.991064453125, | |
"p90": 7.991064453125, | |
"p95": 7.991064453125, | |
"p99": 7.991064453125, | |
"values": [ | |
7.991064453125 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 2.350228667445562e-06, | |
"ram": 1.2685167855790866e-06, | |
"gpu": 3.401113831957847e-06, | |
"total": 7.019859284982496e-06 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1096.282112, | |
"max_global_vram": 1203.24096, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 509.038592 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 129, | |
"total": 0.9979625272750855, | |
"mean": 0.007736143622287485, | |
"stdev": 0.00034827328323903543, | |
"p50": 0.007877632141113282, | |
"p90": 0.008041062545776368, | |
"p95": 0.008169919967651366, | |
"p99": 0.008412610511779784, | |
"values": [ | |
0.008289279937744141, | |
0.00829849624633789, | |
0.008161279678344726, | |
0.008175680160522461, | |
0.008088576316833495, | |
0.008103936195373536, | |
0.007962624073028564, | |
0.007931903839111328, | |
0.007953407764434815, | |
0.007902207851409913, | |
0.007945216178894043, | |
0.007918591976165772, | |
0.008059904098510743, | |
0.007930880069732665, | |
0.008138751983642578, | |
0.008456192016601562, | |
0.007935967922210694, | |
0.007996416091918946, | |
0.00799129581451416, | |
0.007949312210083008, | |
0.007942143917083741, | |
0.007861248016357422, | |
0.0078919677734375, | |
0.00790835189819336, | |
0.007944191932678223, | |
0.007913472175598145, | |
0.009253888130187989, | |
0.007925759792327881, | |
0.007911424160003662, | |
0.007947264194488525, | |
0.007915520191192627, | |
0.00795750379562378, | |
0.007817215919494629, | |
0.007591936111450195, | |
0.007585792064666748, | |
0.007624703884124756, | |
0.00758784008026123, | |
0.007590911865234375, | |
0.007607295989990235, | |
0.007970816135406494, | |
0.007916543960571289, | |
0.007966720104217529, | |
0.007968704223632812, | |
0.007956448078155518, | |
0.007990272045135497, | |
0.007890944004058837, | |
0.007894015789031983, | |
0.007907328128814697, | |
0.007952383995056152, | |
0.007927807807922363, | |
0.00785203218460083, | |
0.007970816135406494, | |
0.007932928085327149, | |
0.008006655693054199, | |
0.007836671829223632, | |
0.007822336196899414, | |
0.00790015983581543, | |
0.00791756820678711, | |
0.007858176231384278, | |
0.007877632141113282, | |
0.007905312061309814, | |
0.007933951854705811, | |
0.007863296031951903, | |
0.007831552028656007, | |
0.007990272045135497, | |
0.008228863716125488, | |
0.008094719886779785, | |
0.007948287963867188, | |
0.007982079982757568, | |
0.007942143917083741, | |
0.007888895988464355, | |
0.007979008197784423, | |
0.007911424160003662, | |
0.007922688007354736, | |
0.008036352157592774, | |
0.00784281587600708, | |
0.007840767860412597, | |
0.0077281279563903805, | |
0.007721983909606934, | |
0.007931903839111328, | |
0.00759500789642334, | |
0.007491583824157715, | |
0.007727104187011719, | |
0.007506944179534912, | |
0.007572480201721191, | |
0.007548927783966064, | |
0.007602176189422607, | |
0.007635007858276368, | |
0.008026111602783203, | |
0.008300543785095215, | |
0.007547904014587403, | |
0.007566336154937744, | |
0.007966720104217529, | |
0.007425024032592774, | |
0.00748748779296875, | |
0.007579648017883301, | |
0.00753766393661499, | |
0.007465983867645264, | |
0.007211008071899414, | |
0.007245823860168457, | |
0.007231488227844239, | |
0.007316480159759522, | |
0.0072427520751953125, | |
0.007325695991516113, | |
0.007235583782196045, | |
0.007236608028411865, | |
0.007236608028411865, | |
0.007227392196655274, | |
0.007251904010772705, | |
0.00722431993484497, | |
0.007235583782196045, | |
0.007283648014068603, | |
0.007214079856872559, | |
0.007291903972625732, | |
0.007256063938140869, | |
0.00723964786529541, | |
0.007262176036834717, | |
0.007264256000518799, | |
0.00722431993484497, | |
0.007269375801086426, | |
0.007233535766601563, | |
0.007255040168762207, | |
0.0072325119972229, | |
0.007216127872467041, | |
0.007217088222503662, | |
0.007233535766601563, | |
0.007206912040710449, | |
0.0072120318412780765, | |
0.007236608028411865 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 129.26337059191152 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 8.879735535306381e-08, | |
"ram": 4.852506669808182e-08, | |
"gpu": 1.6513487505985751e-07, | |
"total": 3.0245729711100315e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3306251.8562182207 | |
} | |
} | |
} | |
} |