IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
1e2802e
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": 1069.846528, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 42791.665664, | |
"max_reserved": 589.299712, | |
"max_allocated": 533.571072 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 8.5705107421875, | |
"mean": 8.5705107421875, | |
"stdev": 0.0, | |
"p50": 8.5705107421875, | |
"p90": 8.5705107421875, | |
"p95": 8.5705107421875, | |
"p99": 8.5705107421875, | |
"values": [ | |
8.5705107421875 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1199.529984, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 235948.38016, | |
"max_reserved": 589.299712, | |
"max_allocated": 439.456768 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 152, | |
"total": 1.0045759148597717, | |
"mean": 0.006609052071445868, | |
"stdev": 0.0002996730294093325, | |
"p50": 0.0064823739528656, | |
"p90": 0.007037204122543335, | |
"p95": 0.007267571878433227, | |
"p99": 0.007852701678276062, | |
"values": [ | |
0.007188611984252929, | |
0.006879172801971436, | |
0.00672477388381958, | |
0.006747813224792481, | |
0.006683013916015625, | |
0.007223651885986328, | |
0.007222531795501709, | |
0.006929092884063721, | |
0.007841568946838379, | |
0.006857892990112305, | |
0.007972289085388183, | |
0.007086212158203125, | |
0.006528295040130615, | |
0.006480134010314941, | |
0.006471654891967773, | |
0.006488454818725586, | |
0.006454695224761963, | |
0.00646605396270752, | |
0.006503815174102783, | |
0.006489095211029053, | |
0.006496453762054443, | |
0.006473575115203857, | |
0.006484135150909424, | |
0.006510054111480713, | |
0.00647565507888794, | |
0.006473575115203857, | |
0.006460614204406738, | |
0.006475015163421631, | |
0.006459014892578125, | |
0.006469415187835693, | |
0.006528133869171142, | |
0.006520773887634277, | |
0.006472455024719238, | |
0.006508454799652099, | |
0.006482853889465332, | |
0.006478535175323486, | |
0.006505734920501709, | |
0.006473574161529541, | |
0.0064894151687622074, | |
0.006472455024719238, | |
0.006449573993682861, | |
0.006462214946746826, | |
0.006465415000915528, | |
0.006457574844360351, | |
0.006471653938293457, | |
0.006446855068206787, | |
0.006483015060424805, | |
0.006485895156860351, | |
0.006481093883514404, | |
0.006478215217590332, | |
0.006467494964599609, | |
0.006508614063262939, | |
0.006509254932403565, | |
0.006478535175323486, | |
0.006475334167480469, | |
0.006470855236053467, | |
0.006483335018157959, | |
0.006481894016265869, | |
0.006466535091400147, | |
0.006462854862213135, | |
0.006485253810882568, | |
0.0064777350425720215, | |
0.006479654788970947, | |
0.006470695018768311, | |
0.006489093780517578, | |
0.006498215198516846, | |
0.006474215030670166, | |
0.0064962940216064455, | |
0.00648653507232666, | |
0.006555173873901367, | |
0.006508615016937256, | |
0.006524774074554443, | |
0.006477254867553711, | |
0.006495975017547608, | |
0.006471653938293457, | |
0.006491014957427979, | |
0.0064758148193359375, | |
0.006471014022827149, | |
0.006460935115814209, | |
0.006474534988403321, | |
0.006499975204467773, | |
0.006481094837188721, | |
0.006480454921722412, | |
0.0064986939430236815, | |
0.006484614849090576, | |
0.006683013916015625, | |
0.007215012073516846, | |
0.006471654891967773, | |
0.006440614223480225, | |
0.006434374809265136, | |
0.006454854965209961, | |
0.0064593348503112795, | |
0.006467175006866455, | |
0.006449254035949707, | |
0.006519495010375976, | |
0.006518054008483887, | |
0.0064668550491333, | |
0.006458694934844971, | |
0.006485253810882568, | |
0.006474534988403321, | |
0.006473094940185547, | |
0.006443815231323242, | |
0.00646221399307251, | |
0.0064710149765014645, | |
0.007864288806915283, | |
0.006470534801483154, | |
0.006454215049743652, | |
0.006439974784851074, | |
0.006466215133666992, | |
0.006464933872222901, | |
0.006470055103302002, | |
0.006481414794921875, | |
0.0064626941680908205, | |
0.0064807748794555664, | |
0.006517254829406739, | |
0.0064895739555358885, | |
0.006508134841918946, | |
0.00647949504852295, | |
0.006486053943634033, | |
0.00649085521697998, | |
0.006440295219421387, | |
0.006717573165893555, | |
0.007340931892395019, | |
0.007695970058441162, | |
0.007351331233978272, | |
0.007344611167907715, | |
0.00732125186920166, | |
0.006960453033447266, | |
0.006901093006134033, | |
0.0069050931930541995, | |
0.00691213321685791, | |
0.007164452075958252, | |
0.006899972915649414, | |
0.007097571849822998, | |
0.006917092800140381, | |
0.007045732021331787, | |
0.006764294147491455, | |
0.006495015144348144, | |
0.006604773998260498, | |
0.006486693859100342, | |
0.006454695224761963, | |
0.006477894783020019, | |
0.006454854965209961, | |
0.006450214862823486, | |
0.0064540538787841795, | |
0.0064638152122497555, | |
0.0064898948669433595, | |
0.0064817328453063965, | |
0.006466054916381836, | |
0.006515015125274659, | |
0.006501893997192382, | |
0.006480454921722412 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 151.30762917127828 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |