IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
228db39
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": "4", | |
"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": "error", | |
"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.33.0", | |
"accelerate_commit": null, | |
"diffusers_version": "0.30.2", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.9", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1032.31488, | |
"max_global_vram": 842.375168, | |
"max_process_vram": 42494.93504, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.37152 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 7.53324609375, | |
"mean": 7.53324609375, | |
"stdev": 0.0, | |
"p50": 7.53324609375, | |
"p90": 7.53324609375, | |
"p95": 7.53324609375, | |
"p99": 7.53324609375, | |
"values": [ | |
7.53324609375 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1150.091264, | |
"max_global_vram": 901.26336, | |
"max_process_vram": 217598.58688, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.5072 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 128, | |
"total": 0.9943704147338869, | |
"mean": 0.00776851886510849, | |
"stdev": 0.0017926209510019933, | |
"p50": 0.007607335567474366, | |
"p90": 0.008141877937316895, | |
"p95": 0.008214917898178102, | |
"p99": 0.017659440689086914, | |
"values": [ | |
0.008039174079895019, | |
0.00779165506362915, | |
0.007668615818023682, | |
0.0077193350791931155, | |
0.007897095203399658, | |
0.008219973564147949, | |
0.008006214141845703, | |
0.007959974765777587, | |
0.007768614768981934, | |
0.007706695079803467, | |
0.00767373514175415, | |
0.0076513361930847165, | |
0.00760829496383667, | |
0.007569896221160889, | |
0.007511335849761963, | |
0.007537896156311035, | |
0.007467656135559082, | |
0.0074977359771728515, | |
0.017838504791259764, | |
0.005284783840179444, | |
0.0077135758399963375, | |
0.00772397518157959, | |
0.007687335014343262, | |
0.0076654148101806645, | |
0.007692455768585205, | |
0.007718534946441651, | |
0.008016934394836426, | |
0.008059014320373535, | |
0.008061253547668457, | |
0.008115333557128906, | |
0.0080762939453125, | |
0.008088614463806152, | |
0.008129573822021485, | |
0.008120933532714843, | |
0.008140294075012208, | |
0.008099333763122558, | |
0.008108934402465821, | |
0.008101573944091797, | |
0.008154534339904785, | |
0.008117094039916992, | |
0.008086533546447753, | |
0.008101094245910644, | |
0.00812109375, | |
0.008086693763732911, | |
0.008086693763732911, | |
0.008054694175720216, | |
0.008061253547668457, | |
0.007517416000366211, | |
0.0073060569763183595, | |
0.007281576156616211, | |
0.007431816101074218, | |
0.007100778102874756, | |
0.007135817050933838, | |
0.007145256996154785, | |
0.007144456863403321, | |
0.007137096881866455, | |
0.007160936832427979, | |
0.007224297046661377, | |
0.007212615966796875, | |
0.0071996569633483885, | |
0.007338857173919678, | |
0.007212296962738037, | |
0.007218376159667968, | |
0.0072180571556091306, | |
0.0071868572235107425, | |
0.007220296859741211, | |
0.007234857082366943, | |
0.007274216175079346, | |
0.0072247772216796876, | |
0.007278857231140137, | |
0.007273736000061035, | |
0.017175304412841798, | |
0.0031219100952148437, | |
0.007685895919799805, | |
0.007482056140899658, | |
0.007425896167755127, | |
0.00744157600402832, | |
0.007463975906372071, | |
0.00749021577835083, | |
0.0073978958129882815, | |
0.007424776077270508, | |
0.007387016773223877, | |
0.007334376811981201, | |
0.007647174835205078, | |
0.007319817066192627, | |
0.007430535793304443, | |
0.0072369370460510256, | |
0.007318696022033691, | |
0.007238057136535645, | |
0.007288617134094238, | |
0.0072535772323608395, | |
0.007251817226409912, | |
0.007270856857299805, | |
0.0073031759262084965, | |
0.007346696853637695, | |
0.007315815925598145, | |
0.0075070161819458005, | |
0.0075399761199951175, | |
0.00742301607131958, | |
0.007451655864715576, | |
0.007400936126708985, | |
0.0075783758163452146, | |
0.0074262161254882815, | |
0.00766509485244751, | |
0.008218053817749024, | |
0.008147813796997071, | |
0.008209094047546387, | |
0.008183653831481934, | |
0.00763933515548706, | |
0.007581736087799072, | |
0.0076770949363708495, | |
0.007733574867248535, | |
0.007989095211029053, | |
0.008277092933654785, | |
0.008252774238586426, | |
0.019490018844604492, | |
0.002522552013397217, | |
0.004225107192993164, | |
0.00820013427734375, | |
0.008145573616027833, | |
0.007606376171112061, | |
0.007687495231628418, | |
0.00770653486251831, | |
0.007633255958557129, | |
0.00780205488204956, | |
0.0077266950607299805, | |
0.007784295082092285, | |
0.007599493980407715 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 128.72466648583398 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |