IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
cfaf8bc
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": 1082014.482432, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.15.0-122-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.5.0", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.45.1", | |
"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.13.0", | |
"peft_commit": null | |
}, | |
"print_report": true, | |
"log_report": true | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1106.026496, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 4621.422592, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.37152 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.06617706298828124 | |
], | |
"count": 1, | |
"total": 0.06617706298828124, | |
"mean": 0.06617706298828124, | |
"p50": 0.06617706298828124, | |
"p90": 0.06617706298828124, | |
"p95": 0.06617706298828124, | |
"p99": 0.06617706298828124, | |
"stdev": 0, | |
"stdev_": 0 | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1223.991296, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 256672.575488, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.506688 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.00790861415863037, | |
0.007646854877471924, | |
0.007400935173034668, | |
0.007544294834136963, | |
0.007382374763488769, | |
0.007111176967620849, | |
0.007102056980133057, | |
0.007137256145477295, | |
0.0070916562080383305, | |
0.007125096797943115, | |
0.007094696044921875, | |
0.00712013578414917, | |
0.007102537155151367, | |
0.007129257202148438, | |
0.007108295917510986, | |
0.007082376003265381, | |
0.007105257034301758, | |
0.019338815689086915, | |
0.007887653827667237, | |
0.007156936168670655, | |
0.007179336071014404, | |
0.007125095844268799, | |
0.007070857048034668, | |
0.007111495971679688, | |
0.00713645601272583, | |
0.0071350159645080565, | |
0.007119657039642334, | |
0.007102056980133057, | |
0.007146056175231934, | |
0.00712445592880249, | |
0.007095976829528809, | |
0.007138855934143066, | |
0.007324456214904785, | |
0.007147655963897705, | |
0.007140456199645996, | |
0.00765357494354248, | |
0.008020933151245118, | |
0.008033892631530763, | |
0.008041732788085938, | |
0.008027812957763673, | |
0.008026694297790527, | |
0.00802845287322998, | |
0.008003812789916992, | |
0.007994214057922363, | |
0.007991014003753662, | |
0.007945413112640382, | |
0.007989253997802735, | |
0.007976772785186768, | |
0.007973894119262696, | |
0.008055334091186523, | |
0.008274211883544921, | |
0.008026372909545899, | |
0.008002373695373535, | |
0.008009254455566406, | |
0.00799085283279419, | |
0.007979814052581788, | |
0.007997733116149902, | |
0.007979813098907471, | |
0.007958533763885499, | |
0.007955973148345947, | |
0.007956774234771728, | |
0.007962852954864501, | |
0.007961413860321044, | |
0.008010052680969238, | |
0.00793677282333374, | |
0.00799229383468628, | |
0.007975973129272462, | |
0.007991493225097656, | |
0.007998373985290528, | |
0.007987652778625488, | |
0.007980133056640625, | |
0.008089093208312989, | |
0.007963014125823975, | |
0.00795357322692871, | |
0.007935813903808594, | |
0.008330851554870606, | |
0.008020933151245118, | |
0.008075492858886719, | |
0.00797693395614624, | |
0.008007332801818848, | |
0.008063813209533692, | |
0.00799901294708252, | |
0.00798893404006958, | |
0.008013413429260255, | |
0.008028932571411133, | |
0.008029573440551758, | |
0.008029253959655761, | |
0.0080394926071167, | |
0.00805517292022705, | |
0.008071812629699707, | |
0.008054372787475585, | |
0.008039652824401855, | |
0.008004613876342773, | |
0.008043172836303712, | |
0.00802685260772705, | |
0.00797197389602661, | |
0.008138213157653808, | |
0.00801789379119873, | |
0.007998532772064209, | |
0.00804653263092041, | |
0.00803005313873291, | |
0.00802989387512207, | |
0.008063492774963378, | |
0.008025253295898437, | |
0.008037412643432617, | |
0.008018853187561036, | |
0.007978693962097168, | |
0.007981573104858398, | |
0.008014533042907715, | |
0.007962374210357667, | |
0.007993093013763428, | |
0.008035332679748534, | |
0.00799549388885498, | |
0.008020133972167968, | |
0.007962213039398194, | |
0.00801805305480957, | |
0.00799549388885498, | |
0.007957092761993408, | |
0.007943334102630616, | |
0.007968293190002442, | |
0.007959013938903808, | |
0.007959174156188966, | |
0.00798749303817749, | |
0.008027334213256836, | |
0.008017892837524415, | |
0.00798045301437378, | |
0.008021892547607422 | |
], | |
"count": 127, | |
"total": 1.001363866329193, | |
"mean": 0.007884754852985773, | |
"p50": 0.00798749303817749, | |
"p90": 0.008044516754150391, | |
"p95": 0.008069412803649902, | |
"p99": 0.008316125240325928, | |
"stdev": 0.0010860000533483934, | |
"stdev_": 13.773415579777353 | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 126.82702489111925 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |