IlyasMoutawwakil's picture
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
5e015ba verified
raw
history blame
13.2 kB
{
"config": {
"name": "cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased",
"backend": {
"name": "pytorch",
"version": "2.4.0+cu124",
"_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": 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",
"numactl": false,
"numactl_kwargs": {},
"start_method": "spawn"
},
"environment": {
"cpu": " AMD EPYC 7R32",
"cpu_count": 16,
"cpu_ram_mb": 66697.261056,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.10.223-211.872.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.4.0",
"optimum_benchmark_commit": null,
"transformers_version": "4.44.2",
"transformers_commit": null,
"accelerate_version": "0.33.0",
"accelerate_commit": null,
"diffusers_version": "0.30.1",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.9",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 782.934016,
"max_global_vram": 1218.9696,
"max_process_vram": 0.0,
"max_reserved": 589.299712,
"max_allocated": 533.571072
},
"latency": {
"unit": "s",
"count": 1,
"total": 7.41739208984375,
"mean": 7.41739208984375,
"stdev": 0.0,
"p50": 7.41739208984375,
"p90": 7.41739208984375,
"p95": 7.41739208984375,
"p99": 7.41739208984375,
"values": [
7.41739208984375
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 9.940085819435594e-07,
"ram": 5.01951362100836e-07,
"gpu": 0.0,
"total": 1.4959599440443952e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1038.516224,
"max_global_vram": 1229.45536,
"max_process_vram": 0.0,
"max_reserved": 589.299712,
"max_allocated": 449.025024
},
"latency": {
"unit": "s",
"count": 172,
"total": 1.0037086067199708,
"mean": 0.005835515155348667,
"stdev": 0.0002648943138521357,
"p50": 0.00587827205657959,
"p90": 0.006066892957687378,
"p95": 0.006164735865592956,
"p99": 0.0068732722043991085,
"values": [
0.005920767784118652,
0.006080512046813965,
0.006191103935241699,
0.006153215885162353,
0.006086656093597412,
0.006095871925354004,
0.006115327835083008,
0.006067200183868408,
0.006064127922058105,
0.005986303806304932,
0.005957632064819336,
0.005971968173980713,
0.005960703849792481,
0.005955584049224853,
0.005983232021331787,
0.005917759895324707,
0.005822463989257813,
0.005826560020446778,
0.00586137580871582,
0.005954559803009033,
0.005891071796417236,
0.0060026879310607914,
0.005949440002441406,
0.005983232021331787,
0.005948416233062744,
0.005972991943359375,
0.005874688148498535,
0.005881855964660645,
0.005934080123901367,
0.0059985918998718265,
0.005933055877685547,
0.005992447853088379,
0.0059351038932800295,
0.005987328052520752,
0.005959680080413818,
0.00591871976852417,
0.0059361281394958495,
0.005961728096008301,
0.005938208103179932,
0.005948416233062744,
0.005924863815307617,
0.005843967914581299,
0.005795839786529541,
0.005761023998260498,
0.005859327793121338,
0.005815296173095703,
0.005914656162261963,
0.005846015930175781,
0.005964799880981446,
0.005865471839904785,
0.005944320201873779,
0.005942272186279297,
0.006030335903167725,
0.00601087999343872,
0.006017024040222168,
0.005961728096008301,
0.005997568130493164,
0.005925888061523437,
0.005881855964660645,
0.005815296173095703,
0.005997568130493164,
0.005912576198577881,
0.005932032108306885,
0.005860352039337159,
0.005982207775115967,
0.005895167827606201,
0.005837823867797852,
0.005790719985961914,
0.005834752082824707,
0.005942272186279297,
0.005846015930175781,
0.005946368217468262,
0.005947391986846923,
0.00591974401473999,
0.005908480167388916,
0.005989376068115234,
0.005910528182983398,
0.005901311874389649,
0.00587059211730957,
0.00588595199584961,
0.00588595199584961,
0.005931007862091065,
0.006178815841674804,
0.006072319984436035,
0.00597811222076416,
0.005982207775115967,
0.006136832237243653,
0.0060406079292297365,
0.005907455921173096,
0.005964799880981446,
0.005960703849792481,
0.005950463771820068,
0.006247424125671387,
0.005900288105010986,
0.005953536033630371,
0.005848063945770264,
0.005772287845611572,
0.005794816017150879,
0.005594111919403076,
0.005598207950592041,
0.005859327793121338,
0.00582041597366333,
0.005647359848022461,
0.005529600143432617,
0.00556441593170166,
0.005554175853729248,
0.005563392162322998,
0.005976064205169678,
0.006662144184112549,
0.006843391895294189,
0.006860799789428711,
0.006903808116912841,
0.006951935768127441,
0.006135807991027832,
0.005757952213287353,
0.00577023983001709,
0.005720064163208007,
0.006205440044403076,
0.005815296173095703,
0.005566463947296142,
0.005602303981781006,
0.005535744190216065,
0.005629951953887939,
0.005553152084350586,
0.0055961918830871584,
0.005594111919403076,
0.005627903938293457,
0.005633024215698243,
0.005554175853729248,
0.0055797758102417,
0.005548031806945801,
0.005489664077758789,
0.00557260799407959,
0.005516287803649903,
0.005516287803649903,
0.005557248115539551,
0.0055214080810546875,
0.00556441593170166,
0.005557248115539551,
0.00551423978805542,
0.0055552000999450684,
0.0055244798660278325,
0.005533696174621582,
0.00550707197189331,
0.0055203838348388675,
0.005557248115539551,
0.005525504112243652,
0.0055316481590271,
0.005586944103240967,
0.00552243185043335,
0.00557260799407959,
0.0055285758972167965,
0.0055316481590271,
0.005549056053161621,
0.005467135906219483,
0.005665791988372803,
0.005882880210876465,
0.005659647941589355,
0.005566463947296142,
0.005516287803649903,
0.0055623679161071774,
0.005527552127838135,
0.005547008037567139,
0.005545983791351319,
0.005532671928405761,
0.005537792205810547,
0.0056258559226989744,
0.00552243185043335,
0.005567488193511963,
0.00551526403427124,
0.005573631763458252,
0.005525504112243652
]
},
"throughput": {
"unit": "samples/s",
"value": 171.3644765506998
},
"energy": {
"unit": "kWh",
"cpu": 6.580363410493536e-08,
"ram": 3.5975348520202606e-08,
"gpu": 1.4587820312222307e-07,
"total": 2.4765718574736103e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 4037839.6329679512
}
}
}
}