IlyasMoutawwakil's picture
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
5c4189b verified
raw
history blame
13.8 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_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.293824,
"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.4",
"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": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 713.48224,
"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.1593115234375,
"mean": 7.1593115234375,
"stdev": 0.0,
"p50": 7.1593115234375,
"p90": 7.1593115234375,
"p95": 7.1593115234375,
"p99": 7.1593115234375,
"values": [
7.1593115234375
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 9.094966782463922e-07,
"ram": 4.825888356337297e-07,
"gpu": 0.0,
"total": 1.392085513880122e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 880.10752,
"max_global_vram": 1229.45536,
"max_process_vram": 0.0,
"max_reserved": 589.299712,
"max_allocated": 449.025024
},
"latency": {
"unit": "s",
"count": 186,
"total": 1.0046343998908998,
"mean": 0.0054012602144672016,
"stdev": 0.00020533033210572518,
"p50": 0.005350912094116211,
"p90": 0.005601263999938965,
"p95": 0.005693951964378357,
"p99": 0.006305228614807129,
"values": [
0.005602272033691407,
0.005727231979370117,
0.005598207950592041,
0.005500927925109863,
0.005482495784759522,
0.005538815975189209,
0.005467135906219483,
0.005472256183624268,
0.005404672145843506,
0.005368832111358642,
0.005409791946411133,
0.005377024173736572,
0.005350399971008301,
0.005432320117950439,
0.005479423999786377,
0.005375999927520752,
0.005278719902038574,
0.005245952129364013,
0.005256192207336426,
0.005677055835723877,
0.005549056053161621,
0.005840896129608154,
0.005606400012969971,
0.005610496044158936,
0.005619711875915527,
0.0055101442337036136,
0.005504064083099365,
0.005501952171325684,
0.005553152084350586,
0.0056145920753479005,
0.0053944320678710935,
0.005377024173736572,
0.005411839962005615,
0.005388288021087646,
0.005391359806060791,
0.005414912223815918,
0.005350399971008301,
0.005368832111358642,
0.005420032024383545,
0.005359615802764893,
0.005388288021087646,
0.005275648117065429,
0.005258240222930908,
0.005273600101470947,
0.0053678078651428224,
0.005337088108062744,
0.005256192207336426,
0.005259263992309571,
0.00541593599319458,
0.005608448028564453,
0.005569536209106446,
0.005600255966186523,
0.005699584007263184,
0.005595136165618897,
0.0056555519104003905,
0.005433343887329102,
0.005400576114654541,
0.005399551868438721,
0.005326848030090332,
0.005338111877441406,
0.005434400081634522,
0.0053975038528442385,
0.005393407821655274,
0.0053944320678710935,
0.005413887977600097,
0.005384191989898681,
0.005356544017791748,
0.005219327926635742,
0.005284863948822022,
0.005757952213287353,
0.0055244798660278325,
0.0056555519104003905,
0.005540863990783691,
0.005455872058868408,
0.005548031806945801,
0.005295104026794434,
0.0053043198585510255,
0.005401599884033203,
0.005303296089172363,
0.00531660795211792,
0.005346303939819336,
0.005339136123657226,
0.005410816192626953,
0.005529600143432617,
0.005388288021087646,
0.005375999927520752,
0.005465087890625,
0.00536678409576416,
0.005404704093933106,
0.005413887977600097,
0.00535859203338623,
0.005338111877441406,
0.005260287761688232,
0.005379072189331055,
0.005401631832122803,
0.005206016063690186,
0.005180416107177735,
0.005268479824066162,
0.005275648117065429,
0.005386240005493164,
0.005420032024383545,
0.0053043198585510255,
0.005206016063690186,
0.005189631938934326,
0.005252096176147461,
0.00521830415725708,
0.005216351985931397,
0.005281792163848877,
0.005489664077758789,
0.005393407821655274,
0.005499904155731201,
0.005481472015380859,
0.005574656009674072,
0.006298624038696289,
0.006325247764587402,
0.006300672054290772,
0.006301695823669433,
0.006170623779296875,
0.006401023864746094,
0.005464064121246338,
0.005401599884033203,
0.005361663818359375,
0.005361663818359375,
0.0054568958282470706,
0.005285888195037842,
0.00526035213470459,
0.005313536167144775,
0.005265408039093018,
0.005359615802764893,
0.005306367874145508,
0.005249023914337158,
0.0052336640357971195,
0.005262335777282715,
0.0052633600234985355,
0.005253119945526123,
0.005273600101470947,
0.005272575855255127,
0.005260287761688232,
0.005273600101470947,
0.005276671886444092,
0.005281792163848877,
0.005283840179443359,
0.005279744148254394,
0.005244927883148193,
0.005275648117065429,
0.005277696132659912,
0.005243904113769531,
0.005315584182739258,
0.005302271842956543,
0.0054271998405456545,
0.005265408039093018,
0.005310463905334473,
0.0052705278396606445,
0.005280767917633057,
0.005318655967712403,
0.005294079780578613,
0.005303296089172363,
0.005351424217224121,
0.005257215976715088,
0.0052705278396606445,
0.005320703983306885,
0.00526643180847168,
0.005285888195037842,
0.00530944013595581,
0.005286911964416504,
0.005256192207336426,
0.005344255924224854,
0.005276671886444092,
0.005253119945526123,
0.0053002238273620605,
0.005281792163848877,
0.005260287761688232,
0.005320703983306885,
0.005260287761688232,
0.005255167961120606,
0.005282815933227539,
0.005269504070281982,
0.005227519989013672,
0.005268479824066162,
0.005310463905334473,
0.005248000144958496,
0.005244927883148193,
0.00530944013595581,
0.005257215976715088,
0.005256192207336426,
0.005276671886444092
]
},
"throughput": {
"unit": "samples/s",
"value": 185.14197803718355
},
"energy": {
"unit": "kWh",
"cpu": 6.031348704619388e-08,
"ram": 3.2904825043880055e-08,
"gpu": 1.2896231411167723e-07,
"total": 2.221806262017512e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 4500842.477111166
}
}
}
}