IlyasMoutawwakil's picture
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
38773f2 verified
raw
history blame
13.9 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.293824,
"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.43.1",
"transformers_commit": null,
"accelerate_version": "0.33.0",
"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.494528,
"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.16546875,
"mean": 7.16546875,
"stdev": 0.0,
"p50": 7.16546875,
"p90": 7.16546875,
"p95": 7.16546875,
"p99": 7.16546875,
"values": [
7.16546875
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 9.468951159053379e-07,
"ram": 5.03239214612942e-07,
"gpu": 1.7961125480005224e-06,
"total": 3.2462468785188025e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 880.37376,
"max_global_vram": 1229.45536,
"max_process_vram": 0.0,
"max_reserved": 589.299712,
"max_allocated": 449.025024
},
"latency": {
"unit": "s",
"count": 189,
"total": 1.002071231842041,
"mean": 0.0053019641896404285,
"stdev": 0.00020148741633011375,
"p50": 0.005242879867553711,
"p90": 0.005524070453643799,
"p95": 0.005575884819030761,
"p99": 0.006277898254394533,
"values": [
0.005561344146728516,
0.005751808166503906,
0.005526527881622314,
0.005493760108947754,
0.0054917120933532714,
0.005465087890625,
0.005516287803649903,
0.005384191989898681,
0.005350399971008301,
0.005282815933227539,
0.005306367874145508,
0.005303296089172363,
0.0052367358207702636,
0.005284863948822022,
0.005294079780578613,
0.0053043198585510255,
0.005185535907745361,
0.005091328144073487,
0.005127168178558349,
0.005257215976715088,
0.005173247814178467,
0.005295104026794434,
0.005391359806060791,
0.005291007995605469,
0.005306367874145508,
0.005389311790466309,
0.005281824111938477,
0.005149695873260498,
0.005224448204040527,
0.00530944013595581,
0.00537395191192627,
0.005355519771575928,
0.0053647360801696775,
0.00530841588973999,
0.005375999927520752,
0.005345280170440674,
0.00531763219833374,
0.0053043198585510255,
0.0052715520858764645,
0.005321728229522705,
0.005327871799468994,
0.005264383792877197,
0.005259263992309571,
0.0051701760292053225,
0.005173247814178467,
0.005154816150665284,
0.005198847770690918,
0.005294079780578613,
0.005115903854370117,
0.005203968048095703,
0.005279744148254394,
0.005210112094879151,
0.005212160110473632,
0.005322751998901368,
0.005384191989898681,
0.005347328186035156,
0.00535756778717041,
0.005319680213928223,
0.005279744148254394,
0.0052367358207702636,
0.005198847770690918,
0.005265408039093018,
0.0053012480735778805,
0.005408768177032471,
0.005626880168914795,
0.00531763219833374,
0.005341184139251709,
0.005302271842956543,
0.005249023914337158,
0.005114880084991455,
0.0052111358642578124,
0.005174272060394287,
0.005182464122772217,
0.005219327926635742,
0.005369855880737305,
0.005269504070281982,
0.005142528057098389,
0.005193727970123291,
0.005227519989013672,
0.005153791904449463,
0.005130239963531494,
0.0053678078651428224,
0.005221375942230225,
0.005529600143432617,
0.005532671928405761,
0.005576704025268555,
0.0055972480773925784,
0.005561344146728516,
0.005561344146728516,
0.005588992118835449,
0.005502975940704345,
0.005479423999786377,
0.00552345609664917,
0.00552243185043335,
0.005408768177032471,
0.005385216236114502,
0.005553152084350586,
0.005459968090057373,
0.005436416149139404,
0.005401599884033203,
0.005220352172851562,
0.005275648117065429,
0.005421055793762207,
0.005417984008789062,
0.005224448204040527,
0.0052705278396606445,
0.005179391860961914,
0.005222464084625244,
0.005234687805175781,
0.0053043198585510255,
0.006235136032104492,
0.006591487884521485,
0.0066304001808166506,
0.005574656009674072,
0.005530623912811279,
0.005720064163208007,
0.005518335819244385,
0.005252096176147461,
0.005172224044799805,
0.0052111358642578124,
0.005254144191741943,
0.005603328227996827,
0.0051968002319335935,
0.005173279762268067,
0.00517632007598877,
0.005219327926635742,
0.005172224044799805,
0.005192704200744629,
0.005320703983306885,
0.005342207908630371,
0.005222400188446045,
0.005313536167144775,
0.005165056228637695,
0.005164031982421875,
0.005175295829772949,
0.005260287761688232,
0.005167103767395019,
0.005169151782989502,
0.005192704200744629,
0.005150720119476319,
0.005165056228637695,
0.005291007995605469,
0.005235712051391602,
0.0051660799980163576,
0.005164031982421875,
0.005188608169555664,
0.005144576072692871,
0.005157887935638428,
0.005202943801879883,
0.005179391860961914,
0.005208064079284668,
0.005153791904449463,
0.0051773438453674315,
0.00516096019744873,
0.005155839920043945,
0.005242879867553711,
0.005156864166259765,
0.005169151782989502,
0.0052111358642578124,
0.005149695873260498,
0.005157887935638428,
0.00516096019744873,
0.005179391860961914,
0.005150720119476319,
0.0052111358642578124,
0.005238783836364746,
0.005190656185150146,
0.005165056228637695,
0.0051773438453674315,
0.00517632007598877,
0.00530841588973999,
0.005172224044799805,
0.005197824001312256,
0.005167103767395019,
0.005183487892150879,
0.005195775985717774,
0.005163008213043213,
0.005182464122772217,
0.005161983966827393,
0.005186560153961181,
0.005191679954528809,
0.00517632007598877,
0.0052295680046081545,
0.005183487892150879,
0.005244927883148193,
0.005185535907745361,
0.005172224044799805,
0.005178368091583252,
0.005173247814178467
]
},
"throughput": {
"unit": "samples/s",
"value": 188.60934631620336
},
"energy": {
"unit": "kWh",
"cpu": 6.103425199150021e-08,
"ram": 3.327881272511029e-08,
"gpu": 1.338448364205083e-07,
"total": 2.281579011371188e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 4382929.51949544
}
}
}
}