IlyasMoutawwakil's picture
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
d9962f6 verified
raw
history blame
13.6 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.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.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.347072,
"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.135447265625,
"mean": 7.135447265625,
"stdev": 0.0,
"p50": 7.135447265625,
"p90": 7.135447265625,
"p95": 7.135447265625,
"p99": 7.135447265625,
"values": [
7.135447265625
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 9.396332833502029e-07,
"ram": 4.99397868077267e-07,
"gpu": 0.0,
"total": 1.43903115142747e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 880.078848,
"max_global_vram": 1229.45536,
"max_process_vram": 0.0,
"max_reserved": 589.299712,
"max_allocated": 449.025024
},
"latency": {
"unit": "s",
"count": 182,
"total": 0.9997426567077642,
"mean": 0.005493091520372328,
"stdev": 0.00021136552258454197,
"p50": 0.005539328098297119,
"p90": 0.0057292799949646,
"p95": 0.005769881439208984,
"p99": 0.0060030157613754275,
"values": [
0.0058726401329040525,
0.006062079906463623,
0.0058122239112854005,
0.005789696216583252,
0.005829631805419922,
0.005787648200988769,
0.005745664119720459,
0.005744671821594239,
0.005652480125427246,
0.005665791988372803,
0.005599232196807862,
0.005612544059753418,
0.005683199882507324,
0.005666816234588623,
0.005657599925994873,
0.005757952213287353,
0.0056780800819396975,
0.005538815975189209,
0.005604351997375488,
0.00566374397277832,
0.005692416191101074,
0.005667840003967285,
0.005720064163208007,
0.005724160194396972,
0.005662720203399658,
0.005602303981781006,
0.005586944103240967,
0.005601280212402344,
0.005686272144317627,
0.005689343929290771,
0.005654528141021729,
0.005693439960479736,
0.005659647941589355,
0.005652480125427246,
0.005997568130493164,
0.005668863773345947,
0.005658624172210694,
0.005666816234588623,
0.005709824085235596,
0.005604351997375488,
0.0054988799095153805,
0.005505023956298828,
0.005519360065460205,
0.005545983791351319,
0.0056442880630493165,
0.005525504112243652,
0.005582848072052002,
0.005587967872619629,
0.005604351997375488,
0.005629951953887939,
0.005698560237884521,
0.005732351779937744,
0.00602623987197876,
0.0057118721008300784,
0.005662720203399658,
0.005667871952056884,
0.0055552000999450684,
0.005585919857025146,
0.005703680038452149,
0.0056780800819396975,
0.005666816234588623,
0.005640192031860352,
0.005638144016265869,
0.005642303943634033,
0.005582848072052002,
0.00552243185043335,
0.005590015888214111,
0.005571584224700928,
0.005640192031860352,
0.005708799839019775,
0.005763072013854981,
0.005525504112243652,
0.005575679779052735,
0.005623807907104492,
0.005732351779937744,
0.005615615844726562,
0.005573631763458252,
0.005593088150024414,
0.005587967872619629,
0.005687295913696289,
0.005750783920288086,
0.005700607776641845,
0.00577023983001709,
0.0057292799949646,
0.005647359848022461,
0.005629951953887939,
0.0057292799949646,
0.005658624172210694,
0.005594111919403076,
0.005583871841430664,
0.005679103851318359,
0.005740543842315674,
0.005695487976074219,
0.00547430419921875,
0.005413887977600097,
0.005388288021087646,
0.005492735862731934,
0.005586944103240967,
0.005085184097290039,
0.005025792121887207,
0.0050032639503479,
0.0050022401809692385,
0.005024767875671386,
0.005180416107177735,
0.005443583965301513,
0.005527552127838135,
0.005471231937408447,
0.00553984022140503,
0.005615615844726562,
0.005676032066345215,
0.005790719985961914,
0.005416959762573242,
0.0053534722328186036,
0.005449728012084961,
0.0052930560111999515,
0.005307392120361328,
0.0053975038528442385,
0.0052899842262268066,
0.005312511920928955,
0.0053012480735778805,
0.005273600101470947,
0.00530841588973999,
0.005294079780578613,
0.005298175811767578,
0.005286911964416504,
0.005246975898742676,
0.0052705278396606445,
0.005279744148254394,
0.005248000144958496,
0.0052633600234985355,
0.00526643180847168,
0.005254144191741943,
0.0054271998405456545,
0.0054609918594360355,
0.005255167961120606,
0.005268479824066162,
0.005303296089172363,
0.005256192207336426,
0.0052930560111999515,
0.0052674560546875,
0.005243904113769531,
0.005263423919677735,
0.005252096176147461,
0.005243904113769531,
0.005302271842956543,
0.005244927883148193,
0.005260287761688232,
0.005262335777282715,
0.005259263992309571,
0.0053002238273620605,
0.005256192207336426,
0.005228544235229492,
0.005446656227111817,
0.005416959762573242,
0.005244927883148193,
0.005298175811767578,
0.005273600101470947,
0.005299200057983398,
0.005287936210632324,
0.0052705278396606445,
0.005282815933227539,
0.0052899842262268066,
0.005277696132659912,
0.005242879867553711,
0.0052930560111999515,
0.005251071929931641,
0.005268479824066162,
0.005260287761688232,
0.0052705278396606445,
0.005272575855255127,
0.005275648117065429,
0.005295104026794434,
0.005465087890625,
0.005438464164733887,
0.005254144191741943,
0.005279744148254394,
0.005262335777282715,
0.005269504070281982,
0.005264383792877197,
0.0052633600234985355,
0.005287936210632324,
0.005254144191741943
]
},
"throughput": {
"unit": "samples/s",
"value": 182.04684853534334
},
"energy": {
"unit": "kWh",
"cpu": 5.949360491642401e-08,
"ram": 3.252406343126729e-08,
"gpu": 1.3040909371859886e-07,
"total": 2.2242676206629017e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 4495861.8770072665
}
}
}
}