IlyasMoutawwakil's picture
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
35e2c2d verified
raw
history blame
13.5 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": 783.03232,
"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.38756298828125,
"mean": 7.38756298828125,
"stdev": 0.0,
"p50": 7.38756298828125,
"p90": 7.38756298828125,
"p95": 7.38756298828125,
"p99": 7.38756298828125,
"values": [
7.38756298828125
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 9.272141416666892e-07,
"ram": 4.925691445675535e-07,
"gpu": 1.7386125020003342e-06,
"total": 3.158395788234577e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1038.610432,
"max_global_vram": 1229.45536,
"max_process_vram": 0.0,
"max_reserved": 589.299712,
"max_allocated": 449.025024
},
"latency": {
"unit": "s",
"count": 179,
"total": 1.0009580154418956,
"mean": 0.00559194422034578,
"stdev": 0.00015824338392141717,
"p50": 0.005575679779052735,
"p90": 0.005800550270080566,
"p95": 0.005918310594558716,
"p99": 0.0060247857284545904,
"values": [
0.0059361281394958495,
0.006015999794006348,
0.0059985918998718265,
0.006055935859680176,
0.005781504154205322,
0.005687295913696289,
0.005732351779937744,
0.005652480125427246,
0.005641215801239013,
0.006306816101074219,
0.005916672229766846,
0.005916672229766846,
0.005892096042633056,
0.005996543884277344,
0.005933055877685547,
0.005892096042633056,
0.005799935817718506,
0.005709824085235596,
0.005727231979370117,
0.005601280212402344,
0.005549056053161621,
0.0055808000564575196,
0.005647359848022461,
0.005610496044158936,
0.005726208209991455,
0.0056217598915100095,
0.005618688106536865,
0.005574656009674072,
0.005519360065460205,
0.005605375766754151,
0.005643263816833496,
0.005650432109832764,
0.005690368175506591,
0.005647359848022461,
0.005708799839019775,
0.005646336078643799,
0.005642240047454834,
0.005639167785644531,
0.005634047985076904,
0.005627903938293457,
0.005642240047454834,
0.005646336078643799,
0.0056258559226989744,
0.005542912006378174,
0.005502975940704345,
0.005455872058868408,
0.005509119987487793,
0.005538815975189209,
0.005569536209106446,
0.0055797758102417,
0.005582848072052002,
0.005602303981781006,
0.0056217598915100095,
0.005600255966186523,
0.005697535991668701,
0.005645311832427978,
0.005681151866912842,
0.005675007820129394,
0.005673984050750733,
0.005645311832427978,
0.005569536209106446,
0.005553152084350586,
0.005588992118835449,
0.005640192031860352,
0.00566476821899414,
0.005609471797943116,
0.005659647941589355,
0.005679103851318359,
0.005610559940338135,
0.0055848960876464845,
0.005470208168029785,
0.0055848960876464845,
0.005619711875915527,
0.005593088150024414,
0.0056852478981018065,
0.005691391944885254,
0.005587967872619629,
0.005540863990783691,
0.00557260799407959,
0.005588992118835449,
0.005547008037567139,
0.005623807907104492,
0.005543935775756836,
0.005517312049865723,
0.005553152084350586,
0.005565440177917481,
0.005716991901397705,
0.005656576156616211,
0.005635072231292724,
0.005659647941589355,
0.005605375766754151,
0.0056555519104003905,
0.005982207775115967,
0.005574656009674072,
0.005668863773345947,
0.005560319900512695,
0.005550079822540284,
0.005494783878326416,
0.005607423782348633,
0.005502975940704345,
0.00546611213684082,
0.005492735862731934,
0.0053534722328186036,
0.00531660795211792,
0.005485568046569824,
0.005482495784759522,
0.005439487934112549,
0.005265408039093018,
0.005294079780578613,
0.005244927883148193,
0.005314559936523438,
0.00531660795211792,
0.005340159893035889,
0.005573631763458252,
0.005860352039337159,
0.0058429441452026365,
0.005803008079528809,
0.005895167827606201,
0.005960703849792481,
0.005755904197692871,
0.005805056095123291,
0.00567193603515625,
0.005634047985076904,
0.005536767959594726,
0.00561356782913208,
0.005567488193511963,
0.005601280212402344,
0.0055623679161071774,
0.005535744190216065,
0.005497856140136719,
0.0054917120933532714,
0.005475327968597412,
0.005591040134429932,
0.005482495784759522,
0.005465087890625,
0.005494783878326416,
0.005488639831542969,
0.005620736122131348,
0.005506048202514649,
0.005494783878326416,
0.005505023956298828,
0.005468160152435303,
0.0054906878471374515,
0.005488639831542969,
0.005482495784759522,
0.005489664077758789,
0.005517312049865723,
0.005481472015380859,
0.005504000186920166,
0.005472256183624268,
0.005560319900512695,
0.005495808124542236,
0.005497856140136719,
0.005463039875030518,
0.005527552127838135,
0.00551526403427124,
0.005575679779052735,
0.005462016105651855,
0.005465087890625,
0.005476352214813233,
0.005472256183624268,
0.005482495784759522,
0.005535744190216065,
0.005488639831542969,
0.005438464164733887,
0.005408768177032471,
0.005420032024383545,
0.005400576114654541,
0.005426176071166992,
0.005441535949707031,
0.005412864208221436,
0.00537497615814209,
0.005421055793762207,
0.005410816192626953,
0.005476352214813233,
0.00541593599319458,
0.005390336036682129,
0.005400576114654541,
0.0054282240867614745
]
},
"throughput": {
"unit": "samples/s",
"value": 178.82867936371593
},
"energy": {
"unit": "kWh",
"cpu": 6.367429376493254e-08,
"ram": 3.4801505872596985e-08,
"gpu": 1.2729251521505408e-07,
"total": 2.2576831485258362e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 4429319.5023976425
}
}
}
}