IlyasMoutawwakil's picture
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
22e0153 verified
raw
history blame
13.3 kB
{
"config": {
"name": "cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased",
"backend": {
"name": "pytorch",
"version": "2.4.1+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.252864,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.10.223-212.873.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.34.0",
"accelerate_commit": null,
"diffusers_version": "0.30.2",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.9",
"timm_commit": null,
"peft_version": "0.12.0",
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 794.279936,
"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.849974609375,
"mean": 7.849974609375,
"stdev": 0.0,
"p50": 7.849974609375,
"p90": 7.849974609375,
"p95": 7.849974609375,
"p99": 7.849974609375,
"values": [
7.849974609375
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 9.262809006944652e-07,
"ram": 4.910707461792115e-07,
"gpu": 1.6080568419995882e-06,
"total": 3.025408488873265e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1049.731072,
"max_global_vram": 1229.45536,
"max_process_vram": 0.0,
"max_reserved": 589.299712,
"max_allocated": 449.025024
},
"latency": {
"unit": "s",
"count": 174,
"total": 1.0030551695823668,
"mean": 0.0057646848826572806,
"stdev": 0.00022543748963216952,
"p50": 0.005808640003204345,
"p90": 0.005944729566574097,
"p95": 0.005984819388389588,
"p99": 0.006186147956848146,
"values": [
0.006076416015625,
0.006266880035400391,
0.0061562881469726565,
0.00611737585067749,
0.005967872142791748,
0.006034431934356689,
0.005913599967956543,
0.005980160236358643,
0.005911551952362061,
0.007505919933319092,
0.006054912090301514,
0.005942272186279297,
0.005960703849792481,
0.005883903980255127,
0.005993472099304199,
0.005950463771820068,
0.005949440002441406,
0.0058716158866882326,
0.005855231761932373,
0.005894144058227539,
0.005763072013854981,
0.005859327793121338,
0.005815296173095703,
0.005898240089416504,
0.005884928226470947,
0.005932032108306885,
0.005847040176391601,
0.005908480167388916,
0.005801983833312988,
0.005831679821014404,
0.005832704067230224,
0.005890048027038574,
0.005867519855499268,
0.005864448070526123,
0.006077439785003662,
0.005880832195281982,
0.005945343971252442,
0.0059064321517944334,
0.005950463771820068,
0.005864448070526123,
0.005901311874389649,
0.005891071796417236,
0.00591974401473999,
0.0058726401329040525,
0.00591871976852417,
0.005777408123016357,
0.00577023983001709,
0.005746687889099121,
0.005840896129608154,
0.005874688148498535,
0.005776383876800537,
0.005823488235473633,
0.005777408123016357,
0.005848063945770264,
0.005795839786529541,
0.005849088191986084,
0.005840896129608154,
0.005923840045928955,
0.005852159976959229,
0.005912576198577881,
0.005859327793121338,
0.005893119812011719,
0.005834752082824707,
0.005792768001556397,
0.0058122239112854005,
0.005832704067230224,
0.005924863815307617,
0.00587059211730957,
0.005925888061523437,
0.005854207992553711,
0.005889023780822754,
0.0058726401329040525,
0.005859327793121338,
0.005724160194396972,
0.005757952213287353,
0.00582041597366333,
0.005787648200988769,
0.005818367958068848,
0.005857279777526855,
0.005848063945770264,
0.00573747205734253,
0.005815296173095703,
0.005793791770935058,
0.005945343971252442,
0.005776383876800537,
0.005826560020446778,
0.005829631805419922,
0.005810175895690918,
0.005868544101715088,
0.005851136207580566,
0.005932032108306885,
0.005873663902282715,
0.005943295955657959,
0.005898240089416504,
0.005961728096008301,
0.005818399906158447,
0.005860352039337159,
0.005807104110717773,
0.00587059211730957,
0.005804031848907471,
0.005745664119720459,
0.005796864032745362,
0.005792768001556397,
0.005791744232177734,
0.005697535991668701,
0.0057497601509094234,
0.005602335929870606,
0.005642240047454834,
0.005743616104125977,
0.005726208209991455,
0.005597184181213379,
0.005481472015380859,
0.005513216018676758,
0.005517312049865723,
0.005479423999786377,
0.005742591857910156,
0.005629951953887939,
0.005693439960479736,
0.005606400012969971,
0.005626880168914795,
0.0057794561386108395,
0.005883903980255127,
0.005668863773345947,
0.0055511040687561035,
0.005750783920288086,
0.005647359848022461,
0.00557260799407959,
0.005681151866912842,
0.0055582718849182125,
0.005602303981781006,
0.005746687889099121,
0.005657599925994873,
0.0055623679161071774,
0.005470208168029785,
0.0055244798660278325,
0.005509119987487793,
0.005470208168029785,
0.005532671928405761,
0.005477375984191894,
0.005501952171325684,
0.005540863990783691,
0.005485568046569824,
0.005506048202514649,
0.005493760108947754,
0.005455872058868408,
0.005563392162322998,
0.005505023956298828,
0.005483520030975342,
0.00552345609664917,
0.005478400230407715,
0.005925888061523437,
0.005512191772460938,
0.005463039875030518,
0.005550079822540284,
0.005472256183624268,
0.005442560195922852,
0.005438464164733887,
0.005387263774871826,
0.005430272102355957,
0.005378047943115235,
0.005410816192626953,
0.005393407821655274,
0.005379072189331055,
0.005801983833312988,
0.005937151908874512,
0.0058716158866882326,
0.005570559978485107,
0.005525504112243652,
0.005595136165618897,
0.005478400230407715,
0.005500927925109863,
0.005547008037567139,
0.005532671928405761,
0.005469183921813964
]
},
"throughput": {
"unit": "samples/s",
"value": 173.47001967244418
},
"energy": {
"unit": "kWh",
"cpu": 6.43473594429354e-08,
"ram": 3.517885185727499e-08,
"gpu": 1.2895994616304447e-07,
"total": 2.2848615746325485e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 4376632.751420926
}
}
}
}