IlyasMoutawwakil's picture
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
e16e6db verified
raw
history blame
13.7 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.261056,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.10.225-213.878.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.5.0.dev0",
"optimum_benchmark_commit": null,
"transformers_version": "4.45.2",
"transformers_commit": null,
"accelerate_version": "1.0.0",
"accelerate_commit": null,
"diffusers_version": "0.30.3",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.9",
"timm_commit": null,
"peft_version": "0.13.0",
"peft_commit": null
},
"print_report": true,
"log_report": true
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 796.336128,
"max_global_vram": 1226.309632,
"max_process_vram": 0.0,
"max_reserved": 589.299712,
"max_allocated": 533.571072
},
"latency": {
"unit": "s",
"values": [
0.07798477172851563
],
"count": 1,
"total": 0.07798477172851563,
"mean": 0.07798477172851563,
"p50": 0.07798477172851563,
"p90": 0.07798477172851563,
"p95": 0.07798477172851563,
"p99": 0.07798477172851563,
"stdev": 0,
"stdev_": 0
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1051.951104,
"max_global_vram": 1238.892544,
"max_process_vram": 0.0,
"max_reserved": 591.396864,
"max_allocated": 449.025024
},
"latency": {
"unit": "s",
"values": [
0.005537792205810547,
0.005816319942474365,
0.005492735862731934,
0.005475327968597412,
0.00552243185043335,
0.005432320117950439,
0.005387263774871826,
0.005361663818359375,
0.005369855880737305,
0.005275648117065429,
0.0051701760292053225,
0.005156864166259765,
0.005187583923339844,
0.005186560153961181,
0.005179391860961914,
0.005212160110473632,
0.005210112094879151,
0.005178368091583252,
0.005191679954528809,
0.005189631938934326,
0.005471231937408447,
0.00535756778717041,
0.0053975038528442385,
0.0054271998405456545,
0.005327871799468994,
0.005516287803649903,
0.005412864208221436,
0.005368832111358642,
0.005349376201629639,
0.0053350400924682614,
0.005380095958709717,
0.005389311790466309,
0.0054609918594360355,
0.005327871799468994,
0.005392384052276611,
0.0054609918594360355,
0.0054271998405456545,
0.005395455837249756,
0.005433343887329102,
0.005393407821655274,
0.005401599884033203,
0.005313695907592774,
0.005431295871734619,
0.005345280170440674,
0.00538316822052002,
0.005279744148254394,
0.0052930560111999515,
0.005153791904449463,
0.005186560153961181,
0.005132287979125977,
0.00516096019744873,
0.005129216194152832,
0.005138432025909424,
0.005145599842071533,
0.005287936210632324,
0.005849088191986084,
0.005493760108947754,
0.005479423999786377,
0.0054282240867614745,
0.005473279953002929,
0.0054876160621643065,
0.005844992160797119,
0.0056555519104003905,
0.005566463947296142,
0.005673984050750733,
0.005530623912811279,
0.00566374397277832,
0.005541888236999512,
0.005448703765869141,
0.005406720161437988,
0.005571584224700928,
0.005386240005493164,
0.005395455837249756,
0.005508096218109131,
0.005758975982666016,
0.005530623912811279,
0.005540863990783691,
0.0054917120933532714,
0.005604351997375488,
0.005489664077758789,
0.0054906878471374515,
0.00551423978805542,
0.005504000186920166,
0.005512191772460938,
0.005639167785644531,
0.005495808124542236,
0.005624832153320313,
0.005560319900512695,
0.005647359848022461,
0.005388288021087646,
0.0054241280555725096,
0.005378047943115235,
0.005345280170440674,
0.005388288021087646,
0.005478400230407715,
0.005346303939819336,
0.005348351955413819,
0.005341248035430908,
0.005250048160552978,
0.005174272060394287,
0.005189631938934326,
0.005163008213043213,
0.005155839920043945,
0.005135359764099121,
0.005409791946411133,
0.005403647899627686,
0.005264383792877197,
0.005227519989013672,
0.005201920032501221,
0.005154816150665284,
0.005215231895446777,
0.005213183879852295,
0.0053944320678710935,
0.00546611213684082,
0.005385216236114502,
0.005351424217224121,
0.005437439918518067,
0.005351424217224121,
0.005369855880737305,
0.005388288021087646,
0.00537395191192627,
0.005354496002197265,
0.0061634559631347655,
0.006500351905822754,
0.006645760059356689,
0.006523903846740723,
0.005948416233062744,
0.005430272102355957,
0.005380095958709717,
0.005439487934112549,
0.005362688064575195,
0.005560319900512695,
0.0057077760696411135,
0.0055409278869628905,
0.005608448028564453,
0.005566463947296142,
0.0055285758972167965,
0.005575679779052735,
0.005477375984191894,
0.005462016105651855,
0.005575679779052735,
0.005550079822540284,
0.005485568046569824,
0.005509119987487793,
0.005532671928405761,
0.005866496086120605,
0.005590015888214111,
0.0056514558792114256,
0.00562169599533081,
0.005452799797058106,
0.005413887977600097,
0.005379072189331055,
0.005411839962005615,
0.005427231788635254,
0.005411839962005615,
0.005447679996490478,
0.005542912006378174,
0.0054917120933532714,
0.0055285758972167965,
0.005503104209899902,
0.005536767959594726,
0.005560319900512695,
0.005529600143432617,
0.005485568046569824,
0.005662720203399658,
0.005494783878326416,
0.005699584007263184,
0.005666816234588623,
0.005481472015380859,
0.005544960021972656,
0.00552345609664917,
0.005494783878326416,
0.005581920146942139,
0.005482495784759522,
0.005525504112243652,
0.005465087890625,
0.0054988799095153805,
0.005473279953002929,
0.005505023956298828,
0.005517312049865723,
0.005518335819244385,
0.0055101442337036136,
0.005494783878326416,
0.0055101442337036136
],
"count": 184,
"total": 1.00420041513443,
"mean": 0.005457610951817554,
"p50": 0.005450751781463623,
"p90": 0.0056449022293090815,
"p95": 0.00575129599571228,
"p99": 0.006504355735778808,
"stdev": 0.00021634406560079158,
"stdev_": 3.9640800253221102
},
"throughput": {
"unit": "samples/s",
"value": 183.23035643773196
},
"energy": {
"unit": "kWh",
"cpu": 6.547271865025931e-08,
"ram": 3.57688822674124e-08,
"gpu": 1.256646186408833e-07,
"total": 2.2690621955855503e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 4407107.0504171075
}
}
}
}