IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
91c5108
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": "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": {}, | |
"hub_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, | |
"latency": true, | |
"memory": 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", | |
"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.2.0", | |
"optimum_benchmark_commit": "77e62a3eef699bce70248c56d35c703369938b85", | |
"transformers_version": "4.40.2", | |
"transformers_commit": null, | |
"accelerate_version": "0.30.1", | |
"accelerate_commit": null, | |
"diffusers_version": "0.27.2", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.3", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1003.606016, | |
"max_global_vram": 2556.248064, | |
"max_process_vram": 242433.081344, | |
"max_reserved": 589.299712, | |
"max_allocated": 439.700992 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 141, | |
"total": 1.0030494599342346, | |
"mean": 0.007113825956980387, | |
"stdev": 0.0003388017316758259, | |
"p50": 0.006993264198303223, | |
"p90": 0.007733423233032227, | |
"p95": 0.007758862972259521, | |
"p99": 0.0077831510543823245, | |
"values": [ | |
0.007288943767547607, | |
0.00715534496307373, | |
0.007138864040374756, | |
0.007177743911743164, | |
0.007506543159484863, | |
0.0073481440544128414, | |
0.0073033437728881835, | |
0.007275023937225342, | |
0.007303342819213867, | |
0.007276944160461426, | |
0.007211503982543946, | |
0.0073995041847229005, | |
0.00713486385345459, | |
0.007367983818054199, | |
0.007087664127349853, | |
0.007051185131072998, | |
0.007467342853546143, | |
0.007024304866790771, | |
0.007158224105834961, | |
0.006962864875793457, | |
0.006976624011993408, | |
0.0070977449417114254, | |
0.006993264198303223, | |
0.0070071849822998045, | |
0.00696670389175415, | |
0.006994064807891846, | |
0.007014863967895508, | |
0.00699166488647461, | |
0.0069683041572570804, | |
0.007004944801330566, | |
0.007089744091033936, | |
0.00702494478225708, | |
0.006907344818115235, | |
0.007010543823242187, | |
0.00816958236694336, | |
0.007213263988494873, | |
0.007095024108886718, | |
0.006836945056915283, | |
0.007034385204315185, | |
0.007072944164276123, | |
0.006828304767608643, | |
0.0069835038185119625, | |
0.007043505191802978, | |
0.00701694393157959, | |
0.007731822967529297, | |
0.007747023105621338, | |
0.007741582870483398, | |
0.007770543098449707, | |
0.007732623100280762, | |
0.00773054313659668, | |
0.007784623146057129, | |
0.007711822986602783, | |
0.007762702941894531, | |
0.007742221832275391, | |
0.00775342321395874, | |
0.007765102863311768, | |
0.007711022853851318, | |
0.007727023124694824, | |
0.007744462966918946, | |
0.007758862972259521, | |
0.00776766300201416, | |
0.007539342880249023, | |
0.007115503787994385, | |
0.006882544994354248, | |
0.006947185039520264, | |
0.006809905052185059, | |
0.0068364648818969725, | |
0.0068433451652526855, | |
0.006837104797363281, | |
0.006833903789520264, | |
0.006786386013031006, | |
0.006858544826507568, | |
0.006847344875335694, | |
0.006810864925384521, | |
0.006855185031890869, | |
0.00682350492477417, | |
0.006809744834899902, | |
0.0068011050224304195, | |
0.006834865093231201, | |
0.006808145046234131, | |
0.006796464920043945, | |
0.006836784839630127, | |
0.0068431849479675295, | |
0.006810064792633057, | |
0.006795024871826172, | |
0.0068364648818969725, | |
0.006804144859313964, | |
0.0068281440734863285, | |
0.006802384853363037, | |
0.006802704811096192, | |
0.006833425045013428, | |
0.006820624828338623, | |
0.00681966495513916, | |
0.006800944805145264, | |
0.006829424858093262, | |
0.006830864906311035, | |
0.006806224822998047, | |
0.006783824920654297, | |
0.006838544845581055, | |
0.0068364648818969725, | |
0.0068316650390625, | |
0.006807984828948975, | |
0.006794064998626709, | |
0.006813584804534912, | |
0.006817423820495606, | |
0.0068310251235961916, | |
0.006799345016479492, | |
0.007628304004669189, | |
0.007736142158508301, | |
0.007667664051055908, | |
0.007345902919769287, | |
0.007691662788391113, | |
0.007733423233032227, | |
0.007780942916870117, | |
0.007227663993835449, | |
0.007125904083251953, | |
0.007127985000610352, | |
0.007250383853912353, | |
0.00722382402420044, | |
0.0072123041152954105, | |
0.007168784141540528, | |
0.007240143775939942, | |
0.007297743797302246, | |
0.007135983943939209, | |
0.006919185161590576, | |
0.006869424819946289, | |
0.006927023887634278, | |
0.006859025001525879, | |
0.006862064838409424, | |
0.006820944786071778, | |
0.006884785175323487, | |
0.0069147047996520996, | |
0.00688046407699585, | |
0.006868945121765137, | |
0.006873264789581299, | |
0.006864944934844971, | |
0.006872785091400146, | |
0.006850864887237549, | |
0.006879024028778076, | |
0.006869265079498291, | |
0.006841423988342285 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 140.57133335104405 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |