
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
0139b04
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": 1079.365632, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 48245.501952, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.37152 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 8.796318359375, | |
"mean": 8.796318359375, | |
"stdev": 0.0, | |
"p50": 8.796318359375, | |
"p90": 8.796318359375, | |
"p95": 8.796318359375, | |
"p99": 8.796318359375, | |
"values": [ | |
8.796318359375 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1196.822528, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 250672.304128, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.5072 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 124, | |
"total": 0.99641601729393, | |
"mean": 0.008035613042692983, | |
"stdev": 0.0015706142869395725, | |
"p50": 0.00788453197479248, | |
"p90": 0.008222130680084228, | |
"p95": 0.008523145961761474, | |
"p99": 0.016123194732666005, | |
"values": [ | |
0.008301570892333984, | |
0.00833644962310791, | |
0.008553890228271485, | |
0.008545249938964843, | |
0.008397890090942382, | |
0.00834989070892334, | |
0.00971548557281494, | |
0.008241090774536133, | |
0.008229090690612792, | |
0.008205890655517578, | |
0.008205890655517578, | |
0.008164932250976562, | |
0.008169252395629883, | |
0.00815101146697998, | |
0.008143651008605956, | |
0.008122852325439453, | |
0.008130051612854005, | |
0.008115011215209961, | |
0.008160131454467773, | |
0.008204771041870116, | |
0.008142851829528808, | |
0.008120290756225586, | |
0.008132130622863769, | |
0.008126531600952148, | |
0.009695486068725586, | |
0.008136292457580567, | |
0.007995491981506347, | |
0.007871653079986572, | |
0.00788397216796875, | |
0.007846211910247803, | |
0.007880773067474365, | |
0.018102815628051758, | |
0.0024651110172271727, | |
0.004570384025573731, | |
0.007922852039337158, | |
0.00793581199645996, | |
0.007891652107238769, | |
0.007818373203277587, | |
0.00789821195602417, | |
0.00789053201675415, | |
0.007940611839294433, | |
0.007897731781005859, | |
0.007869091987609864, | |
0.007885091781616211, | |
0.00789645290374756, | |
0.0078668532371521, | |
0.007843492031097412, | |
0.007857731819152832, | |
0.007856933116912842, | |
0.007885732173919678, | |
0.00789709186553955, | |
0.00786269187927246, | |
0.007875493049621582, | |
0.00789053201675415, | |
0.007898851871490479, | |
0.007874852180480956, | |
0.007881892204284669, | |
0.007855012893676757, | |
0.007866052150726319, | |
0.007851491928100586, | |
0.00790349292755127, | |
0.007925733089447022, | |
0.007893413066864014, | |
0.007913251876831055, | |
0.007878372192382813, | |
0.007867812156677246, | |
0.016786659240722656, | |
0.0024116721153259277, | |
0.00766381311416626, | |
0.007878692150115966, | |
0.007911972045898438, | |
0.007882692813873292, | |
0.007913893222808837, | |
0.007875973224639893, | |
0.00792109203338623, | |
0.00787853193283081, | |
0.00787533187866211, | |
0.00786589288711548, | |
0.007875172138214112, | |
0.007871012210845947, | |
0.007881731986999511, | |
0.007848453044891358, | |
0.007881571769714355, | |
0.007950051784515381, | |
0.007877411842346192, | |
0.007857892036437988, | |
0.00785485315322876, | |
0.007823011875152587, | |
0.007847493171691894, | |
0.007867813110351562, | |
0.007853571891784667, | |
0.007857892036437988, | |
0.007871653079986572, | |
0.007868452072143555, | |
0.007855812072753906, | |
0.007835972785949706, | |
0.007839972019195557, | |
0.007888452053070068, | |
0.00786477279663086, | |
0.007773892879486084, | |
0.007894852161407472, | |
0.007850372791290283, | |
0.007918532848358154, | |
0.0077444519996643065, | |
0.013902030944824218, | |
0.004955342769622803, | |
0.007868772983551025, | |
0.007863331794738769, | |
0.007839491844177246, | |
0.007826212882995606, | |
0.007747811794281006, | |
0.007818373203277587, | |
0.007918692111968995, | |
0.007893891811370849, | |
0.007868931770324708, | |
0.007903491973876953, | |
0.00789037322998047, | |
0.007873093128204346, | |
0.00788557195663452, | |
0.007835812091827392, | |
0.007859652996063232, | |
0.007903972148895263, | |
0.007921891212463379, | |
0.00791069221496582 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 124.44601235612373 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |