IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
3457fba
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": "0", | |
"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.236096, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.15.0-84-generic-x86_64-with-glibc2.35", | |
"processor": "x86_64", | |
"python_version": "3.10.12", | |
"gpu": [ | |
"Advanced Micro Devices, Inc. [AMD/ATI]" | |
], | |
"gpu_count": 1, | |
"gpu_vram_mb": 68702699520, | |
"optimum_benchmark_version": "0.3.1", | |
"optimum_benchmark_commit": "86b6a9427e8d0887933fcf9a8a5c8388c89fa339", | |
"transformers_version": "4.42.4", | |
"transformers_commit": null, | |
"accelerate_version": "0.32.1", | |
"accelerate_commit": null, | |
"diffusers_version": "0.29.2", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.7", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 898.10944, | |
"max_global_vram": 3161.94816, | |
"max_process_vram": 48725.323776, | |
"max_reserved": 589.299712, | |
"max_allocated": 533.571072 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 8.1772109375, | |
"mean": 8.1772109375, | |
"stdev": 0.0, | |
"p50": 8.1772109375, | |
"p90": 8.1772109375, | |
"p95": 8.1772109375, | |
"p99": 8.1772109375, | |
"values": [ | |
8.1772109375 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1017.761792, | |
"max_global_vram": 3225.489408, | |
"max_process_vram": 231726.77632, | |
"max_reserved": 589.299712, | |
"max_allocated": 439.456768 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 131, | |
"total": 1.0021910676956172, | |
"mean": 0.007650313493859678, | |
"stdev": 0.00037438076464489244, | |
"p50": 0.007623662948608398, | |
"p90": 0.007943342208862305, | |
"p95": 0.008055582523345947, | |
"p99": 0.009084812259674065, | |
"values": [ | |
0.008018861770629883, | |
0.0080734224319458, | |
0.007671184062957763, | |
0.007588304042816162, | |
0.007485103130340576, | |
0.007623662948608398, | |
0.0074612641334533695, | |
0.007351664066314698, | |
0.00726366376876831, | |
0.007238383769989014, | |
0.007445103168487549, | |
0.007310383796691895, | |
0.007608462810516357, | |
0.007462384223937989, | |
0.007333744049072266, | |
0.007639663219451904, | |
0.007581102848052979, | |
0.007655982971191406, | |
0.0074428639411926265, | |
0.007419342994689941, | |
0.0071939039230346676, | |
0.007318064212799073, | |
0.007191184043884277, | |
0.007243663787841797, | |
0.007438223838806152, | |
0.00734830379486084, | |
0.007460143089294434, | |
0.009306859970092774, | |
0.008088301658630372, | |
0.007845423221588134, | |
0.007860942840576172, | |
0.007850543022155761, | |
0.007870862007141113, | |
0.00787358283996582, | |
0.007917582035064697, | |
0.007438704013824463, | |
0.007285103797912597, | |
0.007293424129486084, | |
0.007304304122924805, | |
0.007166384220123291, | |
0.007183504104614258, | |
0.007313744068145752, | |
0.007181104183197022, | |
0.0074159841537475586, | |
0.007186863899230957, | |
0.007181903839111328, | |
0.007251984119415284, | |
0.007163983821868896, | |
0.0074545440673828125, | |
0.007598863124847412, | |
0.007370704174041748, | |
0.007171184062957764, | |
0.0073211040496826175, | |
0.007561422824859619, | |
0.007728302955627441, | |
0.0073033437728881835, | |
0.007744462966918946, | |
0.007435983180999756, | |
0.007236464023590088, | |
0.007499824047088623, | |
0.00742814302444458, | |
0.007256144046783447, | |
0.007265583992004394, | |
0.007467184066772461, | |
0.007850381851196289, | |
0.007910223007202148, | |
0.007884462833404542, | |
0.007884461879730225, | |
0.007930062770843505, | |
0.007851982116699218, | |
0.007949583053588867, | |
0.007943342208862305, | |
0.007890862941741943, | |
0.00789614200592041, | |
0.007861262798309326, | |
0.007924142837524415, | |
0.00782734203338623, | |
0.007847183227539063, | |
0.007880622863769532, | |
0.007879342079162598, | |
0.007902062892913819, | |
0.007862061977386474, | |
0.007913582801818848, | |
0.007916461944580079, | |
0.007888463020324707, | |
0.007863342761993408, | |
0.007878702163696289, | |
0.007842382907867432, | |
0.007931023120880128, | |
0.00787982177734375, | |
0.00790526294708252, | |
0.007993422031402587, | |
0.007890062808990479, | |
0.007899181842803955, | |
0.007941263198852539, | |
0.007857583045959472, | |
0.007173103809356689, | |
0.007493264198303222, | |
0.007219344139099121, | |
0.007356304168701172, | |
0.0073257431983947754, | |
0.007853743076324462, | |
0.007863022804260255, | |
0.007882701873779296, | |
0.00735214376449585, | |
0.007346864223480225, | |
0.008121421813964844, | |
0.007383344173431397, | |
0.0076033430099487305, | |
0.00742382287979126, | |
0.007283664226531982, | |
0.007225423812866211, | |
0.007238863945007324, | |
0.0075969438552856445, | |
0.007455663204193115, | |
0.0072214241027832035, | |
0.007330383777618408, | |
0.007853103160858155, | |
0.007810543060302735, | |
0.00790766191482544, | |
0.007870382785797119, | |
0.007886861801147461, | |
0.007839982986450195, | |
0.007869583129882812, | |
0.008075982093811036, | |
0.008566700935363769, | |
0.009643338203430175, | |
0.008037742614746093, | |
0.007853742122650147, | |
0.007982382774353028, | |
0.007974061012268066 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 130.71359765879185 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |