IlyasMoutawwakil's picture
Upload cuda_inference_transformers_fill-mask_hf-internal-testing/tiny-random-BertModel/benchmark.json with huggingface_hub
29261c0 verified
raw
history blame
23.6 kB
{
"config": {
"name": "cuda_inference_transformers_fill-mask_hf-internal-testing/tiny-random-BertModel",
"backend": {
"name": "pytorch",
"version": "2.8.0",
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
"model": "hf-internal-testing/tiny-random-BertModel",
"processor": "hf-internal-testing/tiny-random-BertModel",
"task": "fill-mask",
"library": "transformers",
"model_type": "bert",
"device": "cuda",
"device_ids": "0",
"seed": 42,
"inter_op_num_threads": null,
"intra_op_num_threads": null,
"model_kwargs": {},
"processor_kwargs": {},
"no_weights": true,
"tp_plan": null,
"device_map": null,
"torch_dtype": null,
"eval_mode": true,
"to_bettertransformer": false,
"low_cpu_mem_usage": null,
"attn_implementation": null,
"cache_implementation": null,
"allow_tf32": false,
"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": 2,
"sequence_length": 16,
"num_choices": 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.248768,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.10.240-238.966.amzn2.x86_64-x86_64-with-glibc2.35",
"processor": "x86_64",
"python_version": "3.10.18",
"gpu": [
"NVIDIA A10G"
],
"gpu_count": 1,
"gpu_vram_mb": 24146608128,
"optimum_benchmark_version": "0.7.0.dev0",
"optimum_benchmark_commit": "fe61fe30cc2f94e5f815395660f6ba9a56da8fb3",
"transformers_version": "4.56.2",
"transformers_commit": "fe61fe30cc2f94e5f815395660f6ba9a56da8fb3",
"accelerate_version": "1.10.1",
"accelerate_commit": "fe61fe30cc2f94e5f815395660f6ba9a56da8fb3",
"diffusers_version": "0.35.1",
"diffusers_commit": "fe61fe30cc2f94e5f815395660f6ba9a56da8fb3",
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.19",
"timm_commit": "fe61fe30cc2f94e5f815395660f6ba9a56da8fb3",
"peft_version": "0.17.1",
"peft_commit": "fe61fe30cc2f94e5f815395660f6ba9a56da8fb3"
},
"print_report": true,
"log_report": true
},
"report": {
"load_model": {
"memory": {
"unit": "MB",
"max_ram": 1014.444032,
"max_global_vram": 466.944,
"max_process_vram": 0.0,
"max_reserved": 2.097152,
"max_allocated": 0.389632
},
"latency": {
"unit": "s",
"values": [
0.07393484497070313
],
"count": 1,
"total": 0.07393484497070313,
"mean": 0.07393484497070313,
"p50": 0.07393484497070313,
"p90": 0.07393484497070313,
"p95": 0.07393484497070313,
"p99": 0.07393484497070313,
"stdev": 0,
"stdev_": 0
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 0.0001229992086687498,
"ram": 5.788071813888899e-05,
"gpu": 0.0001838945915600004,
"total": 0.0003647745183676392
},
"efficiency": null
},
"first_forward": {
"memory": {
"unit": "MB",
"max_ram": 1176.989696,
"max_global_vram": 544.538624,
"max_process_vram": 0.0,
"max_reserved": 23.068672,
"max_allocated": 10.112
},
"latency": {
"unit": "s",
"values": [
0.10728345489501953
],
"count": 1,
"total": 0.10728345489501953,
"mean": 0.10728345489501953,
"p50": 0.10728345489501953,
"p90": 0.10728345489501953,
"p95": 0.10728345489501953,
"p99": 0.10728345489501953,
"stdev": 0,
"stdev_": 0
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 0.00012402751948472192,
"ram": 5.836473832777768e-05,
"gpu": 0.00018650903809599995,
"total": 0.00036890129590849956
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1182.12608,
"max_global_vram": 544.538624,
"max_process_vram": 0.0,
"max_reserved": 23.068672,
"max_allocated": 10.112
},
"latency": {
"unit": "s",
"values": [
0.0027740159034729006,
0.0026593279838562013,
0.0026081280708312986,
0.0026593279838562013,
0.002804735898971558,
0.003048448085784912,
0.0028066558837890627,
0.002770944118499756,
0.002845695972442627,
0.0028784639835357667,
0.002746367931365967,
0.0028559360504150392,
0.002895872116088867,
0.002676703929901123,
0.0025026559829711913,
0.00250163197517395,
0.0025026559829711913,
0.0025077760219573975,
0.002471935987472534,
0.002494463920593262,
0.002606080055236816,
0.0025057599544525146,
0.002540575981140137,
0.002489311933517456,
0.0024995839595794676,
0.002494463920593262,
0.00249238395690918,
0.0024913918972015382,
0.0026112000942230223,
0.0024780800342559814,
0.0024729599952697753,
0.0024698879718780516,
0.0025221118927001955,
0.0024811840057373047,
0.002464767932891846,
0.002569216012954712,
0.0025047039985656738,
0.002466815948486328,
0.002490367889404297,
0.0024832000732421876,
0.002687999963760376,
0.0024913918972015382,
0.0025128960609436036,
0.002604032039642334,
0.002480128049850464,
0.00247705602645874,
0.0024883201122283937,
0.0025047039985656738,
0.0024729599952697753,
0.0024913918972015382,
0.002460671901702881,
0.002634752035140991,
0.0024985599517822264,
0.002484224081039429,
0.002513920068740845,
0.0024924159049987795,
0.002494463920593262,
0.002470911979675293,
0.002494463920593262,
0.002573312044143677,
0.002490367889404297,
0.0025128960609436036,
0.002494463920593262,
0.0024812800884246827,
0.002467839956283569,
0.0024883201122283937,
0.0025241599082946775,
0.0026961920261383055,
0.0025415680408477784,
0.002613248109817505,
0.002589695930480957,
0.0028436479568481445,
0.0028282880783081056,
0.0027351040840148926,
0.0028743679523468017,
0.002706432104110718,
0.002676703929901123,
0.0028006720542907717,
0.0026705920696258544,
0.0027310080528259277,
0.002974720001220703,
0.0027924480438232422,
0.002841599941253662,
0.0026224639415740967,
0.0026716160774230956,
0.00265830397605896,
0.0026306560039520265,
0.0026808319091796875,
0.00263372802734375,
0.0027197439670562746,
0.0030955519676208495,
0.0026377599239349363,
0.0027013120651245117,
0.002623487949371338,
0.003245055913925171,
0.0026972160339355468,
0.0027432959079742433,
0.002648063898086548,
0.002746367931365967,
0.002662400007247925,
0.002694144010543823,
0.002638848066329956,
0.002613248109817505,
0.002724800109863281,
0.0026572480201721193,
0.002603008031845093,
0.0026255359649658204,
0.0026122241020202636,
0.0026593279838562013,
0.0026368000507354735,
0.002613248109817505,
0.002708479881286621,
0.002628607988357544,
0.0026204159259796142,
0.002613248109817505,
0.0026316800117492677,
0.0026019840240478517,
0.0026552319526672364,
0.002654207944869995,
0.0026839039325714112,
0.0026204159259796142,
0.0026296958923339845,
0.00262556791305542,
0.0026204159259796142,
0.002631648063659668,
0.0026183679103851318,
0.0027013120651245117,
0.002649087905883789,
0.0026224639415740967,
0.002614272117614746,
0.002632704019546509,
0.0026071040630340574,
0.003324928045272827,
0.002752511978149414,
0.0026214399337768555,
0.0026357760429382322,
0.0026501119136810303,
0.0026265599727630616,
0.0026357760429382322,
0.0026019840240478517,
0.002628607988357544,
0.002728895902633667,
0.002604032039642334,
0.00260915207862854,
0.0026112000942230223,
0.0026306560039520265,
0.002604032039642334,
0.0026368000507354735,
0.002717695951461792,
0.002615295886993408,
0.0026316800117492677,
0.002594815969467163,
0.00260915207862854,
0.002634752035140991,
0.00263372802734375,
0.0027381761074066163,
0.0027821440696716307,
0.0026449921131134033,
0.0026470398902893066,
0.002638848066329956,
0.0026112000942230223,
0.0026255359649658204,
0.002737152099609375,
0.0027217919826507567,
0.0027043840885162354,
0.0026368000507354735,
0.0026173439025878906,
0.0026408960819244384,
0.0026296319961547853,
0.002614272117614746,
0.00260915207862854,
0.0027494399547576902,
0.002613248109817505,
0.0026562559604644776,
0.002623584032058716,
0.0026112000942230223,
0.0026214399337768555,
0.0026173439025878906,
0.002704319953918457,
0.0026173439025878906,
0.002624511957168579,
0.0025753600597381594,
0.002604032039642334,
0.0026624319553375246,
0.002604032039642334,
0.0026019840240478517,
0.0027248640060424803,
0.0025865919589996337,
0.00260915207862854,
0.002624511957168579,
0.0025886719226837157,
0.0025968639850616456,
0.0026593279838562013,
0.002711616039276123,
0.0026050560474395754,
0.0026378560066223143,
0.002604032039642334,
0.002615295886993408,
0.002628544092178345,
0.002603008031845093,
0.00263372802734375,
0.0027381761074066163,
0.0026603519916534426,
0.0026183679103851318,
0.002634752035140991,
0.002606080055236816,
0.002623487949371338,
0.0026214399337768555,
0.0026173439025878906,
0.002703360080718994,
0.0026122241020202636,
0.002638848066329956,
0.0026470398902893066,
0.0026511359214782715,
0.0026040000915527346,
0.002614272117614746,
0.0027340800762176514,
0.002615295886993408,
0.0026183679103851318,
0.0026449921131134033,
0.0026562559604644776,
0.0026203839778900146,
0.0026419200897216796,
0.0026296319961547853,
0.0027504639625549315,
0.002632704019546509,
0.0026163198947906493,
0.002610176086425781,
0.0026265599727630616,
0.0026162879467010497,
0.0026520960330963135,
0.0027310080528259277,
0.002610176086425781,
0.0026122241020202636,
0.0026245760917663575,
0.0025958399772644043,
0.0025999360084533693,
0.0026204159259796142,
0.0025999360084533693,
0.002732032060623169,
0.002638848066329956,
0.002619391918182373,
0.0026153600215911865,
0.0026408960819244384,
0.002613248109817505,
0.0026286399364471437,
0.0027453439235687258,
0.002634752035140991,
0.0026327359676361086,
0.0026552319526672364,
0.0026040959358215334,
0.002615295886993408,
0.002624511957168579,
0.0026019840240478517,
0.002753535985946655,
0.0026705920696258544,
0.0025917439460754394,
0.0026163198947906493,
0.0026746881008148193,
0.0026132800579071044,
0.002613215923309326,
0.0027340800762176514,
0.00260915207862854,
0.002618272066116333,
0.002627583980560303,
0.002737152099609375,
0.0028149759769439697,
0.0027156479358673097,
0.0029624319076538086,
0.0028231680393218995,
0.002673664093017578,
0.0026306560039520265,
0.002668544054031372,
0.0026224639415740967,
0.0026183679103851318,
0.002669568061828613,
0.0027566399574279784,
0.0028180480003356934,
0.002642944097518921,
0.0026286718845367433,
0.0026511359214782715,
0.002610176086425781,
0.0026224639415740967,
0.0027494399547576902,
0.0026112000942230223,
0.0026296319961547853,
0.0026808319091796875,
0.0026112000942230223,
0.002623487949371338,
0.0026501119136810303,
0.002619391918182373,
0.002712575912475586,
0.002632704019546509,
0.002623487949371338,
0.0026122241020202636,
0.0026521599292755127,
0.0026122241020202636,
0.0026224639415740967,
0.002737152099609375,
0.0026071040630340574,
0.002619391918182373,
0.002632704019546509,
0.0025999360084533693,
0.002619391918182373,
0.002624511957168579,
0.0026470398902893066,
0.0027095038890838623,
0.0026357760429382322,
0.002619391918182373,
0.0026224639415740967,
0.002627583980560303,
0.0026255359649658204,
0.0026163198947906493,
0.00273305606842041,
0.0026798079013824463,
0.002627583980560303,
0.0026562559604644776,
0.0026183040142059326,
0.0028579840660095217,
0.0028958079814910887,
0.00268287992477417,
0.002804735898971558,
0.002678783893585205,
0.002712575912475586,
0.0027310080528259277,
0.002698240041732788,
0.0026654720306396483,
0.002711551904678345,
0.0028139519691467284,
0.002694144010543823,
0.0026746881008148193,
0.002712575912475586,
0.00268287992477417,
0.0027013120651245117,
0.0026859519481658937,
0.0028815360069274903,
0.0025518081188201903,
0.002555903911590576,
0.002554879903793335,
0.0024985599517822264,
0.0025456640720367433,
0.002519040107727051,
0.002615295886993408,
0.002593791961669922,
0.00250163197517395,
0.0025630719661712646,
0.0025282559394836424,
0.002496511936187744,
0.0024985599517822264,
0.0030382080078125,
0.0027494399547576902,
0.002554879903793335,
0.0025221118927001955,
0.00250982403755188,
0.0025232000350952147,
0.0025170559883117677,
0.0025047039985656738,
0.0025169920921325685,
0.0025272960662841796,
0.0024985599517822264,
0.002510848045349121,
0.002490367889404297,
0.002513920068740845,
0.0025067520141601562,
0.0024985599517822264,
0.00250163197517395,
0.0025026559829711913,
0.002544640064239502,
0.002520064115524292,
0.002505728006362915,
0.002489343881607056,
0.002500607967376709,
0.002490367889404297,
0.0025292799472808837,
0.0024924159049987795,
0.0024913918972015382
],
"count": 376,
"total": 0.9905756142139432,
"mean": 0.0026345096122711263,
"p50": 0.002623487949371338,
"p90": 0.002746367931365967,
"p95": 0.002819328010082245,
"p99": 0.003040768027305603,
"stdev": 0.00011016785054765247,
"stdev_": 4.18172133570924
},
"throughput": {
"unit": "samples/s",
"value": 759.154565496485
},
"energy": {
"unit": "kWh",
"cpu": 3.079378333695019e-08,
"ram": 1.4488037442129398e-08,
"gpu": 4.812214497916615e-08,
"total": 9.34039657582458e-08
},
"efficiency": {
"unit": "samples/kWh",
"value": 21412367.063477043
}
}
}
}