IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
f135937
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.2.0.dev20231010+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": "6", | |
"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": 956.383232, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 41703.87456, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.37152 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 7.91174365234375, | |
"mean": 7.91174365234375, | |
"stdev": 0.0, | |
"p50": 7.91174365234375, | |
"p90": 7.91174365234375, | |
"p95": 7.91174365234375, | |
"p99": 7.91174365234375, | |
"values": [ | |
7.91174365234375 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1081.07776, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 219747.463168, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.5072 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 130, | |
"total": 0.9963564047813417, | |
"mean": 0.00766428003677955, | |
"stdev": 0.00043312579796081475, | |
"p50": 0.007578813076019287, | |
"p90": 0.008133102321624756, | |
"p95": 0.008163318347930907, | |
"p99": 0.009014449777603148, | |
"values": [ | |
0.008190093994140625, | |
0.008132814407348633, | |
0.008138092994689941, | |
0.008520813941955566, | |
0.00825361442565918, | |
0.007792333126068115, | |
0.007778573036193848, | |
0.007800014019012451, | |
0.00908321475982666, | |
0.007588333129882813, | |
0.007919212818145753, | |
0.007493611812591553, | |
0.0073206529617309574, | |
0.00717713212966919, | |
0.007338091850280761, | |
0.007143372058868408, | |
0.007392013072967529, | |
0.007527853012084961, | |
0.0073489718437194824, | |
0.007142092227935791, | |
0.007160011768341064, | |
0.007217292785644531, | |
0.007186731815338135, | |
0.006986892223358155, | |
0.009315534591674805, | |
0.008846094131469726, | |
0.007479372978210449, | |
0.00736193323135376, | |
0.0073020920753479, | |
0.007392012119293213, | |
0.007697292804718018, | |
0.0075025720596313475, | |
0.007248813152313232, | |
0.0074027318954467776, | |
0.007405292987823486, | |
0.007680172920227051, | |
0.007583852767944336, | |
0.007432332038879394, | |
0.008128334045410156, | |
0.008027214050292969, | |
0.007371531963348389, | |
0.007651853084564209, | |
0.007589773178100586, | |
0.00781665277481079, | |
0.007576813220977783, | |
0.007985454082489013, | |
0.007773932933807373, | |
0.007727532863616943, | |
0.00791761302947998, | |
0.007331693172454834, | |
0.008135693550109863, | |
0.008116012573242187, | |
0.008143854141235352, | |
0.008123534202575684, | |
0.008122734069824219, | |
0.007830732822418213, | |
0.00791009283065796, | |
0.008166414260864258, | |
0.007824334144592285, | |
0.008091532707214355, | |
0.00806641387939453, | |
0.008108174324035645, | |
0.008099533081054688, | |
0.008154414176940917, | |
0.008050414085388183, | |
0.007580812931060791, | |
0.008159534454345703, | |
0.008101452827453613, | |
0.008119853973388672, | |
0.008145454406738282, | |
0.00805489444732666, | |
0.007949613094329833, | |
0.0076595330238342285, | |
0.008045133590698242, | |
0.007237932205200195, | |
0.0073726530075073245, | |
0.007193612098693848, | |
0.007268171787261963, | |
0.007400332927703857, | |
0.0073556919097900395, | |
0.007570572853088379, | |
0.00720993185043335, | |
0.007240171909332275, | |
0.007252973079681396, | |
0.007223691940307617, | |
0.007215372085571289, | |
0.007368972778320312, | |
0.007409932136535645, | |
0.007169931888580322, | |
0.0071918520927429196, | |
0.007195052146911621, | |
0.007212972164154053, | |
0.007147051811218262, | |
0.007371212959289551, | |
0.007551053047180176, | |
0.007159852027893067, | |
0.0071606521606445315, | |
0.00720993185043335, | |
0.007208652019500732, | |
0.00717553186416626, | |
0.007184332847595215, | |
0.007421291828155517, | |
0.007193451881408692, | |
0.007211692810058594, | |
0.007175211906433106, | |
0.0071875319480895995, | |
0.007170571804046631, | |
0.007176971912384033, | |
0.007161452770233155, | |
0.007699532985687256, | |
0.007992652893066407, | |
0.008072653770446777, | |
0.008014093399047852, | |
0.00809537410736084, | |
0.007610252857208252, | |
0.0074155330657958984, | |
0.00803713321685791, | |
0.008004014015197753, | |
0.008098573684692382, | |
0.008095533370971679, | |
0.008005454063415527, | |
0.008099854469299317, | |
0.008084333419799805, | |
0.008083053588867187, | |
0.008112334251403808, | |
0.008008493423461913, | |
0.007434253215789795, | |
0.007509772777557373, | |
0.007475690841674805, | |
0.007511053085327148 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 130.4753995419235 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |