IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
4c545ee
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": "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.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": "0.12.0", | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1043.595264, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 40223.244288, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.37152 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 8.45127734375, | |
"mean": 8.45127734375, | |
"stdev": 0.0, | |
"p50": 8.45127734375, | |
"p90": 8.45127734375, | |
"p95": 8.45127734375, | |
"p99": 8.45127734375, | |
"values": [ | |
8.45127734375 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1161.265152, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 194209.124352, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.5072 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 134, | |
"total": 1.0005348267555234, | |
"mean": 0.007466677811608385, | |
"stdev": 0.0009938970033807676, | |
"p50": 0.0073082950115203864, | |
"p90": 0.007800885915756226, | |
"p95": 0.008094301033020019, | |
"p99": 0.009963387975692716, | |
"values": [ | |
0.007535654067993164, | |
0.007341414928436279, | |
0.007618534088134766, | |
0.007763012886047364, | |
0.007800774097442627, | |
0.007685254096984864, | |
0.007991493225097656, | |
0.00775533390045166, | |
0.0077233328819274905, | |
0.007614054203033447, | |
0.007556293964385986, | |
0.007508295059204102, | |
0.007514054775238037, | |
0.007528453826904297, | |
0.00744205379486084, | |
0.007443174839019775, | |
0.0074130940437316896, | |
0.00736045503616333, | |
0.007407814979553223, | |
0.0073737349510192875, | |
0.007408134937286377, | |
0.007490533828735352, | |
0.0073951749801635745, | |
0.007451494216918945, | |
0.007475813865661621, | |
0.0076602940559387205, | |
0.007381414890289307, | |
0.010819643020629884, | |
0.007502533912658691, | |
0.007189895153045654, | |
0.007175015926361084, | |
0.0072362961769104, | |
0.007426693916320801, | |
0.007316615104675293, | |
0.00725341510772705, | |
0.007259174823760987, | |
0.0072268562316894535, | |
0.007213096141815186, | |
0.00725293493270874, | |
0.007254855155944824, | |
0.007217576026916504, | |
0.007280135154724121, | |
0.007253095149993897, | |
0.007275014877319336, | |
0.0072833352088928225, | |
0.007234375, | |
0.007240614891052246, | |
0.007234694957733154, | |
0.007403655052185059, | |
0.007180614948272705, | |
0.007231336116790771, | |
0.007410695075988769, | |
0.007216454982757569, | |
0.007193895816802978, | |
0.007206214904785156, | |
0.007243814945220947, | |
0.007245254993438721, | |
0.007228135108947754, | |
0.007364134788513183, | |
0.007205894947052002, | |
0.007207496166229248, | |
0.007255495071411133, | |
0.007200614929199219, | |
0.007229255199432373, | |
0.007159495830535888, | |
0.007233095169067383, | |
0.007246695041656494, | |
0.007328135013580322, | |
0.016708263397216795, | |
0.0024431910514831545, | |
0.0061220588684082035, | |
0.007224455833435058, | |
0.007486855030059815, | |
0.007423654079437256, | |
0.00720525598526001, | |
0.007241895198822021, | |
0.007244454860687256, | |
0.007215654850006104, | |
0.007208775043487549, | |
0.007215976238250732, | |
0.007263975143432617, | |
0.007214375019073486, | |
0.007211015224456787, | |
0.007274855136871338, | |
0.007212296009063721, | |
0.0072487759590148925, | |
0.007577253818511963, | |
0.007208455085754395, | |
0.007328295230865479, | |
0.007243014812469482, | |
0.00725293493270874, | |
0.007337894916534424, | |
0.007255495071411133, | |
0.0072606148719787595, | |
0.007328935146331787, | |
0.007347014904022217, | |
0.007316454887390137, | |
0.007327815055847168, | |
0.007300135135650635, | |
0.007290375232696533, | |
0.0072362961769104, | |
0.00724013614654541, | |
0.007285574913024903, | |
0.0072625350952148435, | |
0.00722541618347168, | |
0.007249895095825195, | |
0.00727309513092041, | |
0.007255334854125977, | |
0.007215495109558105, | |
0.00725949478149414, | |
0.007252775192260742, | |
0.007259015083312988, | |
0.008068133354187011, | |
0.008107011795043945, | |
0.008108451843261718, | |
0.0077225341796875, | |
0.007724614143371582, | |
0.007481413841247559, | |
0.007540454864501953, | |
0.007490214824676514, | |
0.007843012809753419, | |
0.00806733226776123, | |
0.008122852325439453, | |
0.008090212821960449, | |
0.008101893424987792, | |
0.008224930763244629, | |
0.007714533805847168, | |
0.007783973217010498, | |
0.007547334194183349, | |
0.007535655021667481, | |
0.007923973083496095, | |
0.007800933837890625, | |
0.007554695129394531, | |
0.007649734020233155 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 133.92837152358547 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |