cuda
/
cuda_inference_transformers_fill-mask_hf-internal-testing
/tiny-random-BertModel
/benchmark.json

IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_fill-mask_hf-internal-testing/tiny-random-BertModel/benchmark.json with huggingface_hub
7017223
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_fill-mask_hf-internal-testing/tiny-random-BertModel", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.5.1+cu124", | |
"_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, | |
"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": 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.230-223.885.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.5.0", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.47.1", | |
"transformers_commit": null, | |
"accelerate_version": "1.3.0", | |
"accelerate_commit": null, | |
"diffusers_version": "0.32.2", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.14", | |
"timm_commit": null, | |
"peft_version": "0.14.0", | |
"peft_commit": null | |
}, | |
"print_report": true, | |
"log_report": true | |
}, | |
"report": { | |
"load_model": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 812.548096, | |
"max_global_vram": 639.107072, | |
"max_process_vram": 0.0, | |
"max_reserved": 2.097152, | |
"max_allocated": 0.534528 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.05453516769409179 | |
], | |
"count": 1, | |
"total": 0.05453516769409179, | |
"mean": 0.05453516769409179, | |
"p50": 0.05453516769409179, | |
"p90": 0.05453516769409179, | |
"p95": 0.05453516769409179, | |
"p99": 0.05453516769409179, | |
"stdev": 0, | |
"stdev_": 0 | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 9.651293028194446e-05, | |
"ram": 5.289562312587165e-05, | |
"gpu": 0.0001305287155340001, | |
"total": 0.0002799372689418162 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1050.710016, | |
"max_global_vram": 670.564352, | |
"max_process_vram": 0.0, | |
"max_reserved": 23.068672, | |
"max_allocated": 10.112 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.002708479881286621, | |
0.002559999942779541, | |
0.002530303955078125, | |
0.002548736095428467, | |
0.002531327962875366, | |
0.0025180160999298097, | |
0.002540544033050537, | |
0.002520064115524292, | |
0.0025159680843353273, | |
0.0025292799472808837, | |
0.0025036799907684325, | |
0.002520064115524292, | |
0.0025159680843353273, | |
0.0024954879283905027, | |
0.0025354559421539307, | |
0.0025221118927001955, | |
0.0028334081172943113, | |
0.0026664960384368895, | |
0.002627583980560303, | |
0.0026081280708312986, | |
0.002643968105316162, | |
0.002632704019546509, | |
0.0026071040630340574, | |
0.0026368000507354735, | |
0.0026306560039520265, | |
0.00260915207862854, | |
0.002732032060623169, | |
0.0026255359649658204, | |
0.0026122241020202636, | |
0.002632704019546509, | |
0.0026214399337768555, | |
0.0026204159259796142, | |
0.002639872074127197, | |
0.002649087905883789, | |
0.0028231680393218995, | |
0.0028866560459136965, | |
0.0028016641139984133, | |
0.00291430401802063, | |
0.00288044810295105, | |
0.002879487991333008, | |
0.002894848108291626, | |
0.002854912042617798, | |
0.002762752056121826, | |
0.002919487953186035, | |
0.002899967908859253, | |
0.0028221440315246583, | |
0.002836479902267456, | |
0.0027555840015411376, | |
0.0026204159259796142, | |
0.0026746881008148193, | |
0.0026388161182403563, | |
0.002603008031845093, | |
0.0027156479358673097, | |
0.0026408960819244384, | |
0.0026142079830169676, | |
0.0026511359214782715, | |
0.0026654720306396483, | |
0.0026071040630340574, | |
0.0026593279838562013, | |
0.002657279968261719, | |
0.002610176086425781, | |
0.0026511359214782715, | |
0.002643968105316162, | |
0.0025999999046325685, | |
0.002639872074127197, | |
0.002657279968261719, | |
0.0026050560474395754, | |
0.002649087905883789, | |
0.002653183937072754, | |
0.0026050560474395754, | |
0.002649087905883789, | |
0.002655168056488037, | |
0.002606080055236816, | |
0.0026419200897216796, | |
0.0026378240585327147, | |
0.0026101119518280027, | |
0.0026214399337768555, | |
0.002617408037185669, | |
0.0026050560474395754, | |
0.0026224000453948975, | |
0.002619391918182373, | |
0.00260915207862854, | |
0.002614272117614746, | |
0.0026122241020202636, | |
0.002598912000656128, | |
0.0026163198947906493, | |
0.002613248109817505, | |
0.0026163198947906493, | |
0.002672640085220337, | |
0.002615295886993408, | |
0.0026163198947906493, | |
0.002628607988357544, | |
0.0026214399337768555, | |
0.002604032039642334, | |
0.002628607988357544, | |
0.0026081280708312986, | |
0.002603008031845093, | |
0.002628607988357544, | |
0.002604032039642334, | |
0.002603008031845093, | |
0.002625472068786621, | |
0.0028241920471191407, | |
0.0026029760837554933, | |
0.0026194241046905518, | |
0.0026081280708312986, | |
0.002596927881240845, | |
0.0026173760890960693, | |
0.002614272117614746, | |
0.002606080055236816, | |
0.002615231990814209, | |
0.002825216054916382, | |
0.0026214399337768555, | |
0.0026378240585327147, | |
0.0028221440315246583, | |
0.0026183679103851318, | |
0.0026470398902893066, | |
0.002673664093017578, | |
0.00260915207862854, | |
0.0026746881008148193, | |
0.0026214399337768555, | |
0.002610176086425781, | |
0.0026163198947906493, | |
0.002614272117614746, | |
0.002604991912841797, | |
0.0026951680183410643, | |
0.002627583980560303, | |
0.002598912000656128, | |
0.0026255359649658204, | |
0.0026183679103851318, | |
0.0025927679538726807, | |
0.0026122241020202636, | |
0.0026951680183410643, | |
0.0026112000942230223, | |
0.0030443520545959473, | |
0.002654207944869995, | |
0.0026368000507354735, | |
0.002638848066329956, | |
0.002628607988357544, | |
0.002631648063659668, | |
0.0026316800117492677, | |
0.002623487949371338, | |
0.0026019840240478517, | |
0.0026173439025878906, | |
0.0026122241020202636, | |
0.0025927679538726807, | |
0.0026080958843231203, | |
0.0026214399337768555, | |
0.0025886719226837157, | |
0.0026204159259796142, | |
0.0026019840240478517, | |
0.0025999360084533693, | |
0.002619391918182373, | |
0.002606080055236816, | |
0.0026173439025878906, | |
0.0026173439025878906, | |
0.0026173439025878906, | |
0.002593791961669922, | |
0.0026173439025878906, | |
0.002603008031845093, | |
0.0025968639850616456, | |
0.002623487949371338, | |
0.002610176086425781, | |
0.002632704019546509, | |
0.0030740480422973633, | |
0.002628607988357544, | |
0.00260915207862854, | |
0.0026204159259796142, | |
0.002614272117614746, | |
0.002598912000656128, | |
0.00263372802734375, | |
0.0026214399337768555, | |
0.0025999360084533693, | |
0.002653183937072754, | |
0.002606080055236816, | |
0.0026019840240478517, | |
0.0026511359214782715, | |
0.0026593279838562013, | |
0.002604032039642334, | |
0.0027095038890838623, | |
0.0026163198947906493, | |
0.0025886719226837157, | |
0.0026204159259796142, | |
0.002623487949371338, | |
0.0025917439460754394, | |
0.0026521599292755127, | |
0.0026163198947906493, | |
0.0025999360084533693, | |
0.002619391918182373, | |
0.0026122241020202636, | |
0.0025999360084533693, | |
0.0026112000942230223, | |
0.002604032039642334, | |
0.0026009600162506105, | |
0.0026071040630340574, | |
0.002628607988357544, | |
0.0025968639850616456, | |
0.002613248109817505, | |
0.0026163198947906493, | |
0.0025968639850616456, | |
0.002612287998199463, | |
0.0026122241020202636, | |
0.0026050560474395754, | |
0.002603967905044556, | |
0.0026255359649658204, | |
0.002606080055236816, | |
0.002615295886993408, | |
0.0026071040630340574, | |
0.00263372802734375, | |
0.0026071040630340574, | |
0.0025958399772644043, | |
0.00263372802734375, | |
0.00261625599861145, | |
0.0025886719226837157, | |
0.0026521599292755127, | |
0.002673664093017578, | |
0.002604032039642334, | |
0.0026193280220031738, | |
0.0026183679103851318, | |
0.0026019840240478517, | |
0.0026183679103851318, | |
0.0026112000942230223, | |
0.002589695930480957, | |
0.0026152639389038085, | |
0.002610176086425781, | |
0.0025968639850616456, | |
0.0026163198947906493, | |
0.002513920068740845, | |
0.0024995839595794676, | |
0.0025221118927001955, | |
0.002519040107727051, | |
0.002502592086791992, | |
0.002510848045349121, | |
0.0027596800327301025, | |
0.0026112000942230223, | |
0.0026316800117492677, | |
0.002643968105316162, | |
0.002614272117614746, | |
0.002642944097518921, | |
0.0027146239280700685, | |
0.0026173439025878906, | |
0.0026163198947906493, | |
0.0026316800117492677, | |
0.0026511359214782715, | |
0.0026603519916534426, | |
0.0029889919757843018, | |
0.002684959888458252, | |
0.0027299840450286865, | |
0.0027586560249328613, | |
0.002643968105316162, | |
0.0026961920261383055, | |
0.0026705920696258544, | |
0.002627583980560303, | |
0.002899967908859253, | |
0.002850816011428833, | |
0.0027135999202728273, | |
0.0026009600162506105, | |
0.0026378240585327147, | |
0.0026603519916534426, | |
0.0026163198947906493, | |
0.002638848066329956, | |
0.002648063898086548, | |
0.002623487949371338, | |
0.002648063898086548, | |
0.0026378240585327147, | |
0.002643968105316162, | |
0.002642944097518921, | |
0.0026408960819244384, | |
0.0026080639362335207, | |
0.002661375999450684, | |
0.002613248109817505, | |
0.002603008031845093, | |
0.0026183679103851318, | |
0.002654207944869995, | |
0.002597887992858887, | |
0.002615295886993408, | |
0.0025917439460754394, | |
0.0026552319526672364, | |
0.0026009600162506105, | |
0.002605087995529175, | |
0.0026305921077728273, | |
0.0026378240585327147, | |
0.0025927679538726807, | |
0.0026378240585327147, | |
0.002598912000656128, | |
0.0026081280708312986, | |
0.002613248109817505, | |
0.002615295886993408, | |
0.002614272117614746, | |
0.0026183679103851318, | |
0.002639872074127197, | |
0.0025958399772644043, | |
0.002649087905883789, | |
0.002613248109817505, | |
0.002597887992858887, | |
0.002628607988357544, | |
0.003235840082168579, | |
0.002883584022521973, | |
0.002613248109817505, | |
0.0026357760429382322, | |
0.0026265599727630616, | |
0.0026204159259796142, | |
0.0026316800117492677, | |
0.0026521599292755127, | |
0.002600928068161011, | |
0.0026265599727630616, | |
0.002657279968261719, | |
0.0026009600162506105, | |
0.0026296319961547853, | |
0.0026593279838562013, | |
0.0026009600162506105, | |
0.0026511359214782715, | |
0.0026808319091796875, | |
0.002598912000656128, | |
0.0026654720306396483, | |
0.00263372802734375, | |
0.002604032039642334, | |
0.0026121280193328856, | |
0.002634752035140991, | |
0.002613248109817505, | |
0.0026173439025878906, | |
0.0026286399364471437, | |
0.0026009600162506105, | |
0.002610176086425781, | |
0.0026050560474395754, | |
0.0026081280708312986, | |
0.0026071040630340574, | |
0.0025917439460754394, | |
0.002664448022842407, | |
0.002615295886993408, | |
0.002606080055236816, | |
0.0026204159259796142, | |
0.002613248109817505, | |
0.002597887992858887, | |
0.002627583980560303, | |
0.0026163198947906493, | |
0.0026050560474395754, | |
0.0026214399337768555, | |
0.002598912000656128, | |
0.0026163198947906493, | |
0.0026398079395294188, | |
0.0026183679103851318, | |
0.0025866239070892333, | |
0.002614272117614746, | |
0.002610176086425781, | |
0.002606080055236816, | |
0.0026357760429382322, | |
0.0026183679103851318, | |
0.002598912000656128, | |
0.0026163198947906493, | |
0.002593791961669922, | |
0.002606080055236816, | |
0.0026255359649658204, | |
0.0026214399337768555, | |
0.002590719938278198, | |
0.0026163198947906493, | |
0.0026122241020202636, | |
0.0026071040630340574, | |
0.002618335962295532, | |
0.002531327962875366, | |
0.0024964799880981443, | |
0.0025128960609436036, | |
0.002494463920593262, | |
0.002549760103225708, | |
0.0026102080345153807, | |
0.0025927679538726807, | |
0.002728895902633667, | |
0.0026071040630340574, | |
0.0025968639850616456, | |
0.002624511957168579, | |
0.002603008031845093, | |
0.00260915207862854, | |
0.00261843204498291, | |
0.0026204159259796142, | |
0.0025958399772644043, | |
0.002627583980560303, | |
0.0026040959358215334 | |
], | |
"count": 376, | |
"total": 0.9908103690147405, | |
"mean": 0.002635133960145585, | |
"p50": 0.0026173439025878906, | |
"p90": 0.002690063953399658, | |
"p95": 0.0028234240412712097, | |
"p99": 0.0029368639588356017, | |
"stdev": 8.15579723676545e-05, | |
"stdev_": 3.095021869899495 | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 758.9746973962207 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 3.075664625651075e-08, | |
"ram": 1.6853137905370604e-08, | |
"gpu": 4.370952570833338e-08, | |
"total": 9.131930987021475e-08 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 21901172.959393244 | |
} | |
} | |
} | |
} |