IlyasMoutawwakil's picture
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
6bc5e17 verified
raw
history blame
14 kB
{
"config": {
"name": "cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased",
"backend": {
"name": "pytorch",
"version": "2.4.0+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.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.0",
"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": 757.6576,
"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.401890625,
"mean": 7.401890625,
"stdev": 0.0,
"p50": 7.401890625,
"p90": 7.401890625,
"p95": 7.401890625,
"p99": 7.401890625,
"values": [
7.401890625
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 9.42895685416466e-07,
"ram": 5.010209013378568e-07,
"gpu": 0.0,
"total": 1.4439165867543227e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 924.778496,
"max_global_vram": 1229.45536,
"max_process_vram": 0.0,
"max_reserved": 589.299712,
"max_allocated": 449.025024
},
"latency": {
"unit": "s",
"count": 192,
"total": 1.0005055990219116,
"mean": 0.005210966661572457,
"stdev": 0.0001749844260213135,
"p50": 0.005189120054244995,
"p90": 0.005266022205352783,
"p95": 0.005500108981132507,
"p99": 0.005882081441879273,
"values": [
0.00668668794631958,
0.0059361281394958495,
0.005635072231292724,
0.005627903938293457,
0.005628928184509278,
0.0055316481590271,
0.0053678078651428224,
0.005321728229522705,
0.005417984008789062,
0.005876736164093017,
0.005115903854370117,
0.004960256099700928,
0.004937727928161621,
0.004893695831298828,
0.0049428482055664065,
0.00491315221786499,
0.004978687763214112,
0.004940800189971924,
0.0050022401809692385,
0.004973567962646484,
0.0049909758567810054,
0.004894720077514648,
0.004957183837890625,
0.005105663776397705,
0.005238783836364746,
0.005232639789581299,
0.0051968002319335935,
0.005179391860961914,
0.005144576072692871,
0.005137407779693603,
0.00515993595123291,
0.005222400188446045,
0.005190656185150146,
0.005169151782989502,
0.005221375942230225,
0.0051660799980163576,
0.00520908784866333,
0.005232639789581299,
0.005238783836364746,
0.00520908784866333,
0.005222400188446045,
0.0052111358642578124,
0.0051773438453674315,
0.005139455795288086,
0.0052070398330688475,
0.005184576034545898,
0.0051968002319335935,
0.005222400188446045,
0.005145599842071533,
0.005144576072692871,
0.005190656185150146,
0.005224448204040527,
0.005254144191741943,
0.005396480083465576,
0.005250048160552978,
0.005184512138366699,
0.005639167785644531,
0.005855231761932373,
0.00547430419921875,
0.005279744148254394,
0.005259263992309571,
0.005216256141662597,
0.0052295680046081545,
0.005219327926635742,
0.005188608169555664,
0.005230591773986816,
0.00526643180847168,
0.00516918420791626,
0.0051968002319335935,
0.0052295680046081545,
0.005262335777282715,
0.005214208126068115,
0.00521830415725708,
0.005228544235229492,
0.005216256141662597,
0.005232639789581299,
0.005256192207336426,
0.0052008957862854,
0.005192704200744629,
0.005251071929931641,
0.005157887935638428,
0.005186560153961181,
0.00517632007598877,
0.005185535907745361,
0.0051968002319335935,
0.00515993595123291,
0.005214208126068115,
0.0052070398330688475,
0.005157887935638428,
0.005149695873260498,
0.00521727991104126,
0.005175295829772949,
0.005582848072052002,
0.005171199798583984,
0.0051968002319335935,
0.005150720119476319,
0.005257215976715088,
0.005197824001312256,
0.005235712051391602,
0.005204991817474365,
0.005192704200744629,
0.005189631938934326,
0.005259263992309571,
0.005185535907745361,
0.005182464122772217,
0.005179391860961914,
0.005223423957824707,
0.005186560153961181,
0.005154816150665284,
0.005222400188446045,
0.005171199798583984,
0.005210112094879151,
0.005198847770690918,
0.005179391860961914,
0.005183487892150879,
0.005171199798583984,
0.005193727970123291,
0.00515174388885498,
0.005167103767395019,
0.005186560153961181,
0.005152768135070801,
0.005152768135070801,
0.005214208126068115,
0.00520908784866333,
0.005174272060394287,
0.005157887935638428,
0.005191679954528809,
0.00510975980758667,
0.005155839920043945,
0.005187583923339844,
0.005198847770690918,
0.005122079849243164,
0.005279744148254394,
0.0052899842262268066,
0.005189631938934326,
0.005221375942230225,
0.0052336640357971195,
0.005204991817474365,
0.005221375942230225,
0.0052674560546875,
0.005146624088287354,
0.005131264209747314,
0.0051404800415039064,
0.005198847770690918,
0.005191679954528809,
0.005173247814178467,
0.0052336640357971195,
0.005169151782989502,
0.005157887935638428,
0.005135359764099121,
0.00515993595123291,
0.005172224044799805,
0.0051998720169067385,
0.00515993595123291,
0.0051701760292053225,
0.005127295970916748,
0.005156864166259765,
0.005208064079284668,
0.005145599842071533,
0.005129216194152832,
0.005102591991424561,
0.005057536125183106,
0.005088255882263183,
0.005114880084991455,
0.005179391860961914,
0.005190656185150146,
0.005121024131774903,
0.005129216194152832,
0.005173247814178467,
0.005214208126068115,
0.005220352172851562,
0.005167103767395019,
0.005219327926635742,
0.0051660799980163576,
0.005232639789581299,
0.005134335994720459,
0.00520195198059082,
0.005232639789581299,
0.005173247814178467,
0.00515993595123291,
0.005150720119476319,
0.005186560153961181,
0.005171199798583984,
0.005180416107177735,
0.005180416107177735,
0.00515993595123291,
0.0051660799980163576,
0.005195775985717774,
0.00517632007598877,
0.005183487892150879,
0.0051773438453674315,
0.005219327926635742
]
},
"throughput": {
"unit": "samples/s",
"value": 191.9029740440214
},
"energy": {
"unit": "kWh",
"cpu": 5.877052659859763e-08,
"ram": 3.2049808831203335e-08,
"gpu": 1.2708481013861554e-07,
"total": 2.179051455684165e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 4589152.759066106
}
}
}
}