IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
4ca47a3
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": "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": 1078.980608, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 48735.141888, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.37152 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 8.674216796875, | |
"mean": 8.674216796875, | |
"stdev": 0.0, | |
"p50": 8.674216796875, | |
"p90": 8.674216796875, | |
"p95": 8.674216796875, | |
"p99": 8.674216796875, | |
"values": [ | |
8.674216796875 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1196.163072, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 239468.60544, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.5072 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 122, | |
"total": 0.9986095952987668, | |
"mean": 0.00818532455162924, | |
"stdev": 0.0012328230342200984, | |
"p50": 0.008115053176879883, | |
"p90": 0.008212060737609862, | |
"p95": 0.008367197847366333, | |
"p99": 0.014839468441009477, | |
"values": [ | |
0.008626733779907227, | |
0.008373292922973632, | |
0.007890573024749756, | |
0.007932491779327392, | |
0.007864812850952148, | |
0.007927213191986084, | |
0.010338735580444337, | |
0.007588652133941651, | |
0.007456330776214599, | |
0.00777729320526123, | |
0.007467691898345947, | |
0.008252653121948242, | |
0.009881936073303222, | |
0.008164652824401855, | |
0.008217132568359375, | |
0.008120332717895508, | |
0.008172172546386719, | |
0.00807601261138916, | |
0.008048333168029786, | |
0.008105612754821778, | |
0.008073773384094238, | |
0.008179372787475585, | |
0.008129293441772462, | |
0.008149292945861817, | |
0.008113133430480956, | |
0.008130892753601075, | |
0.008054412841796876, | |
0.00811809253692627, | |
0.008154573440551758, | |
0.008109772682189941, | |
0.008048812866210937, | |
0.00808193302154541, | |
0.008115053176879883, | |
0.008082893371582031, | |
0.008077452659606934, | |
0.008136333465576172, | |
0.008124333381652832, | |
0.008112652778625488, | |
0.008104972839355469, | |
0.008117612838745117, | |
0.008086092948913574, | |
0.008106892585754394, | |
0.008146252632141113, | |
0.008144013404846192, | |
0.008133453369140625, | |
0.008128973007202148, | |
0.008099053382873535, | |
0.00808417320251465, | |
0.00804977321624756, | |
0.008072652816772462, | |
0.008070893287658691, | |
0.008061452865600586, | |
0.008085613250732421, | |
0.00807105255126953, | |
0.01626178550720215, | |
0.002435523986816406, | |
0.007225290775299072, | |
0.00812561321258545, | |
0.008106573104858399, | |
0.008088973045349121, | |
0.0080880126953125, | |
0.008122733116149902, | |
0.008214412689208984, | |
0.00833121395111084, | |
0.0081260929107666, | |
0.00808625316619873, | |
0.008125932693481445, | |
0.008136973381042481, | |
0.008172813415527344, | |
0.008130413055419922, | |
0.00812065315246582, | |
0.008140652656555177, | |
0.008163212776184082, | |
0.008357772827148438, | |
0.008180973052978515, | |
0.008125932693481445, | |
0.00815505313873291, | |
0.008142252922058106, | |
0.008082893371582031, | |
0.008097613334655761, | |
0.008080332756042481, | |
0.008091692924499511, | |
0.008100973129272462, | |
0.008189292907714843, | |
0.016035865783691407, | |
0.004412646770477295, | |
0.008082093238830567, | |
0.00810001277923584, | |
0.008079532623291016, | |
0.008094893455505372, | |
0.008073932647705078, | |
0.00808305263519287, | |
0.008057453155517579, | |
0.00806993293762207, | |
0.008065293312072754, | |
0.008095052719116211, | |
0.008098731994628907, | |
0.008125452995300294, | |
0.00813009262084961, | |
0.008140493392944335, | |
0.008089292526245117, | |
0.0080977725982666, | |
0.008164173126220703, | |
0.008115693092346192, | |
0.008070253372192382, | |
0.008095533370971679, | |
0.008092493057250976, | |
0.00809665298461914, | |
0.008143372535705566, | |
0.008139533042907715, | |
0.008115053176879883, | |
0.008161293029785157, | |
0.008124173164367676, | |
0.00815233325958252, | |
0.008214412689208984, | |
0.008178893089294434, | |
0.008367693901062012, | |
0.008166413307189941, | |
0.008190893173217773, | |
0.008129293441772462, | |
0.008146732330322266, | |
0.008167532920837403 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 122.16986555541723 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |