IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
5d351d7
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": "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": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1023.770624, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 36503.437312, | |
"max_reserved": 589.299712, | |
"max_allocated": 533.571072 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 7.4304111328125, | |
"mean": 7.4304111328125, | |
"stdev": 0.0, | |
"p50": 7.4304111328125, | |
"p90": 7.4304111328125, | |
"p95": 7.4304111328125, | |
"p99": 7.4304111328125, | |
"values": [ | |
7.4304111328125 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1155.072, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 231678.369792, | |
"max_reserved": 589.299712, | |
"max_allocated": 439.456768 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 142, | |
"total": 1.0014572563171382, | |
"mean": 0.007052515889557313, | |
"stdev": 0.0003547244709965341, | |
"p50": 0.0069499781131744385, | |
"p90": 0.007653191184997559, | |
"p95": 0.00767755115032196, | |
"p99": 0.007708748116493225, | |
"values": [ | |
0.007028138160705567, | |
0.007091176986694336, | |
0.00718429708480835, | |
0.007041737079620362, | |
0.006951817989349365, | |
0.0068465380668640136, | |
0.006720458030700684, | |
0.006706697940826416, | |
0.006897418022155761, | |
0.006728458881378174, | |
0.006712617874145507, | |
0.006691818237304688, | |
0.00670845890045166, | |
0.006695337772369385, | |
0.006670699119567871, | |
0.006709897994995117, | |
0.006715498924255371, | |
0.006672138214111328, | |
0.006671178817749024, | |
0.006669097900390625, | |
0.006719338893890381, | |
0.006911656856536865, | |
0.006901097774505615, | |
0.006963178157806397, | |
0.006703658103942871, | |
0.006874217987060547, | |
0.006749738216400147, | |
0.0068990178108215335, | |
0.006880618095397949, | |
0.0069623770713806155, | |
0.006802538871765137, | |
0.0068276581764221194, | |
0.0068374180793762205, | |
0.006723498821258545, | |
0.006691977977752685, | |
0.0066929378509521485, | |
0.006716138839721679, | |
0.006718058109283448, | |
0.006686859130859375, | |
0.006663497924804688, | |
0.0067238187789917, | |
0.006676938056945801, | |
0.006703659057617188, | |
0.006710379123687744, | |
0.006688777923583984, | |
0.006684618949890137, | |
0.006689417839050293, | |
0.0067172589302062985, | |
0.006702538013458252, | |
0.0066866989135742185, | |
0.006703978061676026, | |
0.006725098133087158, | |
0.006703019142150879, | |
0.006713098049163819, | |
0.006881097793579102, | |
0.006736937999725342, | |
0.006722538948059082, | |
0.006733098030090332, | |
0.006700138092041016, | |
0.006699338912963867, | |
0.006703338146209717, | |
0.0067287788391113285, | |
0.006784778118133545, | |
0.006765577793121338, | |
0.006734538078308106, | |
0.0069082980155944825, | |
0.006797897815704346, | |
0.006780298233032227, | |
0.006982058048248291, | |
0.0071194968223571775, | |
0.0071830167770385745, | |
0.00719133710861206, | |
0.007379816055297851, | |
0.007208617210388184, | |
0.007300936222076416, | |
0.007139337062835693, | |
0.0071372570991516116, | |
0.0072137370109558105, | |
0.007216776847839355, | |
0.007352615833282471, | |
0.007162537097930908, | |
0.007301897048950195, | |
0.007378695964813232, | |
0.007503015995025635, | |
0.00725213623046875, | |
0.007200457096099853, | |
0.007128296852111816, | |
0.007228456974029541, | |
0.007298057079315186, | |
0.007317575931549072, | |
0.007321095943450927, | |
0.007285576820373535, | |
0.007134377002716064, | |
0.007096617221832275, | |
0.006960457801818848, | |
0.006934057235717774, | |
0.0069481382369995116, | |
0.007001896858215332, | |
0.007014378070831299, | |
0.0067639780044555665, | |
0.006747817993164063, | |
0.006767818927764893, | |
0.006758537769317627, | |
0.006755817890167237, | |
0.006748777866363525, | |
0.0070647778511047366, | |
0.007084297180175781, | |
0.007131977081298828, | |
0.0070412569046020505, | |
0.006898377895355225, | |
0.006735497951507568, | |
0.007459176063537598, | |
0.0077223749160766604, | |
0.007612936019897461, | |
0.007443816184997559, | |
0.007071016788482666, | |
0.007662694931030273, | |
0.007638376235961914, | |
0.0076697349548339845, | |
0.007592616081237793, | |
0.007605094909667969, | |
0.007677095890045166, | |
0.00767757511138916, | |
0.007717734813690186, | |
0.0076801347732543945, | |
0.007695816040039063, | |
0.00769341516494751, | |
0.007682855129241943, | |
0.007610055923461914, | |
0.007654055118560791, | |
0.007636455059051514, | |
0.007365736961364746, | |
0.007219816207885742, | |
0.0076775760650634765, | |
0.007641893863677978, | |
0.007655014991760254, | |
0.007645415782928467, | |
0.007654055118560791, | |
0.007613736152648926, | |
0.007573255062103271, | |
0.007607495784759522, | |
0.007663654804229736 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 141.7933707147975 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |