IlyasMoutawwakil's picture
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
cb0b6c6 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.934016,
"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.3871767578125,
"mean": 7.3871767578125,
"stdev": 0.0,
"p50": 7.3871767578125,
"p90": 7.3871767578125,
"p95": 7.3871767578125,
"p99": 7.3871767578125,
"values": [
7.3871767578125
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 9.284789062503605e-07,
"ram": 4.925250546759802e-07,
"gpu": 0.0,
"total": 1.4210039609263406e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1038.536704,
"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.0047347192764282,
"mean": 0.005520520435584771,
"stdev": 0.00019529966324990727,
"p50": 0.005518336057662963,
"p90": 0.005763890981674194,
"p95": 0.005809561491012573,
"p99": 0.006080696425437927,
"values": [
0.006056960105895996,
0.006181888103485108,
0.0057794561386108395,
0.00570470380783081,
0.005672959804534912,
0.005639167785644531,
0.005667840003967285,
0.005568511962890625,
0.005607423782348633,
0.005541888236999512,
0.005557248115539551,
0.005588992118835449,
0.0055244798660278325,
0.005565440177917481,
0.005550079822540284,
0.0055203838348388675,
0.005591040134429932,
0.005416959762573242,
0.005414912223815918,
0.00546611213684082,
0.005469183921813964,
0.005485568046569824,
0.005599232196807862,
0.005567488193511963,
0.005631999969482422,
0.005527552127838135,
0.005633024215698243,
0.005548031806945801,
0.005480480194091797,
0.005452799797058106,
0.005542912006378174,
0.005561344146728516,
0.005791744232177734,
0.0055552000999450684,
0.005587967872619629,
0.005542912006378174,
0.005610496044158936,
0.005533696174621582,
0.005480447769165039,
0.005508096218109131,
0.005517312049865723,
0.0055101442337036136,
0.005649407863616943,
0.005550079822540284,
0.005509119987487793,
0.005336063861846924,
0.005426176071166992,
0.005443583965301513,
0.005486591815948487,
0.005453824043273926,
0.005687295913696289,
0.005489759922027588,
0.005559296131134033,
0.005483520030975342,
0.00552243185043335,
0.005628928184509278,
0.005586944103240967,
0.005605375766754151,
0.005581823825836182,
0.005566463947296142,
0.005577727794647217,
0.00550707197189331,
0.005439487934112549,
0.005519360065460205,
0.005534719944000244,
0.005631999969482422,
0.005517312049865723,
0.005483520030975342,
0.005557248115539551,
0.005510240077972412,
0.005422080039978027,
0.005582848072052002,
0.005607423782348633,
0.00570470380783081,
0.005989376068115234,
0.005790719985961914,
0.005846015930175781,
0.005728256225585937,
0.0056555519104003905,
0.005679103851318359,
0.005797887802124023,
0.005666816234588623,
0.005764095783233642,
0.00576204776763916,
0.005773312091827393,
0.005686272144317627,
0.0057712640762329105,
0.0058122239112854005,
0.005793791770935058,
0.005810175895690918,
0.005780479907989502,
0.005847040176391601,
0.006448128223419189,
0.005738495826721191,
0.0057118721008300784,
0.005743616104125977,
0.005640192031860352,
0.005540863990783691,
0.005695487976074219,
0.005692416191101074,
0.00561356782913208,
0.005582848072052002,
0.005638144016265869,
0.005468160152435303,
0.0054609918594360355,
0.00568832015991211,
0.005695487976074219,
0.005560319900512695,
0.005488639831542969,
0.005393407821655274,
0.005478432178497314,
0.005444608211517334,
0.005641215801239013,
0.005583871841430664,
0.005640192031860352,
0.0056217598915100095,
0.005692416191101074,
0.005679103851318359,
0.005967872142791748,
0.005646336078643799,
0.0055285758972167965,
0.005454847812652588,
0.005402624130249023,
0.005458943843841553,
0.005452799797058106,
0.0053340158462524415,
0.005377024173736572,
0.005328896045684814,
0.00535756778717041,
0.005378047943115235,
0.005321728229522705,
0.00530944013595581,
0.005387263774871826,
0.005284863948822022,
0.0053340158462524415,
0.005342207908630371,
0.005288959980010987,
0.0052930560111999515,
0.005315584182739258,
0.005250048160552978,
0.0051066880226135255,
0.005127168178558349,
0.005305344104766845,
0.005314559936523438,
0.005368832111358642,
0.005302271842956543,
0.005343232154846191,
0.005275648117065429,
0.005322751998901368,
0.00526643180847168,
0.005331967830657959,
0.005311488151550293,
0.0052930560111999515,
0.005347328186035156,
0.005332992076873779,
0.005248000144958496,
0.005321728229522705,
0.005322751998901368,
0.005325823783874512,
0.005323775768280029,
0.005296127796173096,
0.005272575855255127,
0.005292031764984131,
0.005278719902038574,
0.005306367874145508,
0.005281792163848877,
0.005323775768280029,
0.005336063861846924,
0.005288959980010987,
0.00531763219833374,
0.005326848030090332,
0.0053002238273620605,
0.005352447986602784,
0.005274623870849609,
0.005291007995605469,
0.00531763219833374,
0.005295104026794434,
0.005268479824066162,
0.006003712177276611,
0.005356544017791748,
0.005414912223815918,
0.005379072189331055
]
},
"throughput": {
"unit": "samples/s",
"value": 181.14234186220764
},
"energy": {
"unit": "kWh",
"cpu": 6.31245978686373e-08,
"ram": 3.450291927057605e-08,
"gpu": 1.283304809148934e-07,
"total": 2.2595799805410675e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 4425601.256037616
}
}
}
}