IlyasMoutawwakil's picture
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
bd9359d verified
raw
history blame
12.4 kB
{
"config": {
"name": "cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased",
"backend": {
"name": "pytorch",
"version": "2.3.1+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",
"numactl": false,
"numactl_kwargs": {},
"start_method": "spawn"
},
"environment": {
"cpu": " AMD EPYC 7R32",
"cpu_count": 16,
"cpu_ram_mb": 66697.285632,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.10.219-208.866.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.3.1",
"optimum_benchmark_commit": null,
"transformers_version": "4.42.3",
"transformers_commit": null,
"accelerate_version": "0.32.1",
"accelerate_commit": null,
"diffusers_version": "0.29.2",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.7",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"forward": {
"memory": {
"unit": "MB",
"max_ram": 874.5984,
"max_global_vram": 1229.45536,
"max_process_vram": 0.0,
"max_reserved": 591.396864,
"max_allocated": 449.261056
},
"latency": {
"unit": "s",
"count": 178,
"total": 1.0016830739974978,
"mean": 0.005627432999985941,
"stdev": 0.0002852372971877709,
"p50": 0.005560319900512695,
"p90": 0.00572590069770813,
"p95": 0.005893273615837097,
"p99": 0.006921256775856008,
"values": [
0.00818073558807373,
0.007747583866119385,
0.006207488059997559,
0.006100992202758789,
0.005890048027038574,
0.005958655834197998,
0.005859327793121338,
0.005805056095123291,
0.005882880210876465,
0.005804031848907471,
0.005694464206695556,
0.005660672187805176,
0.0056258559226989744,
0.005733376026153565,
0.005681183815002442,
0.005723135948181152,
0.005597184181213379,
0.005591040134429932,
0.005732351779937744,
0.0056555519104003905,
0.005697535991668701,
0.0066744318008422855,
0.00587059211730957,
0.005637119770050049,
0.005618688106536865,
0.005600255966186523,
0.005570559978485107,
0.005603328227996827,
0.005619711875915527,
0.005577727794647217,
0.005576704025268555,
0.0055316481590271,
0.005578752040863037,
0.005544960021972656,
0.005565440177917481,
0.005560319900512695,
0.005536767959594726,
0.005547008037567139,
0.005560319900512695,
0.005553152084350586,
0.005544960021972656,
0.005549056053161621,
0.00557260799407959,
0.00557260799407959,
0.005571584224700928,
0.005530623912811279,
0.005540863990783691,
0.005569536209106446,
0.005540863990783691,
0.005538815975189209,
0.0055582718849182125,
0.005545983791351319,
0.005571584224700928,
0.00555622386932373,
0.005578752040863037,
0.005566463947296142,
0.0055552000999450684,
0.005545983791351319,
0.005545983791351319,
0.005542912006378174,
0.005542912006378174,
0.005526527881622314,
0.005535744190216065,
0.0055244798660278325,
0.0055285758972167965,
0.005543935775756836,
0.005560319900512695,
0.005516287803649903,
0.005545983791351319,
0.005525504112243652,
0.005545983791351319,
0.005541888236999512,
0.005529600143432617,
0.005560319900512695,
0.005538815975189209,
0.005691391944885254,
0.00570470380783081,
0.005559296131134033,
0.005571584224700928,
0.005537792205810547,
0.005561344146728516,
0.005535744190216065,
0.0055511040687561035,
0.005911551952362061,
0.0056258559226989744,
0.005629951953887939,
0.005766143798828125,
0.006118400096893311,
0.005597184181213379,
0.005529600143432617,
0.0055920639038085935,
0.005588992118835449,
0.005635072231292724,
0.005618688106536865,
0.005586944103240967,
0.005603328227996827,
0.0055244798660278325,
0.005573631763458252,
0.005988351821899414,
0.005567488193511963,
0.0055623679161071774,
0.005540863990783691,
0.005597184181213379,
0.005658624172210694,
0.0055244798660278325,
0.005536767959594726,
0.005501952171325684,
0.005569536209106446,
0.005543935775756836,
0.005525504112243652,
0.005594111919403076,
0.005534719944000244,
0.005563392162322998,
0.005541888236999512,
0.005519360065460205,
0.005568511962890625,
0.005550079822540284,
0.0055214080810546875,
0.00552243185043335,
0.005517312049865723,
0.005565440177917481,
0.0056258559226989744,
0.005563392162322998,
0.005561344146728516,
0.005525504112243652,
0.005546016216278076,
0.005533696174621582,
0.005552127838134766,
0.005578752040863037,
0.005535744190216065,
0.00551632022857666,
0.0055552000999450684,
0.005525504112243652,
0.005570559978485107,
0.005611519813537597,
0.0055552000999450684,
0.005595136165618897,
0.005554175853729248,
0.005553152084350586,
0.005603328227996827,
0.005552127838134766,
0.005577727794647217,
0.00553984022140503,
0.0055808000564575196,
0.005557248115539551,
0.005500927925109863,
0.005553152084350586,
0.005608479976654052,
0.005565440177917481,
0.005550079822540284,
0.005549056053161621,
0.005595136165618897,
0.005566463947296142,
0.0055244798660278325,
0.005557248115539551,
0.005532671928405761,
0.005535744190216065,
0.005607423782348633,
0.00551526403427124,
0.005550079822540284,
0.00553984022140503,
0.0056217598915100095,
0.005542912006378174,
0.005533696174621582,
0.005544960021972656,
0.005532671928405761,
0.005554175853729248,
0.005537792205810547,
0.005512191772460938,
0.005567488193511963,
0.005529600143432617,
0.005518335819244385,
0.005554175853729248,
0.0055244798660278325,
0.005566463947296142,
0.005633024215698243,
0.005508096218109131,
0.005526527881622314
]
},
"throughput": {
"unit": "samples/s",
"value": 177.70091620859782
},
"energy": {
"unit": "kWh",
"cpu": 6.23614254768953e-08,
"ram": 3.4004137281778876e-08,
"gpu": 1.2922058039791032e-07,
"total": 2.255861431565845e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 4432896.391627553
}
}
}
}