IlyasMoutawwakil's picture
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
5f6ab76 verified
raw
history blame
11.2 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.444544,
"max_global_vram": 1229.45536,
"max_process_vram": 0.0,
"max_reserved": 591.396864,
"max_allocated": 449.269248
},
"latency": {
"unit": "s",
"count": 151,
"total": 0.9999689302444457,
"mean": 0.006622310796320833,
"stdev": 0.00016855269469866113,
"p50": 0.006606847763061524,
"p90": 0.006770688056945801,
"p95": 0.00685312008857727,
"p99": 0.007407104015350342,
"values": [
0.007158783912658692,
0.00672870397567749,
0.006770688056945801,
0.00678604793548584,
0.006848512172698974,
0.0067686400413513184,
0.00674508810043335,
0.00675328016281128,
0.006684671878814697,
0.006614016056060791,
0.006656000137329102,
0.006665215969085693,
0.006662144184112549,
0.006650879859924317,
0.006658048152923584,
0.006551551818847656,
0.006657023906707763,
0.006628352165222168,
0.006627327919006347,
0.0066979842185974124,
0.006676479816436768,
0.006660096168518067,
0.006665215969085693,
0.00674508810043335,
0.00672051191329956,
0.006628352165222168,
0.00677785587310791,
0.006645760059356689,
0.006711296081542969,
0.0066713600158691405,
0.006624256134033203,
0.0066119680404663084,
0.006618112087249756,
0.006582272052764892,
0.006670335769653321,
0.006650879859924317,
0.006536191940307618,
0.006525951862335205,
0.00653107213973999,
0.006534143924713135,
0.006564864158630371,
0.00652288007736206,
0.006665215969085693,
0.0068577280044555666,
0.006670335769653321,
0.006681600093841553,
0.006710271835327148,
0.0066304001808166506,
0.006669312000274658,
0.00662937593460083,
0.006555647850036621,
0.006603775978088379,
0.0066826238632202144,
0.006657023906707763,
0.006657023906707763,
0.006625279903411865,
0.006601727962493896,
0.0065669121742248536,
0.006616064071655273,
0.006616064071655273,
0.006608895778656006,
0.006665215969085693,
0.006633471965789795,
0.006615039825439453,
0.006573056221008301,
0.006564864158630371,
0.006606847763061524,
0.0066089601516723636,
0.006574079990386963,
0.006675456047058105,
0.0066375679969787596,
0.006597631931304931,
0.006719488143920899,
0.006708223819732666,
0.0066344962120056155,
0.006778880119323731,
0.0066304001808166506,
0.006626304149627686,
0.006699007987976074,
0.006592512130737305,
0.006661119937896728,
0.006596640110015869,
0.006524928092956543,
0.0064430079460144046,
0.006366208076477051,
0.00653926420211792,
0.006524928092956543,
0.006293504238128662,
0.00624128007888794,
0.006269951820373535,
0.0062863359451293946,
0.006446080207824707,
0.006808576107025147,
0.006994944095611572,
0.006906879901885986,
0.006873087882995605,
0.007437312126159668,
0.006826015949249267,
0.006789120197296142,
0.006626304149627686,
0.006660096168518067,
0.006597631931304931,
0.0065771517753601075,
0.00652185583114624,
0.006546432018280029,
0.006527999877929688,
0.0064880638122558594,
0.007510015964508057,
0.0073768959045410155,
0.006651904106140137,
0.006527999877929688,
0.006535168170928955,
0.006499328136444092,
0.006551551818847656,
0.006455296039581298,
0.006489088058471679,
0.006534143924713135,
0.006496255874633789,
0.006574079990386963,
0.0065474557876586915,
0.006519807815551758,
0.006523903846740723,
0.006509568214416504,
0.006543360233306885,
0.006554624080657959,
0.006540287971496582,
0.006524928092956543,
0.006555647850036621,
0.006518784046173095,
0.006505472183227539,
0.00653926420211792,
0.006489088058471679,
0.006542335987091064,
0.006479872226715088,
0.0065781760215759275,
0.006532095909118653,
0.006563839912414551,
0.006524960041046143,
0.006564864158630371,
0.006536191940307618,
0.006487040042877197,
0.006516736030578613,
0.006552576065063476,
0.0065372161865234375,
0.006508543968200684,
0.0064849920272827145,
0.006501376152038574,
0.006468607902526856,
0.006497280120849609,
0.0064767999649047855,
0.006532095909118653
]
},
"throughput": {
"unit": "samples/s",
"value": 151.004691678858
},
"energy": {
"unit": "kWh",
"cpu": 7.648547383619467e-08,
"ram": 4.1811777360459426e-08,
"gpu": 1.4622771554838925e-07,
"total": 2.6452496674504335e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3780361.4997287886
}
}
}
}