
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
3ca6914
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.5.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": 2, | |
"sequence_length": 16, | |
"num_choices": 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.248768, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.10.228-219.884.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.dev0", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.46.3", | |
"transformers_commit": null, | |
"accelerate_version": "1.1.1", | |
"accelerate_commit": null, | |
"diffusers_version": "0.31.0", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.11", | |
"timm_commit": null, | |
"peft_version": "0.13.2", | |
"peft_commit": null | |
}, | |
"print_report": true, | |
"log_report": true | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 821.231616, | |
"max_global_vram": 1192.7552, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.37152 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.05974220657348633 | |
], | |
"count": 1, | |
"total": 0.05974220657348633, | |
"mean": 0.05974220657348633, | |
"p50": 0.05974220657348633, | |
"p90": 0.05974220657348633, | |
"p95": 0.05974220657348633, | |
"p99": 0.05974220657348633, | |
"stdev": 0, | |
"stdev_": 0 | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1098.579968, | |
"max_global_vram": 1207.435264, | |
"max_process_vram": 0.0, | |
"max_reserved": 559.939584, | |
"max_allocated": 510.51264 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.0064849920272827145, | |
0.006231040000915527, | |
0.0061777281761169435, | |
0.0062156801223754886, | |
0.006262784004211426, | |
0.0062638077735900875, | |
0.006285312175750732, | |
0.0062156801223754886, | |
0.00626796817779541, | |
0.006223872184753418, | |
0.006319104194641113, | |
0.006278143882751465, | |
0.00622489595413208, | |
0.006250495910644531, | |
0.006212607860565185, | |
0.006247424125671387, | |
0.006236095905303955, | |
0.006271999835968017, | |
0.0062494721412658695, | |
0.006056960105895996, | |
0.006124544143676758, | |
0.0060886721611022945, | |
0.00619212818145752, | |
0.006151167869567871, | |
0.006171648025512695, | |
0.0061634559631347655, | |
0.006221824169158936, | |
0.006188032150268555, | |
0.006248447895050049, | |
0.0062044157981872555, | |
0.006244383811950684, | |
0.006312960147857666, | |
0.006299647808074951, | |
0.006338624000549317, | |
0.006296576023101807, | |
0.006260735988616943, | |
0.006309887886047363, | |
0.0062341117858886715, | |
0.006200319766998291, | |
0.006130688190460205, | |
0.006196224212646485, | |
0.006210559844970703, | |
0.0063508801460266115, | |
0.006228991985321045, | |
0.006160384178161621, | |
0.00622489595413208, | |
0.006202367782592774, | |
0.006191103935241699, | |
0.0060590081214904785, | |
0.006155263900756836, | |
0.00619212818145752, | |
0.006220799922943115, | |
0.006159359931945801, | |
0.006148096084594727, | |
0.006337535858154297, | |
0.006237184047698975, | |
0.006160384178161621, | |
0.00608460807800293, | |
0.00618393611907959, | |
0.006164480209350586, | |
0.006203392028808594, | |
0.006244319915771485, | |
0.006162432193756104, | |
0.006217728137969971, | |
0.006209536075592041, | |
0.0062044157981872555, | |
0.006164480209350586, | |
0.006236159801483154, | |
0.0062975997924804685, | |
0.006659071922302246, | |
0.0065484800338745115, | |
0.006568960189819336, | |
0.0065382399559021, | |
0.006536191940307618, | |
0.006409215927124024, | |
0.006252543926239014, | |
0.006245376110076905, | |
0.0061972479820251464, | |
0.006135807991027832, | |
0.006147039890289307, | |
0.006227968215942382, | |
0.006096864223480224, | |
0.006285312175750732, | |
0.006065152168273926, | |
0.005929984092712402, | |
0.005996543884277344, | |
0.006457344055175781, | |
0.007488512039184571, | |
0.006106112003326416, | |
0.006079487800598145, | |
0.006097919940948486, | |
0.006240255832672119, | |
0.00622489595413208, | |
0.006220799922943115, | |
0.0062146239280700686, | |
0.006224864006042481, | |
0.006393856048583985, | |
0.006468607902526856, | |
0.006329343795776367, | |
0.006230016231536865, | |
0.006111231803894043, | |
0.006166528224945069, | |
0.006136832237243653, | |
0.00618393611907959, | |
0.0061224961280822755, | |
0.006195199966430664, | |
0.006168575763702393, | |
0.00607539176940918, | |
0.00608460807800293, | |
0.0060405759811401364, | |
0.006102015972137451, | |
0.0060631041526794435, | |
0.006124544143676758, | |
0.00606822395324707, | |
0.0060917439460754395, | |
0.00603545618057251, | |
0.006063039779663086, | |
0.006157311916351318, | |
0.006114304065704346, | |
0.006050816059112549, | |
0.006073311805725097, | |
0.00601907205581665, | |
0.006056960105895996, | |
0.006043647766113281, | |
0.005856256008148194, | |
0.005807104110717773, | |
0.005832672119140625, | |
0.005815296173095703, | |
0.005823520183563233, | |
0.005811200141906738, | |
0.005854176044464111, | |
0.0058009600639343266, | |
0.005835775852203369, | |
0.005793791770935058, | |
0.005863423824310303, | |
0.005833727836608887, | |
0.00582041597366333, | |
0.005825535774230957, | |
0.00581324815750122, | |
0.005833727836608887, | |
0.005798912048339844, | |
0.005822463989257813, | |
0.005795839786529541, | |
0.005833727836608887, | |
0.005823488235473633, | |
0.005837823867797852, | |
0.0058716158866882326, | |
0.005848063945770264, | |
0.005818367958068848, | |
0.005822463989257813, | |
0.0058388481140136715, | |
0.005794816017150879, | |
0.005849088191986084, | |
0.005799935817718506, | |
0.005866496086120605, | |
0.005805056095123291, | |
0.0058429441452026365, | |
0.005789663791656494, | |
0.005859327793121338, | |
0.00582041597366333, | |
0.005826560020446778, | |
0.005805056095123291, | |
0.005830656051635743 | |
], | |
"count": 163, | |
"total": 0.99835462474823, | |
"mean": 0.006124874998455399, | |
"p50": 0.0061634559631347655, | |
"p90": 0.006312345695495605, | |
"p95": 0.006452531242370605, | |
"p99": 0.006603202648162841, | |
"stdev": 0.00022173285783813992, | |
"stdev_": 3.620202173824896 | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 326.5372763532921 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 7.127040780106055e-08, | |
"ram": 3.8946413836958264e-08, | |
"gpu": 1.9849150942515058e-07, | |
"total": 3.087083310631694e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 6478607.147115671 | |
} | |
} | |
} | |
} |