IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
e787f00
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.463872, | |
"max_global_vram": 1192.7552, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.37152 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.07567155456542969 | |
], | |
"count": 1, | |
"total": 0.07567155456542969, | |
"mean": 0.07567155456542969, | |
"p50": 0.07567155456542969, | |
"p90": 0.07567155456542969, | |
"p95": 0.07567155456542969, | |
"p99": 0.07567155456542969, | |
"stdev": 0, | |
"stdev_": 0 | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 9.646063730208535e-05, | |
"ram": 5.284685317364262e-05, | |
"gpu": 0.00013741705437799942, | |
"total": 0.0002867245448537274 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1094.115328, | |
"max_global_vram": 1207.435264, | |
"max_process_vram": 0.0, | |
"max_reserved": 559.939584, | |
"max_allocated": 510.51264 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.006160352230072021, | |
0.005855231761932373, | |
0.005850080013275146, | |
0.005896192073822021, | |
0.005991424083709717, | |
0.006695968151092529, | |
0.006423552036285401, | |
0.007176191806793213, | |
0.006268928050994873, | |
0.006115327835083008, | |
0.006195199966430664, | |
0.006087679862976075, | |
0.0061296639442443845, | |
0.0060364799499511715, | |
0.00643993616104126, | |
0.006079487800598145, | |
0.006078495979309082, | |
0.006150144100189209, | |
0.006114304065704346, | |
0.00606928014755249, | |
0.0060999679565429685, | |
0.006072319984436035, | |
0.006071296215057373, | |
0.006071296215057373, | |
0.006060031890869141, | |
0.006830080032348633, | |
0.006328320026397705, | |
0.006157311916351318, | |
0.006082560062408447, | |
0.006089727878570556, | |
0.0060702719688415525, | |
0.006093823909759521, | |
0.006073344230651856, | |
0.006057983875274659, | |
0.006091775894165039, | |
0.006072319984436035, | |
0.006107135772705078, | |
0.006044735908508301, | |
0.00611737585067749, | |
0.006062079906463623, | |
0.006136832237243653, | |
0.006055935859680176, | |
0.006091775894165039, | |
0.006065152168273926, | |
0.0060999679565429685, | |
0.006050816059112549, | |
0.006141952037811279, | |
0.006055935859680176, | |
0.006059040069580078, | |
0.006062079906463623, | |
0.006080512046813965, | |
0.006057983875274659, | |
0.006030335903167725, | |
0.006065152168273926, | |
0.006037504196166992, | |
0.006043647766113281, | |
0.006031360149383545, | |
0.006060031890869141, | |
0.006042623996734619, | |
0.006159359931945801, | |
0.006209536075592041, | |
0.006235136032104492, | |
0.00620851182937622, | |
0.006052864074707031, | |
0.006087679862976075, | |
0.006098944187164307, | |
0.006054912090301514, | |
0.006062079906463623, | |
0.006074368000030517, | |
0.006015007972717285, | |
0.006057983875274659, | |
0.00601907205581665, | |
0.006168575763702393, | |
0.00606928014755249, | |
0.00607539176940918, | |
0.006057983875274659, | |
0.006057983875274659, | |
0.006060031890869141, | |
0.006078464031219482, | |
0.0060282878875732426, | |
0.006065152168273926, | |
0.0060293121337890625, | |
0.006048768043518066, | |
0.0060293121337890625, | |
0.0060661759376525876, | |
0.0060488319396972655, | |
0.006239232063293457, | |
0.006081535816192627, | |
0.0060928001403808595, | |
0.006269951820373535, | |
0.006131711959838867, | |
0.006116352081298828, | |
0.006053887844085694, | |
0.006427648067474365, | |
0.0060282878875732426, | |
0.006168575763702393, | |
0.0060631041526794435, | |
0.006067168235778808, | |
0.006065152168273926, | |
0.006344704151153564, | |
0.00611737585067749, | |
0.006062079906463623, | |
0.006091775894165039, | |
0.006023168087005615, | |
0.006065152168273926, | |
0.0060282878875732426, | |
0.0060661759376525876, | |
0.006013951778411865, | |
0.0060364799499511715, | |
0.006008831977844238, | |
0.006050816059112549, | |
0.00601804780960083, | |
0.006049791812896729, | |
0.006001664161682129, | |
0.0060364799499511715, | |
0.006017024040222168, | |
0.006047743797302246, | |
0.006029344081878662, | |
0.006038527965545654, | |
0.006015999794006348, | |
0.006011903762817383, | |
0.006022143840789795, | |
0.0060282878875732426, | |
0.006012896060943604, | |
0.006038527965545654, | |
0.00601907205581665, | |
0.006031360149383545, | |
0.0060293121337890625, | |
0.006037504196166992, | |
0.006056960105895996, | |
0.006013951778411865, | |
0.006037504196166992, | |
0.00601804780960083, | |
0.006042623996734619, | |
0.005913599967956543, | |
0.0059996161460876465, | |
0.00602726411819458, | |
0.006047743797302246, | |
0.006024191856384278, | |
0.006034431934356689, | |
0.006015999794006348, | |
0.00602726411819458, | |
0.005996543884277344, | |
0.006077439785003662, | |
0.00592793607711792, | |
0.005959680080413818, | |
0.005932032108306885, | |
0.005963712215423584, | |
0.006176767826080322, | |
0.006087679862976075, | |
0.0060364799499511715, | |
0.0065382399559021, | |
0.007420928001403809, | |
0.007632895946502686, | |
0.006401023864746094, | |
0.006291456222534179, | |
0.006090752124786377, | |
0.006102015972137451, | |
0.006052864074707031, | |
0.006048768043518066, | |
0.006037504196166992, | |
0.006065152168273926, | |
0.0060631041526794435 | |
], | |
"count": 163, | |
"total": 0.9963173422813412, | |
"mean": 0.006112376333014365, | |
"p50": 0.006062079906463623, | |
"p90": 0.006230016040802002, | |
"p95": 0.00642129921913147, | |
"p99": 0.007269191560745238, | |
"stdev": 0.00021718287556357909, | |
"stdev_": 3.553165965755804 | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 327.20498395976296 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 7.557072013005546e-08, | |
"ram": 4.125150115363044e-08, | |
"gpu": 2.0148636076433783e-07, | |
"total": 3.183085820480238e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 6283211.049893265 | |
} | |
} | |
} | |
} |