![IlyasMoutawwakil's picture](https://cdn-avatars.huggingface.co/v1/production/uploads/1642598610696-noauth.jpeg)
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
3949409
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.47.0", | |
"transformers_commit": null, | |
"accelerate_version": "1.2.0", | |
"accelerate_commit": null, | |
"diffusers_version": "0.31.0", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.12", | |
"timm_commit": null, | |
"peft_version": "0.14.0", | |
"peft_commit": null | |
}, | |
"print_report": true, | |
"log_report": true | |
}, | |
"report": { | |
"load_model": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 816.615424, | |
"max_global_vram": 1192.7552, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.37152 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.07438540649414062 | |
], | |
"count": 1, | |
"total": 0.07438540649414062, | |
"mean": 0.07438540649414062, | |
"p50": 0.07438540649414062, | |
"p90": 0.07438540649414062, | |
"p95": 0.07438540649414062, | |
"p99": 0.07438540649414062, | |
"stdev": 0, | |
"stdev_": 0 | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 9.678191215625166e-05, | |
"ram": 5.302557012959613e-05, | |
"gpu": 0.0001294228813159999, | |
"total": 0.0002792303636018477 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1094.262784, | |
"max_global_vram": 1207.435264, | |
"max_process_vram": 0.0, | |
"max_reserved": 559.939584, | |
"max_allocated": 510.51264 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.006217728137969971, | |
0.005938176155090332, | |
0.005972991943359375, | |
0.005942272186279297, | |
0.006130688190460205, | |
0.005943295955657959, | |
0.005996543884277344, | |
0.006021120071411133, | |
0.005894144058227539, | |
0.005829696178436279, | |
0.00587775993347168, | |
0.005827680110931397, | |
0.005854207992553711, | |
0.005819519996643066, | |
0.005854207992553711, | |
0.005849088191986084, | |
0.005855231761932373, | |
0.00586240005493164, | |
0.005876800060272217, | |
0.005894144058227539, | |
0.0059064321517944334, | |
0.005920767784118652, | |
0.005923840045928955, | |
0.00592793607711792, | |
0.006052864074707031, | |
0.006645760059356689, | |
0.005945343971252442, | |
0.0059361281394958495, | |
0.006052864074707031, | |
0.005900288105010986, | |
0.0060742077827453615, | |
0.005872543811798096, | |
0.0062873601913452145, | |
0.005902272224426269, | |
0.005930943965911865, | |
0.005947391986846923, | |
0.005933055877685547, | |
0.006306816101074219, | |
0.006432767868041992, | |
0.006141952037811279, | |
0.006153215885162353, | |
0.006139872074127198, | |
0.006104063987731933, | |
0.006096960067749024, | |
0.0061562881469726565, | |
0.006103040218353272, | |
0.00612556791305542, | |
0.006139904022216797, | |
0.006098944187164307, | |
0.006105088233947754, | |
0.006009984016418457, | |
0.006061056137084961, | |
0.006071296215057373, | |
0.006118400096893311, | |
0.006071296215057373, | |
0.006100992202758789, | |
0.006109183788299561, | |
0.006109183788299561, | |
0.006109183788299561, | |
0.0060999679565429685, | |
0.006102015972137451, | |
0.006102015972137451, | |
0.006102015972137451, | |
0.006200384140014648, | |
0.006024191856384278, | |
0.006034431934356689, | |
0.006061056137084961, | |
0.006200287818908691, | |
0.006124544143676758, | |
0.006072319984436035, | |
0.006159359931945801, | |
0.006087679862976075, | |
0.00608358383178711, | |
0.006089727878570556, | |
0.0061244797706604005, | |
0.006049791812896729, | |
0.006088704109191895, | |
0.006092832088470459, | |
0.006106112003326416, | |
0.00626691198348999, | |
0.006074368000030517, | |
0.006102015972137451, | |
0.006016128063201905, | |
0.006072319984436035, | |
0.006080512046813965, | |
0.006142975807189942, | |
0.0060067839622497555, | |
0.00603545618057251, | |
0.00602726411819458, | |
0.006103040218353272, | |
0.006090752124786377, | |
0.006127615928649902, | |
0.0060999679565429685, | |
0.006298624038696289, | |
0.006140927791595459, | |
0.006085631847381592, | |
0.006145023822784424, | |
0.006159359931945801, | |
0.006110112190246582, | |
0.006093823909759521, | |
0.006123519897460937, | |
0.006120416164398193, | |
0.0061224961280822755, | |
0.006106112003326416, | |
0.006207488059997559, | |
0.006072319984436035, | |
0.006052864074707031, | |
0.006074368000030517, | |
0.006103072166442871, | |
0.0061224961280822755, | |
0.006088704109191895, | |
0.006096896171569824, | |
0.006064127922058105, | |
0.006093823909759521, | |
0.006061056137084961, | |
0.006109183788299561, | |
0.006073344230651856, | |
0.006095871925354004, | |
0.006071296215057373, | |
0.006098944187164307, | |
0.006086656093597412, | |
0.006138944149017334, | |
0.0060590081214904785, | |
0.00608460807800293, | |
0.006080512046813965, | |
0.006078464031219482, | |
0.006095871925354004, | |
0.006042623996734619, | |
0.006137856006622314, | |
0.005959680080413818, | |
0.005948416233062744, | |
0.005898240089416504, | |
0.006179872035980224, | |
0.005996479988098145, | |
0.0060496959686279295, | |
0.005981184005737304, | |
0.006086495876312256, | |
0.005991424083709717, | |
0.006030335903167725, | |
0.005994559764862061, | |
0.00602726411819458, | |
0.006056960105895996, | |
0.006088704109191895, | |
0.00607539176940918, | |
0.00612556791305542, | |
0.006228991985321045, | |
0.006440959930419922, | |
0.006254591941833496, | |
0.006363071918487549, | |
0.0064133119583129885, | |
0.006124544143676758, | |
0.006108160018920898, | |
0.006094848155975342, | |
0.006116352081298828, | |
0.006093823909759521, | |
0.00608358383178711, | |
0.006042623996734619, | |
0.0059985918998718265, | |
0.006087679862976075, | |
0.00608358383178711, | |
0.006119455814361572, | |
0.006082560062408447, | |
0.00612556791305542, | |
0.006107135772705078 | |
], | |
"count": 164, | |
"total": 0.9959905300140383, | |
"mean": 0.006073112987890476, | |
"p50": 0.006087167978286743, | |
"p90": 0.006159359931945801, | |
"p95": 0.0062650639772415155, | |
"p99": 0.006435798931121827, | |
"stdev": 0.0001182175853338941, | |
"stdev_": 1.9465731260000403 | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 329.32040026060986 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 7.788834683641831e-08, | |
"ram": 4.2560946043533506e-08, | |
"gpu": 1.959297137516251e-07, | |
"total": 3.1637900663157696e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 6321531.954011722 | |
} | |
} | |
} | |
} |