
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
e604409
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": 816.427008, | |
"max_global_vram": 1192.7552, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.37152 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.06047948837280273 | |
], | |
"count": 1, | |
"total": 0.06047948837280273, | |
"mean": 0.06047948837280273, | |
"p50": 0.06047948837280273, | |
"p90": 0.06047948837280273, | |
"p95": 0.06047948837280273, | |
"p99": 0.06047948837280273, | |
"stdev": 0, | |
"stdev_": 0 | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1093.77536, | |
"max_global_vram": 1207.435264, | |
"max_process_vram": 0.0, | |
"max_reserved": 559.939584, | |
"max_allocated": 510.51264 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.006740960121154785, | |
0.006482944011688232, | |
0.006423552036285401, | |
0.006468639850616455, | |
0.006503392219543457, | |
0.006499360084533692, | |
0.006475776195526123, | |
0.006526976108551025, | |
0.006481919765472412, | |
0.006509568214416504, | |
0.006523903846740723, | |
0.006449088096618653, | |
0.006462463855743408, | |
0.006457344055175781, | |
0.00653107213973999, | |
0.006487040042877197, | |
0.006467584133148193, | |
0.006396927833557129, | |
0.006271999835968017, | |
0.006150144100189209, | |
0.006100992202758789, | |
0.006128640174865723, | |
0.006171648025512695, | |
0.0061296639442443845, | |
0.006136832237243653, | |
0.006169600009918213, | |
0.006207488059997559, | |
0.006154240131378174, | |
0.006154240131378174, | |
0.006171648025512695, | |
0.006311935901641846, | |
0.006524928092956543, | |
0.0062576642036437985, | |
0.0062197761535644535, | |
0.006202367782592774, | |
0.006235136032104492, | |
0.006189055919647217, | |
0.006142975807189942, | |
0.0061634559631347655, | |
0.006201344013214111, | |
0.006206463813781738, | |
0.006202367782592774, | |
0.0062576642036437985, | |
0.006173696041107178, | |
0.006212607860565185, | |
0.00620851182937622, | |
0.006049791812896729, | |
0.006113279819488526, | |
0.006141952037811279, | |
0.006146048069000244, | |
0.006118400096893311, | |
0.006118400096893311, | |
0.006173696041107178, | |
0.006248447895050049, | |
0.006080512046813965, | |
0.006686719894409179, | |
0.00638156795501709, | |
0.00643071985244751, | |
0.00642460823059082, | |
0.0064297599792480465, | |
0.00640828800201416, | |
0.006423552036285401, | |
0.0063610877990722655, | |
0.006417439937591553, | |
0.006409247875213623, | |
0.006556672096252441, | |
0.006513599872589111, | |
0.006276095867156982, | |
0.00622489595413208, | |
0.0062382397651672365, | |
0.006227935791015625, | |
0.006207488059997559, | |
0.006178815841674804, | |
0.006271999835968017, | |
0.0064245758056640625, | |
0.006427648067474365, | |
0.006363135814666748, | |
0.006546432018280029, | |
0.0063805441856384275, | |
0.006032383918762207, | |
0.006034431934356689, | |
0.005916672229766846, | |
0.005925888061523437, | |
0.006083680152893066, | |
0.006087679862976075, | |
0.006041600227355957, | |
0.005790719985961914, | |
0.006015999794006348, | |
0.006329343795776367, | |
0.006262784004211426, | |
0.006268928050994873, | |
0.006398975849151611, | |
0.006384640216827392, | |
0.006498303890228272, | |
0.006710271835327148, | |
0.006529024124145508, | |
0.006328320026397705, | |
0.00606822395324707, | |
0.006085631847381592, | |
0.006092735767364502, | |
0.006058047771453858, | |
0.00607535982131958, | |
0.006054912090301514, | |
0.006086656093597412, | |
0.006062079906463623, | |
0.006076416015625, | |
0.006046720027923584, | |
0.006080512046813965, | |
0.006039552211761475, | |
0.006042623996734619, | |
0.006052864074707031, | |
0.006041600227355957, | |
0.00602623987197876, | |
0.006049791812896729, | |
0.006024191856384278, | |
0.006053887844085694, | |
0.006023168087005615, | |
0.0063610877990722655, | |
0.00608460807800293, | |
0.006052864074707031, | |
0.00604259204864502, | |
0.006020095825195313, | |
0.0060364799499511715, | |
0.006118400096893311, | |
0.006062079906463623, | |
0.006039552211761475, | |
0.006046720027923584, | |
0.006014976024627685, | |
0.006037504196166992, | |
0.006047743797302246, | |
0.006074336051940918, | |
0.006050816059112549, | |
0.006082560062408447, | |
0.006024256229400635, | |
0.006076416015625, | |
0.006048768043518066, | |
0.006039552211761475, | |
0.006014976024627685, | |
0.00608460807800293, | |
0.006013951778411865, | |
0.006056960105895996, | |
0.006011903762817383, | |
0.006047808170318604, | |
0.006007808208465576, | |
0.006048768043518066, | |
0.006085631847381592, | |
0.006067200183868408, | |
0.00608358383178711, | |
0.006045695781707764, | |
0.00606822395324707, | |
0.006060031890869141, | |
0.00608358383178711, | |
0.00602726411819458, | |
0.006071296215057373, | |
0.0060692157745361325, | |
0.006072319984436035, | |
0.006042623996734619, | |
0.00603545618057251, | |
0.00626585578918457, | |
0.006445055961608887, | |
0.0062863359451293946 | |
], | |
"count": 161, | |
"total": 0.9991856307983398, | |
"mean": 0.00620612193042447, | |
"p50": 0.006146048069000244, | |
"p90": 0.006482944011688232, | |
"p95": 0.006524928092956543, | |
"p99": 0.006696140670776367, | |
"stdev": 0.00018441925008091885, | |
"stdev_": 2.971569881294701 | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 322.2624406064818 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 6.861254387443693e-08, | |
"ram": 3.7492024729370783e-08, | |
"gpu": 1.8400143172254442e-07, | |
"total": 2.9010600032635215e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 6894031.828883642 | |
} | |
} | |
} | |
} |