IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
5e5c96e
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.2.2+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": "error", | |
"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.33.0", | |
"accelerate_commit": null, | |
"diffusers_version": "0.30.1", | |
"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": 904.679424, | |
"max_global_vram": 875.343872, | |
"max_process_vram": 43426.881536, | |
"max_reserved": 589.299712, | |
"max_allocated": 533.571072 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 7.3654052734375, | |
"mean": 7.3654052734375, | |
"stdev": 0.0, | |
"p50": 7.3654052734375, | |
"p90": 7.3654052734375, | |
"p95": 7.3654052734375, | |
"p99": 7.3654052734375, | |
"values": [ | |
7.3654052734375 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1023.934464, | |
"max_global_vram": 938.88512, | |
"max_process_vram": 221131.849728, | |
"max_reserved": 589.299712, | |
"max_allocated": 439.456768 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 143, | |
"total": 1.0111365404129027, | |
"mean": 0.0070708848979923284, | |
"stdev": 0.0013638181332671468, | |
"p50": 0.006790865898132324, | |
"p90": 0.007354384899139404, | |
"p95": 0.007594161128997803, | |
"p99": 0.013502532958984481, | |
"values": [ | |
0.007363825798034668, | |
0.006793426036834717, | |
0.00662766695022583, | |
0.006646066188812256, | |
0.006982706069946289, | |
0.007061905860900879, | |
0.006654706954956055, | |
0.00689806604385376, | |
0.00704270601272583, | |
0.0067163071632385255, | |
0.007516304969787598, | |
0.006542226791381836, | |
0.006919345855712891, | |
0.007183345794677734, | |
0.0072655858993530276, | |
0.007312145233154297, | |
0.007109426021575928, | |
0.007347344875335693, | |
0.007320466041564941, | |
0.007356144905090332, | |
0.006827506065368652, | |
0.006553427219390869, | |
0.006503666877746582, | |
0.0065388669967651365, | |
0.006501107215881347, | |
0.006563986778259277, | |
0.006517746925354004, | |
0.006542067050933838, | |
0.006549746990203858, | |
0.0065222268104553225, | |
0.006676146984100342, | |
0.006585426807403564, | |
0.006501107215881347, | |
0.00653598690032959, | |
0.006796786785125733, | |
0.017037246704101564, | |
0.008621261596679688, | |
0.006912146091461182, | |
0.0067969470024108886, | |
0.006822546005249023, | |
0.006782546997070312, | |
0.007018226146697998, | |
0.00679486608505249, | |
0.006772147178649902, | |
0.0067852668762207035, | |
0.006788946151733398, | |
0.007148786067962647, | |
0.006780626773834228, | |
0.0067537460327148436, | |
0.006759507179260254, | |
0.006731505870819092, | |
0.006781267166137695, | |
0.006767025947570801, | |
0.006751185894012452, | |
0.006763667106628418, | |
0.006784626007080078, | |
0.006755187034606934, | |
0.006753265857696533, | |
0.006787346839904785, | |
0.006762705802917481, | |
0.006746387004852295, | |
0.007118226051330567, | |
0.0067867059707641605, | |
0.0068131060600280765, | |
0.006770067214965821, | |
0.006812625885009765, | |
0.006779666900634766, | |
0.006805746078491211, | |
0.006756947040557861, | |
0.006770706176757813, | |
0.0067804670333862305, | |
0.006790065765380859, | |
0.006961585998535157, | |
0.006790865898132324, | |
0.0067358269691467285, | |
0.006799345970153809, | |
0.00676030683517456, | |
0.006735186100006104, | |
0.006999825954437256, | |
0.006825747013092041, | |
0.006757105827331543, | |
0.0067187070846557615, | |
0.007019986152648925, | |
0.0067305459976196285, | |
0.006949427127838134, | |
0.006717266082763672, | |
0.0067547068595886234, | |
0.006741265773773194, | |
0.006714867115020752, | |
0.007181904792785645, | |
0.007596145153045655, | |
0.007324306011199952, | |
0.006755665779113769, | |
0.006767187118530273, | |
0.0067711868286132815, | |
0.0068932662010192875, | |
0.006839506149291992, | |
0.006805747032165527, | |
0.006759026050567627, | |
0.006798707008361817, | |
0.006781586170196533, | |
0.007328625202178955, | |
0.007499985218048096, | |
0.00693294620513916, | |
0.0067395071983337405, | |
0.0069860658645629885, | |
0.007576304912567139, | |
0.007619025230407715, | |
0.007547665119171143, | |
0.007608304023742676, | |
0.00763022518157959, | |
0.007268785953521728, | |
0.007223024845123291, | |
0.007103186130523681, | |
0.007112465858459473, | |
0.007213425159454345, | |
0.007365585803985596, | |
0.007157585144042969, | |
0.007075345993041992, | |
0.007175665855407715, | |
0.006972465991973877, | |
0.006793906211853027, | |
0.006801426887512207, | |
0.006797585964202881, | |
0.006770546913146973, | |
0.006785265922546387, | |
0.006914226055145264, | |
0.0068158268928527836, | |
0.006740786075592041, | |
0.0067646269798278804, | |
0.007132784843444824, | |
0.0069910259246826175, | |
0.006711826801300049, | |
0.006807186126708984, | |
0.006782386779785156, | |
0.006789906024932861, | |
0.006754547119140625, | |
0.006759185791015625, | |
0.006772306919097901, | |
0.006741586208343506, | |
0.0067497467994689945, | |
0.01926635932922363, | |
0.008251663208007812 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 141.42501460940696 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |