IlyasMoutawwakil's picture
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
d8f289c verified
raw
history blame
13.6 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.25696,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.10.220-209.869.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.0",
"transformers_commit": null,
"accelerate_version": "0.33.0",
"accelerate_commit": null,
"diffusers_version": "0.30.0",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.8",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 783.945728,
"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.45329345703125,
"mean": 7.45329345703125,
"stdev": 0.0,
"p50": 7.45329345703125,
"p90": 7.45329345703125,
"p95": 7.45329345703125,
"p99": 7.45329345703125,
"values": [
7.45329345703125
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 9.572837888887324e-07,
"ram": 5.089493231358435e-07,
"gpu": 0.0,
"total": 1.466233112024576e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1039.548416,
"max_global_vram": 1229.45536,
"max_process_vram": 0.0,
"max_reserved": 589.299712,
"max_allocated": 449.025024
},
"latency": {
"unit": "s",
"count": 182,
"total": 1.004931231021881,
"mean": 0.005521600170449897,
"stdev": 0.00016812290854318897,
"p50": 0.005502464056015014,
"p90": 0.005703270435333252,
"p95": 0.005835929465293884,
"p99": 0.006220083026885986,
"values": [
0.005799935817718506,
0.005913599967956543,
0.00572108793258667,
0.005623807907104492,
0.005736447811126709,
0.005610496044158936,
0.005662720203399658,
0.005573631763458252,
0.005658656120300293,
0.005576704025268555,
0.005554175853729248,
0.0055552000999450684,
0.0055203838348388675,
0.005517312049865723,
0.005596159934997558,
0.005561344146728516,
0.005509119987487793,
0.005352447986602784,
0.005384191989898681,
0.005450751781463623,
0.005464064121246338,
0.005499904155731201,
0.005689343929290771,
0.0055582718849182125,
0.005675007820129394,
0.006012991905212402,
0.0059023361206054685,
0.005703680038452149,
0.0057077760696411135,
0.005563392162322998,
0.005570559978485107,
0.005605375766754151,
0.00555622386932373,
0.0055203838348388675,
0.005611519813537597,
0.005547008037567139,
0.005561344146728516,
0.005502975940704345,
0.005538815975189209,
0.0055623679161071774,
0.005535744190216065,
0.00553984022140503,
0.0055285758972167965,
0.0053944320678710935,
0.005455872058868408,
0.005387263774871826,
0.005452799797058106,
0.00550707197189331,
0.005488639831542969,
0.005496831893920898,
0.005529600143432617,
0.005447679996490478,
0.005559296131134033,
0.005593088150024414,
0.005585919857025146,
0.0056258559226989744,
0.005581823825836182,
0.005628928184509278,
0.005518335819244385,
0.005468160152435303,
0.005548031806945801,
0.005448703765869141,
0.005534719944000244,
0.005571584224700928,
0.0055285758972167965,
0.0055244798660278325,
0.005517312049865723,
0.00552243185043335,
0.005501952171325684,
0.005355519771575928,
0.005425151824951172,
0.005481472015380859,
0.005511168003082275,
0.005557248115539551,
0.005573631763458252,
0.0054579200744628905,
0.005434368133544922,
0.005430272102355957,
0.005445631980895996,
0.00546611213684082,
0.005450816154479981,
0.005452799797058106,
0.005455872058868408,
0.00546611213684082,
0.005548031806945801,
0.005516287803649903,
0.005577727794647217,
0.005567488193511963,
0.005537792205810547,
0.0056145920753479005,
0.005594111919403076,
0.005501952171325684,
0.006024191856384278,
0.005550079822540284,
0.005638144016265869,
0.005442560195922852,
0.00552243185043335,
0.0056258559226989744,
0.005414912223815918,
0.005370880126953125,
0.005426176071166992,
0.005265408039093018,
0.005188608169555664,
0.0053534722328186036,
0.005455872058868408,
0.0053647360801696775,
0.0052008957862854,
0.005187583923339844,
0.0052111358642578124,
0.005202943801879883,
0.00521830415725708,
0.005610496044158936,
0.005715968132019043,
0.005667840003967285,
0.005708799839019775,
0.005699584007263184,
0.005837823867797852,
0.00586240005493164,
0.005716991901397705,
0.005527552127838135,
0.005552127838134766,
0.005492735862731934,
0.0054568958282470706,
0.005433343887329102,
0.005497856140136719,
0.005412864208221436,
0.005433343887329102,
0.005481472015380859,
0.005742591857910156,
0.00551526403427124,
0.005488639831542969,
0.006298624038696289,
0.006278143882751465,
0.006206463813781738,
0.005847040176391601,
0.0055797758102417,
0.005499904155731201,
0.0054271998405456545,
0.005485568046569824,
0.005396480083465576,
0.0054271998405456545,
0.005439487934112549,
0.005434368133544922,
0.005430272102355957,
0.005525504112243652,
0.005431295871734619,
0.005420032024383545,
0.005412864208221436,
0.005422080039978027,
0.005402624130249023,
0.005386240005493164,
0.00538316822052002,
0.00553984022140503,
0.005545983791351319,
0.005448703765869141,
0.005497856140136719,
0.005425151824951172,
0.005412864208221436,
0.005434368133544922,
0.005395455837249756,
0.005464064121246338,
0.005538815975189209,
0.0054579200744628905,
0.005413887977600097,
0.005391359806060791,
0.00538316822052002,
0.0054271998405456545,
0.005398528099060058,
0.0053975038528442385,
0.005186560153961181,
0.005178368091583252,
0.00530841588973999,
0.005518335819244385,
0.005381120204925537,
0.005408768177032471,
0.005444608211517334,
0.0053975038528442385,
0.005435391902923584,
0.005402624130249023,
0.005493760108947754,
0.005464064121246338,
0.005408768177032471
]
},
"throughput": {
"unit": "samples/s",
"value": 181.10691993812375
},
"energy": {
"unit": "kWh",
"cpu": 6.406008611858167e-08,
"ram": 3.4964212686510876e-08,
"gpu": 1.311993283763459e-07,
"total": 2.3022362718143844e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 4343602.8362627765
}
}
}
}