IlyasMoutawwakil's picture
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
d742bb3 verified
raw
history blame
13.4 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.224-212.876.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.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.12.0",
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 792.735744,
"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.04037109375,
"mean": 8.04037109375,
"stdev": 0.0,
"p50": 8.04037109375,
"p90": 8.04037109375,
"p95": 8.04037109375,
"p99": 8.04037109375,
"values": [
8.04037109375
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 2.4020029465197643e-06,
"ram": 1.2973476596188883e-06,
"gpu": 3.1447247380023136e-06,
"total": 6.844075344140966e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1048.211456,
"max_global_vram": 1236.795392,
"max_process_vram": 0.0,
"max_reserved": 589.299712,
"max_allocated": 449.025024
},
"latency": {
"unit": "s",
"count": 177,
"total": 1.0036757116317752,
"mean": 0.005670484246507202,
"stdev": 0.0003299875503370881,
"p50": 0.005577727794647217,
"p90": 0.0058863615989685055,
"p95": 0.006362316799163818,
"p99": 0.0072303003311157245,
"values": [
0.005817344188690185,
0.005769216060638428,
0.005684224128723145,
0.005593088150024414,
0.005542912006378174,
0.005549056053161621,
0.005493760108947754,
0.0055214080810546875,
0.00555622386932373,
0.0055101442337036136,
0.005692416191101074,
0.005735424041748047,
0.005754879951477051,
0.005750783920288086,
0.005846015930175781,
0.005793791770935058,
0.005739520072937012,
0.005700607776641845,
0.005619711875915527,
0.005619711875915527,
0.005738495826721191,
0.005701632022857666,
0.00572211217880249,
0.005750783920288086,
0.005602303981781006,
0.005508096218109131,
0.0055285758972167965,
0.0055244798660278325,
0.0054917120933532714,
0.005453824043273926,
0.005477375984191894,
0.0054568958282470706,
0.005527552127838135,
0.005495808124542236,
0.005593088150024414,
0.005577727794647217,
0.005594111919403076,
0.005607423782348633,
0.0055623679161071774,
0.005493760108947754,
0.005483520030975342,
0.0054906878471374515,
0.005495808124542236,
0.0055244798660278325,
0.005489664077758789,
0.005548031806945801,
0.005421055793762207,
0.005325823783874512,
0.00535859203338623,
0.005323775768280029,
0.005393407821655274,
0.0054241280555725096,
0.005420032024383545,
0.0054568958282470706,
0.005462016105651855,
0.005471231937408447,
0.005425151824951172,
0.005458943843841553,
0.0054917120933532714,
0.0056217598915100095,
0.005517312049865723,
0.005580863952636719,
0.005568511962890625,
0.006807551860809326,
0.0073471999168395995,
0.007195648193359375,
0.0073400321006774905,
0.0062863359451293946,
0.005587967872619629,
0.005876736164093017,
0.005917695999145508,
0.005769216060638428,
0.0057190399169921875,
0.0057190399169921875,
0.005803008079528809,
0.005790719985961914,
0.005805056095123291,
0.005951488018035888,
0.005849088191986084,
0.005793791770935058,
0.005768191814422607,
0.00581324815750122,
0.005705728054046631,
0.00582860803604126,
0.005760000228881836,
0.005772287845611572,
0.0057794561386108395,
0.005733376026153565,
0.005945343971252442,
0.005890048027038574,
0.005931007862091065,
0.0058726401329040525,
0.00653107213973999,
0.005883903980255127,
0.00587059211730957,
0.005827583789825439,
0.005864448070526123,
0.005814271926879883,
0.005805056095123291,
0.005652480125427246,
0.005843967914581299,
0.005763072013854981,
0.0057794561386108395,
0.005773312091827393,
0.005658624172210694,
0.005560319900512695,
0.005598207950592041,
0.0057794561386108395,
0.0057292799949646,
0.005470208168029785,
0.00550707197189331,
0.005447679996490478,
0.005516287803649903,
0.005497856140136719,
0.005548031806945801,
0.005596159934997558,
0.005577727794647217,
0.005554175853729248,
0.005819392204284668,
0.005775360107421875,
0.006599679946899414,
0.006408192157745361,
0.006323200225830078,
0.006363135814666748,
0.006362112045288086,
0.005665791988372803,
0.005986303806304932,
0.00573747205734253,
0.005773312091827393,
0.005867519855499268,
0.005736447811126709,
0.005519360065460205,
0.0055214080810546875,
0.005465087890625,
0.00586137580871582,
0.006509568214416504,
0.005643263816833496,
0.005473279953002929,
0.005599232196807862,
0.005493760108947754,
0.005481472015380859,
0.00551526403427124,
0.005443583965301513,
0.005459968090057373,
0.005464064121246338,
0.005453824043273926,
0.005458943843841553,
0.005494783878326416,
0.005444608211517334,
0.005492735862731934,
0.005442560195922852,
0.005441535949707031,
0.005532671928405761,
0.005509119987487793,
0.005483520030975342,
0.005467135906219483,
0.005476352214813233,
0.005450751781463623,
0.005505023956298828,
0.005432320117950439,
0.005451776027679443,
0.00535859203338623,
0.005405695915222168,
0.005425151824951172,
0.005359615802764893,
0.005351424217224121,
0.005402624130249023,
0.005352447986602784,
0.005417984008789062,
0.005408768177032471,
0.005359615802764893,
0.005349376201629639,
0.005407743930816651,
0.0053340158462524415,
0.005342207908630371,
0.005379072189331055,
0.0053534722328186036
]
},
"throughput": {
"unit": "samples/s",
"value": 176.35178170470382
},
"energy": {
"unit": "kWh",
"cpu": 6.309435090500181e-08,
"ram": 3.447198969390846e-08,
"gpu": 1.239274041063731e-07,
"total": 2.2149374470528337e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 4514800.1869334355
}
}
}
}