IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
b34a006
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.3.1+rocm5.7", | |
"_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": "5", | |
"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": false, | |
"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": "warn", | |
"numactl": false, | |
"numactl_kwargs": {}, | |
"start_method": "spawn" | |
}, | |
"environment": { | |
"cpu": " AMD EPYC 7763 64-Core Processor", | |
"cpu_count": 128, | |
"cpu_ram_mb": 1082015.256576, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.15.0-101-generic-x86_64-with-glibc2.35", | |
"processor": "x86_64", | |
"python_version": "3.10.12", | |
"gpu": [ | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]" | |
], | |
"gpu_count": 8, | |
"gpu_vram_mb": 549621596160, | |
"optimum_benchmark_version": "0.4.0", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.44.2", | |
"transformers_commit": null, | |
"accelerate_version": "0.34.2", | |
"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.12.0", | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1077.796864, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 49305.587712, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.37152 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 8.5466279296875, | |
"mean": 8.5466279296875, | |
"stdev": 0.0, | |
"p50": 8.5466279296875, | |
"p90": 8.5466279296875, | |
"p95": 8.5466279296875, | |
"p99": 8.5466279296875, | |
"values": [ | |
8.5466279296875 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1195.17184, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 212494.860288, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.5072 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 134, | |
"total": 0.9998122816085814, | |
"mean": 0.007461285683646131, | |
"stdev": 0.0003871370759610165, | |
"p50": 0.007303022384643555, | |
"p90": 0.007945468664169312, | |
"p95": 0.008200260066986084, | |
"p99": 0.008330791540145873, | |
"values": [ | |
0.007896780014038086, | |
0.007960300922393799, | |
0.007785740852355957, | |
0.007568140983581543, | |
0.00756318187713623, | |
0.0076116609573364255, | |
0.008355660438537598, | |
0.00743822193145752, | |
0.007425900936126709, | |
0.007451662063598633, | |
0.0073961420059204105, | |
0.007376942157745361, | |
0.007392621994018554, | |
0.007366861820220947, | |
0.007353102207183838, | |
0.007343982219696045, | |
0.0073062219619750976, | |
0.0073044619560241695, | |
0.00729678201675415, | |
0.007269902229309082, | |
0.00729390287399292, | |
0.0072663831710815426, | |
0.00734318208694458, | |
0.007313261985778809, | |
0.007323981761932373, | |
0.007274062156677246, | |
0.007269422054290772, | |
0.007309422016143798, | |
0.007288463115692138, | |
0.0073252620697021485, | |
0.00735358190536499, | |
0.010465093612670898, | |
0.007447021961212158, | |
0.0072524619102478025, | |
0.007253101825714111, | |
0.00727006196975708, | |
0.007299502849578857, | |
0.007288783073425293, | |
0.007247181892395019, | |
0.007280302047729492, | |
0.007265262126922608, | |
0.007267022132873535, | |
0.007249261856079102, | |
0.007253743171691894, | |
0.007265101909637451, | |
0.007270701885223389, | |
0.0072310218811035155, | |
0.00728782320022583, | |
0.007279182910919189, | |
0.00724494218826294, | |
0.007270701885223389, | |
0.007252141952514648, | |
0.007257583141326904, | |
0.007246383190155029, | |
0.007252622127532959, | |
0.007248301982879638, | |
0.007250542163848877, | |
0.007243823051452636, | |
0.007225902080535889, | |
0.007216142177581787, | |
0.007280941963195801, | |
0.0072547030448913575, | |
0.007371821880340576, | |
0.007281422138214111, | |
0.007236782073974609, | |
0.007296942234039307, | |
0.00730878210067749, | |
0.007257903099060058, | |
0.0072969431877136235, | |
0.007353261947631836, | |
0.007289102077484131, | |
0.007350381851196289, | |
0.0073540620803833005, | |
0.007352941989898681, | |
0.007333102226257324, | |
0.007347661972045899, | |
0.007269422054290772, | |
0.007286702156066895, | |
0.007299181938171387, | |
0.007280302047729492, | |
0.00731646203994751, | |
0.007288942813873291, | |
0.007289583206176758, | |
0.007304141998291016, | |
0.007309741973876953, | |
0.007247181892395019, | |
0.007296942234039307, | |
0.007274382114410401, | |
0.00727150297164917, | |
0.007277422904968261, | |
0.007319662094116211, | |
0.007312781810760498, | |
0.007272141933441162, | |
0.007246702194213867, | |
0.008161100387573242, | |
0.007390861988067627, | |
0.007278381824493408, | |
0.007507021903991699, | |
0.007500621795654297, | |
0.007295981884002685, | |
0.007262541770935059, | |
0.0072635021209716795, | |
0.0073270220756530766, | |
0.007263341903686524, | |
0.007240461826324463, | |
0.007301902770996094, | |
0.007267982959747315, | |
0.007281901836395263, | |
0.007224142074584961, | |
0.007223503112792969, | |
0.007246703147888184, | |
0.007987339973449708, | |
0.00823501968383789, | |
0.00823661994934082, | |
0.008198860168457032, | |
0.007591660976409912, | |
0.007658222198486328, | |
0.00764782190322876, | |
0.007629100799560547, | |
0.0077396612167358395, | |
0.008280300140380859, | |
0.008212300300598144, | |
0.008163820266723633, | |
0.00818813991546631, | |
0.00820285987854004, | |
0.007910860061645509, | |
0.0077089409828186035, | |
0.007800780773162842, | |
0.008151820182800293, | |
0.007847500801086425, | |
0.007624620914459228, | |
0.007720140933990478, | |
0.007639182090759277, | |
0.007562860965728759 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 134.02515898725468 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |