IlyasMoutawwakil's picture
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
e3b5882 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.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": 782.938112,
"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.379330078125,
"mean": 7.379330078125,
"stdev": 0.0,
"p50": 7.379330078125,
"p90": 7.379330078125,
"p95": 7.379330078125,
"p99": 7.379330078125,
"values": [
7.379330078125
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 9.283551486110043e-07,
"ram": 4.930896951601735e-07,
"gpu": 1.7405569479999466e-06,
"total": 3.162001791771124e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1038.512128,
"max_global_vram": 1229.45536,
"max_process_vram": 0.0,
"max_reserved": 589.299712,
"max_allocated": 449.025024
},
"latency": {
"unit": "s",
"count": 182,
"total": 1.001310463905335,
"mean": 0.005501705845633706,
"stdev": 0.00019749380285458417,
"p50": 0.005485568046569824,
"p90": 0.00568453130722046,
"p95": 0.005989068913459776,
"p99": 0.006217584595680237,
"values": [
0.006151167869567871,
0.006295551776885986,
0.0061337599754333495,
0.006057983875274659,
0.006076416015625,
0.006014976024627685,
0.006025216102600098,
0.0059955201148986816,
0.006408192157745361,
0.005526527881622314,
0.005260287761688232,
0.00520908784866333,
0.005254144191741943,
0.005210112094879151,
0.005216256141662597,
0.005224448204040527,
0.005251071929931641,
0.005208064079284668,
0.0052674560546875,
0.005262335777282715,
0.0055101442337036136,
0.005444608211517334,
0.005455872058868408,
0.005438464164733887,
0.005442560195922852,
0.005550079822540284,
0.005476352214813233,
0.005446656227111817,
0.005594111919403076,
0.005455872058868408,
0.005480447769165039,
0.005439487934112549,
0.005453824043273926,
0.005443583965301513,
0.005450751781463623,
0.0054282240867614745,
0.005506048202514649,
0.005441535949707031,
0.005473279953002929,
0.005730303764343261,
0.005501952171325684,
0.005454847812652588,
0.005442560195922852,
0.005454847812652588,
0.005472256183624268,
0.005440512180328369,
0.005492735862731934,
0.005441535949707031,
0.0054579200744628905,
0.005525504112243652,
0.005477375984191894,
0.005468160152435303,
0.005467135906219483,
0.005468160152435303,
0.005447679996490478,
0.005492735862731934,
0.005508096218109131,
0.005462016105651855,
0.005389311790466309,
0.005349376201629639,
0.005421055793762207,
0.005419007778167725,
0.005525504112243652,
0.005458943843841553,
0.005471231937408447,
0.005468160152435303,
0.005508096218109131,
0.005635072231292724,
0.005634047985076904,
0.005792768001556397,
0.005726208209991455,
0.00555622386932373,
0.005447679996490478,
0.005436416149139404,
0.00547430419921875,
0.005439487934112549,
0.005489664077758789,
0.005450751781463623,
0.005426176071166992,
0.005268479824066162,
0.005243904113769531,
0.005148672103881836,
0.005210112094879151,
0.005155839920043945,
0.00520908784866333,
0.0051773438453674315,
0.005157887935638428,
0.005191679954528809,
0.005249023914337158,
0.0052408318519592285,
0.005244927883148193,
0.005228544235229492,
0.005710847854614258,
0.005222400188446045,
0.0052408318519592285,
0.005248000144958496,
0.005536799907684326,
0.005553152084350586,
0.005527552127838135,
0.0054876160621643065,
0.005581823825836182,
0.005488639831542969,
0.005493760108947754,
0.00552345609664917,
0.005497856140136719,
0.005518335819244385,
0.005502975940704345,
0.005455872058868408,
0.005559296131134033,
0.005493760108947754,
0.005496831893920898,
0.005506048202514649,
0.005502975940704345,
0.005506048202514649,
0.005494783878326416,
0.005480447769165039,
0.005544960021972656,
0.005588992118835449,
0.00576204776763916,
0.005526527881622314,
0.005502975940704345,
0.00552345609664917,
0.0054917120933532714,
0.005477375984191894,
0.005866496086120605,
0.005488639831542969,
0.005591040134429932,
0.005668863773345947,
0.005506048202514649,
0.005527552127838135,
0.0054988799095153805,
0.005508096218109131,
0.005488639831542969,
0.005477375984191894,
0.005544960021972656,
0.005462016105651855,
0.005750783920288086,
0.006199295997619629,
0.005518335819244385,
0.005522463798522949,
0.00551423978805542,
0.005509119987487793,
0.005537792205810547,
0.005475327968597412,
0.005484543800354004,
0.005450751781463623,
0.005465087890625,
0.005485568046569824,
0.005688352108001709,
0.005512191772460938,
0.005475327968597412,
0.005473279953002929,
0.005527552127838135,
0.005516287803649903,
0.005538815975189209,
0.005463039875030518,
0.005492735862731934,
0.005472256183624268,
0.005479423999786377,
0.005484543800354004,
0.005606400012969971,
0.00547430419921875,
0.005492735862731934,
0.005471263885498047,
0.005484543800354004,
0.005499904155731201,
0.0054906878471374515,
0.005485568046569824,
0.005541888236999512,
0.005473279953002929,
0.005513279914855957,
0.005444608211517334,
0.005686272144317627,
0.005490752220153808,
0.005500927925109863,
0.005455872058868408,
0.005494783878326416,
0.005467135906219483,
0.00555622386932373,
0.005463039875030518,
0.00552345609664917,
0.005547008037567139
]
},
"throughput": {
"unit": "samples/s",
"value": 181.76180771162555
},
"energy": {
"unit": "kWh",
"cpu": 6.217862443280982e-08,
"ram": 3.3927545606947297e-08,
"gpu": 1.3256264240837718e-07,
"total": 2.2866881244813427e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 4373136.805557233
}
}
}
}