IlyasMoutawwakil's picture
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
0508334 verified
raw
history blame
10.9 kB
{
"config": {
"name": "cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased",
"backend": {
"name": "pytorch",
"version": "2.3.0+cu121",
"_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": true,
"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 7R32",
"cpu_count": 16,
"cpu_ram_mb": 66697.29792,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.10.215-203.850.amzn2.x86_64-x86_64-with-glibc2.35",
"processor": "x86_64",
"python_version": "3.10.12",
"gpu": [
"NVIDIA A10G"
],
"gpu_count": 1,
"gpu_vram_mb": 24146608128,
"optimum_benchmark_version": "0.2.0",
"optimum_benchmark_commit": null,
"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": 878.731264,
"max_global_vram": 1229.45536,
"max_process_vram": 0.0,
"max_reserved": 591.396864,
"max_allocated": 449.269248
},
"latency": {
"unit": "s",
"count": 144,
"total": 0.999821311950683,
"mean": 0.006943203555213081,
"stdev": 0.0002602942852551612,
"p50": 0.0069903359413146975,
"p90": 0.007173529386520386,
"p95": 0.007270297479629516,
"p99": 0.007912007708549499,
"values": [
0.007541759967803955,
0.007205887794494629,
0.007314432144165039,
0.007275519847869873,
0.007333888053894043,
0.00724070405960083,
0.007234560012817383,
0.007187456130981445,
0.007061503887176514,
0.007046144008636474,
0.007030784130096435,
0.007111680030822754,
0.007067647933959961,
0.007057407855987549,
0.006985727787017822,
0.007002111911773682,
0.007030784130096435,
0.007048192024230957,
0.0071157760620117185,
0.007143424034118652,
0.007142399787902832,
0.0070522880554199216,
0.0070860800743103025,
0.007077888011932373,
0.007172095775604248,
0.00714035177230835,
0.007146495819091797,
0.007094272136688232,
0.007096320152282715,
0.007048192024230957,
0.007046144008636474,
0.007038976192474365,
0.007107583999633789,
0.007054336071014404,
0.007018496036529541,
0.006930431842803955,
0.006948863983154297,
0.006993919849395752,
0.006977536201477051,
0.006939648151397705,
0.007045119762420654,
0.007065599918365479,
0.00709939193725586,
0.007072768211364746,
0.007159808158874512,
0.007098368167877197,
0.007139328002929687,
0.007003136157989502,
0.007008255958557129,
0.007090176105499267,
0.007094272136688232,
0.007015423774719238,
0.007005184173583984,
0.006969344139099121,
0.0069847040176391605,
0.006971392154693603,
0.007017471790313721,
0.007024640083312988,
0.007174143791198731,
0.006993919849395752,
0.007003136157989502,
0.006986752033233643,
0.007023615837097168,
0.006977536201477051,
0.006986752033233643,
0.0070225920677185055,
0.007062528133392334,
0.007006207942962647,
0.00714137601852417,
0.007147520065307617,
0.007144447803497315,
0.007181312084197998,
0.007058432102203369,
0.007003136157989502,
0.007087103843688965,
0.006998015880584717,
0.007095295906066895,
0.006956031799316406,
0.006970367908477783,
0.006872064113616944,
0.00684441614151001,
0.0069550080299377445,
0.006909952163696289,
0.006689792156219483,
0.006646783828735352,
0.0067338237762451176,
0.006831103801727295,
0.006860799789428711,
0.006957056045532227,
0.0072130560874938965,
0.007087103843688965,
0.007457791805267334,
0.008080384254455567,
0.007912447929382324,
0.007911424160003662,
0.00673689603805542,
0.0067717118263244626,
0.006772736072540283,
0.006710271835327148,
0.00667955207824707,
0.006638591766357422,
0.006666240215301514,
0.006759424209594727,
0.00669593620300293,
0.006668288230895996,
0.006699007987976074,
0.006631423950195312,
0.0066304001808166506,
0.006625279903411865,
0.006631423950195312,
0.006609920024871826,
0.006626304149627686,
0.006658048152923584,
0.006642687797546387,
0.006648831844329834,
0.006666240215301514,
0.006665215969085693,
0.006659071922302246,
0.006863872051239014,
0.006652927875518798,
0.00667955207824707,
0.006645760059356689,
0.0066304001808166506,
0.006652927875518798,
0.00667852783203125,
0.006864895820617676,
0.006683648109436035,
0.006686719894409179,
0.006639616012573242,
0.006662144184112549,
0.006694911956787109,
0.006615039825439453,
0.006708223819732666,
0.006626304149627686,
0.0066304001808166506,
0.0066416640281677245,
0.0066447358131408694,
0.006603775978088379,
0.006661119937896728,
0.0066344962120056155,
0.006625279903411865,
0.006646783828735352,
0.006642687797546387,
0.006616064071655273
]
},
"throughput": {
"unit": "samples/s",
"value": 144.02573567775963
},
"energy": {
"unit": "kWh",
"cpu": 7.506879321633513e-08,
"ram": 4.1036746570401334e-08,
"gpu": 1.4371846940506312e-07,
"total": 2.598240091917996e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3848759.023889165
}
}
}
}