IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
6800e35
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": "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": 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.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.12.0", | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1070.026752, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 48589.377536, | |
"max_reserved": 589.299712, | |
"max_allocated": 533.571072 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 8.3650361328125, | |
"mean": 8.3650361328125, | |
"stdev": 0.0, | |
"p50": 8.3650361328125, | |
"p90": 8.3650361328125, | |
"p95": 8.3650361328125, | |
"p99": 8.3650361328125, | |
"values": [ | |
8.3650361328125 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1199.4112, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 247219.208192, | |
"max_reserved": 589.299712, | |
"max_allocated": 439.456768 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 138, | |
"total": 1.0043775205612184, | |
"mean": 0.007278097975081292, | |
"stdev": 0.001436307926077199, | |
"p50": 0.006903982877731323, | |
"p90": 0.007741997146606445, | |
"p95": 0.007754388809204101, | |
"p99": 0.013914131917953454, | |
"values": [ | |
0.00745150089263916, | |
0.007723980903625488, | |
0.007655820846557617, | |
0.007286221981048584, | |
0.0073019018173217775, | |
0.0072806220054626464, | |
0.0072561421394348145, | |
0.007235022068023682, | |
0.008669419288635254, | |
0.007106542110443115, | |
0.007078862190246582, | |
0.007010222911834717, | |
0.007075343132019043, | |
0.007064941883087158, | |
0.007045423030853272, | |
0.006997582912445069, | |
0.006965261936187744, | |
0.006919503211975098, | |
0.006922382831573487, | |
0.006976142883300781, | |
0.006923822879791259, | |
0.00694014310836792, | |
0.006931663036346436, | |
0.0070830221176147465, | |
0.006919182777404785, | |
0.006914543151855469, | |
0.006935503005981445, | |
0.006949742794036865, | |
0.007030541896820068, | |
0.0069251031875610354, | |
0.006895983219146728, | |
0.007086381912231445, | |
0.006869102954864502, | |
0.006862703800201416, | |
0.006883183002471924, | |
0.006879982948303223, | |
0.006859982967376709, | |
0.006851822853088379, | |
0.0068657431602478025, | |
0.006853902816772461, | |
0.006868943214416504, | |
0.006830223083496094, | |
0.006838222980499267, | |
0.006847023010253906, | |
0.006846063137054444, | |
0.006841582775115967, | |
0.0068681430816650395, | |
0.006833263874053955, | |
0.006873743057250976, | |
0.006869422912597656, | |
0.006858063220977783, | |
0.0068521428108215335, | |
0.006868463039398193, | |
0.0068540630340576175, | |
0.006854382991790772, | |
0.006822863101959229, | |
0.006853423118591309, | |
0.00682878303527832, | |
0.006867662906646728, | |
0.0068196640014648435, | |
0.006854863166809082, | |
0.006832942962646484, | |
0.006842223167419434, | |
0.0068612627983093265, | |
0.006842863082885742, | |
0.00688606309890747, | |
0.006843983173370361, | |
0.006869903087615967, | |
0.006869102954864502, | |
0.0068419032096862795, | |
0.006841103076934815, | |
0.016994359970092774, | |
0.006842223167419434, | |
0.006882382869720459, | |
0.006887503147125244, | |
0.006986062049865723, | |
0.0077132611274719235, | |
0.00766878080368042, | |
0.007745420932769776, | |
0.007681900978088379, | |
0.007717580795288086, | |
0.007735500812530518, | |
0.007724300861358642, | |
0.007752780914306641, | |
0.007748620986938477, | |
0.0077414212226867675, | |
0.007741100788116455, | |
0.007704620838165283, | |
0.007763500213623047, | |
0.007470061779022217, | |
0.0070577430725097656, | |
0.006823983192443848, | |
0.00681022310256958, | |
0.006807823181152344, | |
0.006869263172149658, | |
0.006833423137664795, | |
0.006841423034667969, | |
0.007098863124847412, | |
0.006848143100738525, | |
0.006856782913208008, | |
0.006875022888183594, | |
0.006825263023376465, | |
0.0068668627738952635, | |
0.006835982799530029, | |
0.006878222942352295, | |
0.006858542919158935, | |
0.006846222877502441, | |
0.006870382785797119, | |
0.0068281440734863285, | |
0.006806862831115723, | |
0.006860302925109863, | |
0.007100781917572021, | |
0.006851822853088379, | |
0.006879182815551757, | |
0.0069091029167175294, | |
0.006864142894744873, | |
0.0068612627983093265, | |
0.006891822814941407, | |
0.006898862838745117, | |
0.007816940784454345, | |
0.0077407808303833, | |
0.007745901107788086, | |
0.007751020908355713, | |
0.0077511811256408695, | |
0.007850059986114502, | |
0.007376781940460205, | |
0.007349902153015136, | |
0.007114061832427979, | |
0.007743340969085693, | |
0.007591501235961914, | |
0.0202333927154541, | |
0.007988619804382324, | |
0.007486540794372559, | |
0.007577261924743652, | |
0.0077342209815979, | |
0.007626862049102783, | |
0.007220141887664795, | |
0.006853902816772461 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 137.3985350875729 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |