IlyasMoutawwakil's picture
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
fdf715c verified
raw
history blame
13.6 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",
"optimum_benchmark_commit": null,
"transformers_version": "4.45.1",
"transformers_commit": null,
"accelerate_version": "0.34.2",
"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
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 795.160576,
"max_global_vram": 1226.309632,
"max_process_vram": 0.0,
"max_reserved": 589.299712,
"max_allocated": 533.571072
},
"latency": {
"unit": "s",
"count": 1,
"total": 8.479484375,
"mean": 8.479484375,
"stdev": 0.0,
"p50": 8.479484375,
"p90": 8.479484375,
"p95": 8.479484375,
"p99": 8.479484375,
"values": [
8.479484375
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 2.5194894388887533e-06,
"ram": 1.3614549500913663e-06,
"gpu": 3.4538916519996805e-06,
"total": 7.334836040979799e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1050.509312,
"max_global_vram": 1236.795392,
"max_process_vram": 0.0,
"max_reserved": 589.299712,
"max_allocated": 449.025024
},
"latency": {
"unit": "s",
"count": 181,
"total": 1.0016840958595277,
"mean": 0.0055341662754670035,
"stdev": 0.0003553280439839289,
"p50": 0.005467135906219483,
"p90": 0.005642240047454834,
"p95": 0.005792768001556397,
"p99": 0.007745536041259761,
"values": [
0.0061972479820251464,
0.0062566399574279785,
0.005792768001556397,
0.005637119770050049,
0.005725183963775635,
0.005657599925994873,
0.005645311832427978,
0.005670911788940429,
0.005637119770050049,
0.00616755199432373,
0.005568511962890625,
0.005276671886444092,
0.005230591773986816,
0.005306367874145508,
0.0053043198585510255,
0.005243904113769531,
0.005243904113769531,
0.005220352172851562,
0.0053309440612792965,
0.0052705278396606445,
0.005246975898742676,
0.005222400188446045,
0.005188608169555664,
0.0051968002319335935,
0.005241856098175048,
0.005190656185150146,
0.005235712051391602,
0.005384191989898681,
0.005963776111602783,
0.005593088150024414,
0.005583871841430664,
0.005483520030975342,
0.005682176113128662,
0.005471231937408447,
0.005472256183624268,
0.0055203838348388675,
0.005478400230407715,
0.0055203838348388675,
0.00547430419921875,
0.0054271998405456545,
0.005499904155731201,
0.005420032024383545,
0.00541593599319458,
0.005445631980895996,
0.005408768177032471,
0.005464064121246338,
0.005479423999786377,
0.005421055793762207,
0.005482495784759522,
0.005430272102355957,
0.00552345609664917,
0.005557248115539551,
0.005477375984191894,
0.005452799797058106,
0.005453824043273926,
0.005458943843841553,
0.005448703765869141,
0.005436416149139404,
0.00542310380935669,
0.005449728012084961,
0.005443583965301513,
0.005412864208221436,
0.005472256183624268,
0.005417984008789062,
0.005425151824951172,
0.005463039875030518,
0.005437439918518067,
0.005462016105651855,
0.005476352214813233,
0.005454847812652588,
0.005481472015380859,
0.005459968090057373,
0.005518335819244385,
0.005478400230407715,
0.005443583965301513,
0.005412864208221436,
0.005477375984191894,
0.005439487934112549,
0.005660672187805176,
0.005509119987487793,
0.005526527881622314,
0.0055285758972167965,
0.005470208168029785,
0.00547430419921875,
0.005606400012969971,
0.0054917120933532714,
0.005469183921813964,
0.005488639831542969,
0.0054282240867614745,
0.0054568958282470706,
0.005434368133544922,
0.005467135906219483,
0.005545983791351319,
0.005430272102355957,
0.0054906878471374515,
0.005450751781463623,
0.005419007778167725,
0.0054917120933532714,
0.005486591815948487,
0.005683231830596924,
0.005587967872619629,
0.0054241280555725096,
0.005454847812652588,
0.005470240116119384,
0.005438464164733887,
0.005577727794647217,
0.005444608211517334,
0.005404672145843506,
0.005481472015380859,
0.005438464164733887,
0.005453824043273926,
0.00572211217880249,
0.005497856140136719,
0.005527552127838135,
0.005518335819244385,
0.006599679946899414,
0.008102911949157715,
0.008044544219970704,
0.007670783996582031,
0.005578752040863037,
0.005585919857025146,
0.005590015888214111,
0.005504000186920166,
0.005470208168029785,
0.005437439918518067,
0.005441535949707031,
0.005484543800354004,
0.005429247856140137,
0.0054241280555725096,
0.005519360065460205,
0.005425151824951172,
0.005435391902923584,
0.0054241280555725096,
0.005429247856140137,
0.005568511962890625,
0.005484543800354004,
0.0055797758102417,
0.005633024215698243,
0.005610496044158936,
0.005617663860321045,
0.005608448028564453,
0.005604351997375488,
0.005633088111877441,
0.005533696174621582,
0.005642240047454834,
0.005550079822540284,
0.00552345609664917,
0.005925888061523437,
0.00553984022140503,
0.005495808124542236,
0.005433343887329102,
0.005434368133544922,
0.005493760108947754,
0.005414912223815918,
0.005446656227111817,
0.0054917120933532714,
0.005453824043273926,
0.005433343887329102,
0.005480447769165039,
0.00550707197189331,
0.005505023956298828,
0.005445631980895996,
0.005432320117950439,
0.005455872058868408,
0.005414912223815918,
0.005421055793762207,
0.005467135906219483,
0.0053975038528442385,
0.005453824043273926,
0.005468160152435303,
0.005417984008789062,
0.005436416149139404,
0.0054241280555725096,
0.005421055793762207,
0.005430272102355957,
0.005391359806060791,
0.005434368133544922,
0.0054609918594360355,
0.005433343887329102,
0.005435391902923584,
0.005459968090057373
]
},
"throughput": {
"unit": "samples/s",
"value": 180.69569113472554
},
"energy": {
"unit": "kWh",
"cpu": 6.433310134008986e-08,
"ram": 3.514853414206546e-08,
"gpu": 1.2979890263783913e-07,
"total": 2.2928053811999446e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 4361469.177452156
}
}
}
}