IlyasMoutawwakil's picture
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
660026b verified
raw
history blame
13.9 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.25696,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.10.220-209.869.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.1",
"transformers_commit": null,
"accelerate_version": "0.33.0",
"accelerate_commit": null,
"diffusers_version": "0.30.0",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.8",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 782.811136,
"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.39721240234375,
"mean": 7.39721240234375,
"stdev": 0.0,
"p50": 7.39721240234375,
"p90": 7.39721240234375,
"p95": 7.39721240234375,
"p99": 7.39721240234375,
"values": [
7.39721240234375
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 9.329833868056724e-07,
"ram": 4.953867972398368e-07,
"gpu": 0.0,
"total": 1.4283701840455092e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1038.393344,
"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.0031414403915404,
"mean": 0.005307626668738311,
"stdev": 0.0003760164411977159,
"p50": 0.0051773438453674315,
"p90": 0.0054796287536621096,
"p95": 0.006045491313934326,
"p99": 0.00667402242660523,
"values": [
0.006071296215057373,
0.006213632106781006,
0.006102015972137451,
0.006001664161682129,
0.0060067839622497555,
0.005964799880981446,
0.0059391999244689945,
0.0062576642036437985,
0.005479423999786377,
0.005224448204040527,
0.005182464122772217,
0.005222400188446045,
0.0051701760292053225,
0.0051773438453674315,
0.005183487892150879,
0.0051773438453674315,
0.005190656185150146,
0.005249023914337158,
0.005184512138366699,
0.005094399929046631,
0.005150720119476319,
0.0051773438453674315,
0.005155839920043945,
0.005154816150665284,
0.005158912181854248,
0.00516812801361084,
0.00516812801361084,
0.005178368091583252,
0.005182464122772217,
0.0051660799980163576,
0.005193727970123291,
0.005190656185150146,
0.005197887897491455,
0.005181439876556396,
0.005191679954528809,
0.005483520030975342,
0.005332992076873779,
0.005150784015655518,
0.005183487892150879,
0.0051404800415039064,
0.005152768135070801,
0.005135359764099121,
0.00517632007598877,
0.0051701760292053225,
0.005173247814178467,
0.005182464122772217,
0.00515993595123291,
0.00517632007598877,
0.005134335994720459,
0.005142528057098389,
0.005174272060394287,
0.005155839920043945,
0.00517632007598877,
0.005142528057098389,
0.005187583923339844,
0.0051333122253417966,
0.005190656185150146,
0.005169151782989502,
0.005195775985717774,
0.005156864166259765,
0.005173247814178467,
0.005153791904449463,
0.0051773438453674315,
0.005144576072692871,
0.005150720119476319,
0.005154816150665284,
0.00517632007598877,
0.005157887935638428,
0.005174272060394287,
0.005188608169555664,
0.0051363840103149415,
0.0051435518264770505,
0.005155839920043945,
0.005114880084991455,
0.005175295829772949,
0.005141503810882568,
0.005183487892150879,
0.005117951869964599,
0.005154816150665284,
0.0052111358642578124,
0.005480447769165039,
0.005436416149139404,
0.005477375984191894,
0.005388288021087646,
0.005385216236114502,
0.005495808124542236,
0.006150144100189209,
0.00571289587020874,
0.005337088108062744,
0.005318655967712403,
0.00530944013595581,
0.005276671886444092,
0.005765120029449463,
0.005321728229522705,
0.005275680065155029,
0.005134367942810058,
0.00515993595123291,
0.005117951869964599,
0.005144576072692871,
0.005145599842071533,
0.005127168178558349,
0.005174272060394287,
0.005157887935638428,
0.005180416107177735,
0.005179391860961914,
0.005146624088287354,
0.006516736030578613,
0.006307839870452881,
0.0061521921157836916,
0.008194047927856446,
0.007827455997467042,
0.005355519771575928,
0.005379072189331055,
0.005318655967712403,
0.0053647360801696775,
0.005356544017791748,
0.005275648117065429,
0.005119999885559082,
0.005198847770690918,
0.0051660799980163576,
0.005161983966827393,
0.005141503810882568,
0.005184512138366699,
0.00516812801361084,
0.00516812801361084,
0.005181439876556396,
0.005126143932342529,
0.0050800638198852536,
0.005278719902038574,
0.0053002238273620605,
0.0053975038528442385,
0.005341184139251709,
0.005311488151550293,
0.00538316822052002,
0.005393407821655274,
0.005315584182739258,
0.005344255924224854,
0.005331967830657959,
0.005322751998901368,
0.005349376201629639,
0.005395455837249756,
0.0053350400924682614,
0.00531660795211792,
0.0053606400489807126,
0.0053340158462524415,
0.005331967830657959,
0.005354496002197265,
0.005279744148254394,
0.00530841588973999,
0.005321728229522705,
0.005280767917633057,
0.005284863948822022,
0.00531763219833374,
0.0052930560111999515,
0.005260287761688232,
0.0053012480735778805,
0.0053043198585510255,
0.00530841588973999,
0.005146624088287354,
0.005156864166259765,
0.005154816150665284,
0.005138432025909424,
0.005138432025909424,
0.005092351913452148,
0.005145599842071533,
0.005123072147369385,
0.005157887935638428,
0.005124095916748047,
0.0051660799980163576,
0.005124095916748047,
0.005137407779693603,
0.005137407779693603,
0.005127168178558349,
0.005137407779693603,
0.0051333122253417966,
0.005135392189025879,
0.005161983966827393,
0.005123072147369385,
0.00515174388885498,
0.005126143932342529,
0.005161983966827393,
0.0051272640228271485,
0.005156864166259765,
0.005130239963531494,
0.00516096019744873,
0.005132287979125977,
0.005137407779693603,
0.005155839920043945,
0.005164031982421875
]
},
"throughput": {
"unit": "samples/s",
"value": 188.4081270994353
},
"energy": {
"unit": "kWh",
"cpu": 6.437394324426335e-08,
"ram": 3.5192189969669784e-08,
"gpu": 1.3139201332608578e-07,
"total": 2.3095814654001892e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 4329788.816636207
}
}
}
}