IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
ac23208
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.086656, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 4135.354368, | |
"max_reserved": 589.299712, | |
"max_allocated": 533.571072 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.06999800872802735 | |
], | |
"count": 1, | |
"total": 0.06999800872802735, | |
"mean": 0.06999800872802735, | |
"p50": 0.06999800872802735, | |
"p90": 0.06999800872802735, | |
"p95": 0.06999800872802735, | |
"p99": 0.06999800872802735, | |
"stdev": 0, | |
"stdev_": 0 | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1223.909376, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 244344.799232, | |
"max_reserved": 589.299712, | |
"max_allocated": 439.456768 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.007185448169708252, | |
0.006803369045257569, | |
0.006866407871246338, | |
0.006841448783874512, | |
0.0068012881278991695, | |
0.006796168804168701, | |
0.006769608020782471, | |
0.006815528869628907, | |
0.006834407806396484, | |
0.006832169055938721, | |
0.006821127891540527, | |
0.006868168830871582, | |
0.006867527961730957, | |
0.006989129066467285, | |
0.007090249061584473, | |
0.00688096809387207, | |
0.006945289134979248, | |
0.00687824821472168, | |
0.006913289070129395, | |
0.007397449016571045, | |
0.00716464900970459, | |
0.0071404891014099124, | |
0.007220808982849121, | |
0.007087209224700928, | |
0.007241928100585938, | |
0.007152009010314942, | |
0.006978088855743408, | |
0.006920009136199951, | |
0.006909927845001221, | |
0.00688240909576416, | |
0.0068366479873657226, | |
0.0068896088600158695, | |
0.006942567825317383, | |
0.006910408973693848, | |
0.0068507280349731445, | |
0.006920328140258789, | |
0.006935208797454834, | |
0.006918248176574707, | |
0.006937609195709228, | |
0.00695344877243042, | |
0.006910888195037842, | |
0.006870569229125977, | |
0.006961448192596436, | |
0.00688352918624878, | |
0.00690064811706543, | |
0.006898569107055664, | |
0.006910727977752685, | |
0.007089448928833008, | |
0.006932649135589599, | |
0.006946728229522705, | |
0.0069308881759643556, | |
0.006972009181976318, | |
0.006934567928314209, | |
0.007220169067382812, | |
0.007182408809661865, | |
0.0069368090629577635, | |
0.006955687999725342, | |
0.0069489688873291015, | |
0.006940168857574463, | |
0.006899208068847656, | |
0.0069416089057922365, | |
0.0069246478080749515, | |
0.006921449184417725, | |
0.006927369117736816, | |
0.006852807998657226, | |
0.006930728912353515, | |
0.0069644880294799805, | |
0.0069342489242553715, | |
0.00689056921005249, | |
0.006927847862243652, | |
0.006921769142150879, | |
0.0069289679527282716, | |
0.006938249111175537, | |
0.006945128917694092, | |
0.006959847927093506, | |
0.006942889213562012, | |
0.006963047981262207, | |
0.006969288825988769, | |
0.0070224089622497555, | |
0.006940807819366455, | |
0.006990728855133056, | |
0.0069678487777709965, | |
0.006952167987823487, | |
0.006980809211730957, | |
0.006992329120635987, | |
0.0072003288269042965, | |
0.006947048187255859, | |
0.006951529026031494, | |
0.006899847984313965, | |
0.006926249027252198, | |
0.006946729183197021, | |
0.006923528194427491, | |
0.007808330059051513, | |
0.0076003289222717286, | |
0.007282089233398437, | |
0.0072120089530944825, | |
0.0071784090995788575, | |
0.007312328815460205, | |
0.007296488761901855, | |
0.007344329833984375, | |
0.007574569225311279, | |
0.007323849201202393, | |
0.007237449169158936, | |
0.007236009120941162, | |
0.007746250152587891, | |
0.007446088790893555, | |
0.007868810176849365, | |
0.007856809139251708, | |
0.007765610218048096, | |
0.007650088787078857, | |
0.007414568901062011, | |
0.00734800910949707, | |
0.007308969020843506, | |
0.007339048862457276, | |
0.007360969066619873, | |
0.007341289043426514, | |
0.007370569229125976, | |
0.007283848762512207, | |
0.0073134489059448245, | |
0.007294250011444092, | |
0.007805929183959961, | |
0.007667530059814453, | |
0.007557448863983155, | |
0.007419369220733643, | |
0.007443210124969482, | |
0.007324809074401855, | |
0.00720560884475708, | |
0.00726064920425415, | |
0.00713264799118042, | |
0.006946729183197021, | |
0.007136649131774903, | |
0.006999049186706543, | |
0.006982408046722412, | |
0.0073515291213989255, | |
0.007293289184570313, | |
0.006949929237365723, | |
0.006915049076080322, | |
0.006910088062286377, | |
0.006942889213562012, | |
0.006928008079528808, | |
0.00691904878616333, | |
0.006927688121795655 | |
], | |
"count": 142, | |
"total": 1.0057774081230164, | |
"mean": 0.00708293949382406, | |
"p50": 0.0069518485069274905, | |
"p90": 0.007412856912612915, | |
"p95": 0.0076476007938385, | |
"p99": 0.007836932716369628, | |
"stdev": 0.0002520771059132711, | |
"stdev_": 3.5589334926984586 | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 141.18432055955665 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |