IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
2434f08
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.3.1+rocm5.7", | |
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend", | |
"task": "fill-mask", | |
"library": "transformers", | |
"model_type": "bert", | |
"model": "google-bert/bert-base-uncased", | |
"processor": "google-bert/bert-base-uncased", | |
"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": 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.2", | |
"transformers_commit": null, | |
"accelerate_version": "1.0.0", | |
"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": 1094.946816, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 4080.545792, | |
"max_reserved": 589.299712, | |
"max_allocated": 533.571072 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.07231489562988282 | |
], | |
"count": 1, | |
"total": 0.07231489562988282, | |
"mean": 0.07231489562988282, | |
"p50": 0.07231489562988282, | |
"p90": 0.07231489562988282, | |
"p95": 0.07231489562988282, | |
"p99": 0.07231489562988282, | |
"stdev": 0, | |
"stdev_": 0 | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1224.695808, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 228259.708928, | |
"max_reserved": 589.299712, | |
"max_allocated": 439.456768 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.0069694571495056154, | |
0.006787537097930908, | |
0.006834096908569336, | |
0.006817776203155518, | |
0.006767056941986084, | |
0.006779215812683106, | |
0.006791057109832764, | |
0.006794256210327148, | |
0.006916337013244629, | |
0.0071840181350708, | |
0.006912177085876465, | |
0.006901455879211426, | |
0.007224338054656982, | |
0.007191378116607666, | |
0.007264976978302002, | |
0.007131537914276123, | |
0.007392817974090576, | |
0.007637777805328369, | |
0.007625459194183349, | |
0.007636178970336914, | |
0.007629777908325195, | |
0.007665459156036377, | |
0.007602738857269287, | |
0.007641938209533692, | |
0.007591699123382568, | |
0.007616017818450928, | |
0.007631218910217285, | |
0.007658739089965821, | |
0.007664338111877441, | |
0.007655058860778809, | |
0.007622418880462646, | |
0.007649137973785401, | |
0.007635378837585449, | |
0.00762049913406372, | |
0.007622097969055176, | |
0.007634099006652832, | |
0.007642578125, | |
0.007657299041748047, | |
0.007689619064331054, | |
0.007652978897094726, | |
0.0076449780464172366, | |
0.007621459007263184, | |
0.00764481782913208, | |
0.007631218910217285, | |
0.007653618812561035, | |
0.007668178081512451, | |
0.00763041877746582, | |
0.007820018768310547, | |
0.007703218936920166, | |
0.007688018798828125, | |
0.007632018089294434, | |
0.007670578956604004, | |
0.0076504192352294925, | |
0.007655538082122802, | |
0.007097938060760498, | |
0.007110257148742676, | |
0.007165136814117431, | |
0.0073540968894958494, | |
0.006992177009582519, | |
0.007336018085479737, | |
0.0072854580879211425, | |
0.0070243368148803715, | |
0.007166257858276367, | |
0.007035696983337402, | |
0.007093457221984864, | |
0.007662738800048828, | |
0.00768769884109497, | |
0.00768897819519043, | |
0.007669778823852539, | |
0.007697618961334228, | |
0.007657458782196045, | |
0.007678418159484863, | |
0.007649939060211181, | |
0.007630098819732666, | |
0.007705778121948242, | |
0.007685779094696045, | |
0.007637938976287842, | |
0.0076912188529968265, | |
0.007736018180847168, | |
0.007744499206542969, | |
0.007681939125061035, | |
0.0077433791160583494, | |
0.007703858852386475, | |
0.007701619148254395, | |
0.007727218151092529, | |
0.007653459072113037, | |
0.007671699047088623, | |
0.007732819080352784, | |
0.007657618045806885, | |
0.007684819221496582, | |
0.007704019069671631, | |
0.007647697925567627, | |
0.007670258045196533, | |
0.007696339130401611, | |
0.007267538070678711, | |
0.007665459156036377, | |
0.007682578086853027, | |
0.007690898895263672, | |
0.007691699028015137, | |
0.007669939041137695, | |
0.00765457820892334, | |
0.007663218975067138, | |
0.007668659210205078, | |
0.007682258129119873, | |
0.007333457946777344, | |
0.007313777923583984, | |
0.0074670581817626955, | |
0.007262897968292236, | |
0.00691905689239502, | |
0.0067486557960510256, | |
0.006813776969909668, | |
0.006794257164001465, | |
0.006796336174011231, | |
0.0068153772354125975, | |
0.00681009578704834, | |
0.006959856986999512, | |
0.007162578105926513, | |
0.0068227372169494625, | |
0.006973297119140625, | |
0.006787536144256592, | |
0.006792177200317382, | |
0.007020977020263672, | |
0.0069864168167114256, | |
0.007294737815856934, | |
0.007392178058624268, | |
0.0071020970344543456, | |
0.007125617027282715, | |
0.007471858978271484, | |
0.007714416980743408, | |
0.007738739013671875, | |
0.0077236990928649905, | |
0.007590098857879639, | |
0.006989936828613281, | |
0.006827375888824463, | |
0.006811857223510742 | |
], | |
"count": 135, | |
"total": 0.9999177989959716, | |
"mean": 0.007406798511081271, | |
"p50": 0.00763041877746582, | |
"p90": 0.007700019073486328, | |
"p95": 0.007724754810333252, | |
"p99": 0.007744118375778198, | |
"stdev": 0.00033992584109115493, | |
"stdev_": 4.589376106054374 | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 135.0110980478145 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |