
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
774debe
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.225-213.878.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.2", | |
"transformers_commit": null, | |
"accelerate_version": "1.0.0", | |
"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 | |
}, | |
"print_report": true, | |
"log_report": true | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 802.4064, | |
"max_global_vram": 1192.7552, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.37152 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.0722708511352539 | |
], | |
"count": 1, | |
"total": 0.0722708511352539, | |
"mean": 0.0722708511352539, | |
"p50": 0.0722708511352539, | |
"p90": 0.0722708511352539, | |
"p95": 0.0722708511352539, | |
"p99": 0.0722708511352539, | |
"stdev": 0, | |
"stdev_": 0 | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1088.643072, | |
"max_global_vram": 1203.24096, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 509.03808 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.006231040000915527, | |
0.005954559803009033, | |
0.006007808208465576, | |
0.006067200183868408, | |
0.006300672054290772, | |
0.006242303848266601, | |
0.006277120113372803, | |
0.006285312175750732, | |
0.006228991985321045, | |
0.00612556791305542, | |
0.005975039958953857, | |
0.006223872184753418, | |
0.0062156481742858885, | |
0.006061056137084961, | |
0.00602726411819458, | |
0.006046720027923584, | |
0.005991424083709717, | |
0.005895167827606201, | |
0.00602623987197876, | |
0.006155263900756836, | |
0.005982207775115967, | |
0.005959680080413818, | |
0.0060405759811401364, | |
0.006046720027923584, | |
0.006061056137084961, | |
0.006212607860565185, | |
0.006277120113372803, | |
0.005982240200042724, | |
0.006159359931945801, | |
0.006033408164978027, | |
0.006086656093597412, | |
0.006015999794006348, | |
0.0060702719688415525, | |
0.00610207986831665, | |
0.006078464031219482, | |
0.005963776111602783, | |
0.005943295955657959, | |
0.005971968173980713, | |
0.006067200183868408, | |
0.006080512046813965, | |
0.006049791812896729, | |
0.005986303806304932, | |
0.006017024040222168, | |
0.0060282878875732426, | |
0.006025216102600098, | |
0.006144000053405762, | |
0.0062638077735900875, | |
0.006214655876159668, | |
0.006218751907348633, | |
0.0060405759811401364, | |
0.005996575832366943, | |
0.006094848155975342, | |
0.005914624214172363, | |
0.005933055877685547, | |
0.00591871976852417, | |
0.006154240131378174, | |
0.006206463813781738, | |
0.00601907205581665, | |
0.005986303806304932, | |
0.005996543884277344, | |
0.005941247940063477, | |
0.006023168087005615, | |
0.006011903762817383, | |
0.006110208034515381, | |
0.00611737585067749, | |
0.006095871925354004, | |
0.006138879776000977, | |
0.006032383918762207, | |
0.006067200183868408, | |
0.005958655834197998, | |
0.006045695781707764, | |
0.005987328052520752, | |
0.006008831977844238, | |
0.0060282878875732426, | |
0.005947328090667724, | |
0.006043615818023681, | |
0.005941279888153076, | |
0.005817344188690185, | |
0.006137856006622314, | |
0.005958655834197998, | |
0.005988351821899414, | |
0.00613478422164917, | |
0.005912576198577881, | |
0.005649407863616943, | |
0.005582848072052002, | |
0.005851136207580566, | |
0.0059361281394958495, | |
0.006032383918762207, | |
0.00611737585067749, | |
0.006157279968261719, | |
0.006178815841674804, | |
0.006146048069000244, | |
0.006302720069885254, | |
0.006662144184112549, | |
0.0061972479820251464, | |
0.0059023361206054685, | |
0.005895167827606201, | |
0.00586956787109375, | |
0.00588595199584961, | |
0.005933055877685547, | |
0.005903359889984131, | |
0.0058757119178771975, | |
0.005889023780822754, | |
0.005831679821014404, | |
0.006251520156860352, | |
0.005932991981506348, | |
0.0058757119178771975, | |
0.005833727836608887, | |
0.005824512004852295, | |
0.0057825279235839844, | |
0.005814271926879883, | |
0.005783552169799804, | |
0.005846015930175781, | |
0.005775360107421875, | |
0.005777408123016357, | |
0.00582144021987915, | |
0.005777408123016357, | |
0.005787615776062012, | |
0.005772287845611572, | |
0.005801983833312988, | |
0.005780479907989502, | |
0.005810175895690918, | |
0.005744639873504639, | |
0.005798912048339844, | |
0.005773312091827393, | |
0.0058091521263122555, | |
0.005790719985961914, | |
0.005788671970367432, | |
0.005807104110717773, | |
0.005764095783233642, | |
0.005791744232177734, | |
0.0057794561386108395, | |
0.005808127880096436, | |
0.005788671970367432, | |
0.005810175895690918, | |
0.005774335861206055, | |
0.00581331205368042, | |
0.005798912048339844, | |
0.005805056095123291, | |
0.00582144021987915, | |
0.005785600185394287, | |
0.005808127880096436, | |
0.005816319942474365, | |
0.005808127880096436, | |
0.005775360107421875, | |
0.005797887802124023, | |
0.00575491189956665, | |
0.005785600185394287, | |
0.005781504154205322, | |
0.0057794561386108395, | |
0.005758975982666016, | |
0.0057794561386108395, | |
0.005781504154205322, | |
0.005794816017150879, | |
0.005814271926879883, | |
0.005794816017150879, | |
0.005796864032745362, | |
0.005801983833312988, | |
0.005777408123016357, | |
0.005747712135314941, | |
0.005758975982666016, | |
0.005789631843566894, | |
0.005766143798828125, | |
0.005819392204284668, | |
0.005757952213287353, | |
0.005814239978790283, | |
0.005751776218414307, | |
0.005745664119720459 | |
], | |
"count": 168, | |
"total": 1.000191871166229, | |
"mean": 0.0059535230426561265, | |
"p50": 0.005942287921905518, | |
"p90": 0.006200012731552124, | |
"p95": 0.006238361501693725, | |
"p99": 0.006301347899436951, | |
"stdev": 0.00016837303829047318, | |
"stdev_": 2.828124407751593 | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 167.96777182773047 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 6.828796402857333e-08, | |
"ram": 3.7278856134634245e-08, | |
"gpu": 1.3640975152873688e-07, | |
"total": 2.4197657169194445e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 4132631.4899323396 | |
} | |
} | |
} | |
} |