IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
65d6e60
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_text-classification_FacebookAI/roberta-base", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.2.0.dev20231010+rocm5.7", | |
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend", | |
"task": "text-classification", | |
"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": 955.019264, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 47801.274368, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.374592 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 11.7717177734375, | |
"mean": 11.7717177734375, | |
"stdev": 0.0, | |
"p50": 11.7717177734375, | |
"p90": 11.7717177734375, | |
"p95": 11.7717177734375, | |
"p99": 11.7717177734375, | |
"values": [ | |
11.7717177734375 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1081.827328, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 238484.639744, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.4432 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 124, | |
"total": 0.9989605627059941, | |
"mean": 0.008056133570209626, | |
"stdev": 0.0009792651225029344, | |
"p50": 0.007973897457122802, | |
"p90": 0.008178200912475585, | |
"p95": 0.008318752908706664, | |
"p99": 0.011851867713928212, | |
"values": [ | |
0.008155016899108887, | |
0.008045416831970215, | |
0.008094697952270509, | |
0.008079977989196777, | |
0.008144296646118165, | |
0.00810669708251953, | |
0.008141897201538085, | |
0.008230696678161621, | |
0.016664752960205077, | |
0.005051826000213623, | |
0.008133256912231445, | |
0.008096616744995117, | |
0.008031497955322266, | |
0.007988778114318848, | |
0.007974058151245118, | |
0.008010058403015137, | |
0.008036457061767577, | |
0.007995498180389405, | |
0.00803581714630127, | |
0.007969257831573486, | |
0.008055336952209472, | |
0.008016138076782227, | |
0.008049898147583008, | |
0.00809261703491211, | |
0.007939978122711182, | |
0.007981576919555665, | |
0.00802365779876709, | |
0.0080940580368042, | |
0.008182376861572265, | |
0.008093256950378418, | |
0.007973736763000488, | |
0.008058538436889648, | |
0.008011977195739746, | |
0.008041417121887207, | |
0.00823565673828125, | |
0.007990218162536622, | |
0.00800589656829834, | |
0.007941418170928955, | |
0.008014376640319825, | |
0.008157896995544433, | |
0.008009737968444824, | |
0.008034216880798339, | |
0.00799309778213501, | |
0.008120617866516112, | |
0.008194856643676758, | |
0.008432936668395997, | |
0.008435815811157226, | |
0.008351976394653321, | |
0.008207977294921875, | |
0.008148297309875489, | |
0.008150377273559571, | |
0.008156936645507812, | |
0.008153576850891114, | |
0.008089737892150879, | |
0.00813117790222168, | |
0.00809373664855957, | |
0.00804893684387207, | |
0.008083498001098633, | |
0.008333416938781738, | |
0.008228616714477539, | |
0.00816845703125, | |
0.008131497383117676, | |
0.008100776672363282, | |
0.00967197322845459, | |
0.007891818046569824, | |
0.007843658924102784, | |
0.007880457878112793, | |
0.007889098167419433, | |
0.007857577800750732, | |
0.007854698181152343, | |
0.007884457111358642, | |
0.007854218006134034, | |
0.007839017868041993, | |
0.007838858127593993, | |
0.007870058059692382, | |
0.007853898048400879, | |
0.007835338115692139, | |
0.007809897899627685, | |
0.00780397891998291, | |
0.007797578811645508, | |
0.007783339023590088, | |
0.007849257946014404, | |
0.007855817794799805, | |
0.007895658016204834, | |
0.007883178234100343, | |
0.007871337890625, | |
0.007843657970428467, | |
0.007851178169250489, | |
0.007911657810211182, | |
0.007893097877502442, | |
0.007851337909698487, | |
0.00784349822998047, | |
0.007857418060302735, | |
0.007827017784118652, | |
0.00787949800491333, | |
0.007930377960205078, | |
0.00785165786743164, | |
0.007856937885284423, | |
0.00792429780960083, | |
0.007852938175201416, | |
0.007977097034454346, | |
0.007919817924499513, | |
0.007890058040618897, | |
0.007991497039794921, | |
0.007919978141784668, | |
0.007885737895965576, | |
0.007885737895965576, | |
0.007877577781677246, | |
0.007824458122253419, | |
0.007803177833557129, | |
0.007861577987670898, | |
0.007877257823944092, | |
0.007858538150787353, | |
0.007828618049621582, | |
0.007815339088439942, | |
0.007823657989501954, | |
0.007874217987060547, | |
0.007819178104400635, | |
0.00791053819656372, | |
0.012503005027770997, | |
0.004834545135498047, | |
0.007896297931671143, | |
0.00781501817703247, | |
0.007931017875671386 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 124.12902433716468 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |