{ "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", "task": "fill-mask", "library": "transformers", "model_type": "bert", "model": "hf-internal-testing/tiny-random-BertModel", "processor": "hf-internal-testing/tiny-random-BertModel", "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.228-219.884.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.dev0", "optimum_benchmark_commit": null, "transformers_version": "4.47.0", "transformers_commit": null, "accelerate_version": "1.2.0", "accelerate_commit": null, "diffusers_version": "0.31.0", "diffusers_commit": null, "optimum_version": null, "optimum_commit": null, "timm_version": "1.0.12", "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": 799.051776, "max_global_vram": 639.107072, "max_process_vram": 0.0, "max_reserved": 2.097152, "max_allocated": 0.534528 }, "latency": { "unit": "s", "values": [ 0.056990753173828124 ], "count": 1, "total": 0.056990753173828124, "mean": 0.056990753173828124, "p50": 0.056990753173828124, "p90": 0.056990753173828124, "p95": 0.056990753173828124, "p99": 0.056990753173828124, "stdev": 0, "stdev_": 0 }, "throughput": null, "energy": { "unit": "kWh", "cpu": 9.548076089097134e-05, "ram": 5.2312318962859085e-05, "gpu": 0.0001282867692960002, "total": 0.0002760798491498306 }, "efficiency": null }, "forward": { "memory": { "unit": "MB", "max_ram": 1038.27456, "max_global_vram": 670.564352, "max_process_vram": 0.0, "max_reserved": 23.068672, "max_allocated": 10.112 }, "latency": { "unit": "s", "values": [ 0.002742271900177002, 0.002606080055236816, 0.0025968639850616456, 0.002535423994064331, 0.0026798079013824463, 0.002649087905883789, 0.002614272117614746, 0.002708479881286621, 0.0027289600372314453, 0.0027351040840148926, 0.0026901121139526365, 0.002687999963760376, 0.0026757121086120605, 0.002642944097518921, 0.0026951680183410643, 0.002672640085220337, 0.0026306560039520265, 0.002677759885787964, 0.0026675200462341307, 0.002717695951461792, 0.002763744115829468, 0.0026951680183410643, 0.002555903911590576, 0.0027985920906066896, 0.0027187199592590334, 0.002589695930480957, 0.0026183679103851318, 0.002615328073501587, 0.0026111679077148436, 0.002614272117614746, 0.002604032039642334, 0.002589695930480957, 0.0026562559604644776, 0.0026654400825500487, 0.002649087905883789, 0.0026655359268188475, 0.002569216012954712, 0.0025251839160919188, 0.0025252161026000975, 0.0025077760219573975, 0.0025180160999298097, 0.002519040107727051, 0.002514944076538086, 0.0025210878849029543, 0.002539520025253296, 0.002527231931686401, 0.002554879903793335, 0.002867199897766113, 0.002698240041732788, 0.002582560062408447, 0.002603008031845093, 0.0025088000297546387, 0.0025753600597381594, 0.002594815969467163, 0.0025764479637146, 0.0026265599727630616, 0.002573312044143677, 0.0025180160999298097, 0.0026204159259796142, 0.0025661439895629883, 0.002550784111022949, 0.002638848066329956, 0.0026705920696258544, 0.0026470398902893066, 0.002742271900177002, 0.002747391939163208, 0.0027085440158843995, 0.0027310080528259277, 0.0027330238819122314, 0.0026808319091796875, 0.0027351040840148926, 0.002761728048324585, 0.002708479881286621, 0.0026214399337768555, 0.0026050560474395754, 0.002624511957168579, 0.002585599899291992, 0.0025763840675354006, 0.0025118720531463624, 0.0027105278968811036, 0.002726912021636963, 0.0027504639625549315, 0.002783231973648071, 0.0028354558944702147, 0.0027934720516204835, 0.002707456111907959, 0.0026818559169769288, 0.002662400007247925, 0.002820096015930176, 0.002778111934661865, 0.0027494399547576902, 0.0027392001152038575, 0.0026798079013824463, 0.002632767915725708, 0.002594815969467163, 0.002590719938278198, 0.0026214399337768555, 0.002632704019546509, 0.0026408960819244384, 0.002678783893585205, 0.0025999360084533693, 0.002554879903793335, 0.002574336051940918, 0.00250163197517395, 0.0025241599082946775, 0.002525151968002319, 0.002519040107727051, 0.0025814080238342283, 0.0026552319526672364, 0.0026972160339355468, 0.002747391939163208, 0.0027095038890838623, 0.0025712640285491944, 0.002531327962875366, 0.002519040107727051, 0.002520064115524292, 0.0025374720096588135, 0.0025231359004974367, 0.0025128960609436036, 0.0025323519706726074, 0.0025231359004974367, 0.0025201280117034914, 0.002565119981765747, 0.0025118720531463624, 0.0025620479583740234, 0.002535423994064331, 0.0025119359493255616, 0.002550784111022949, 0.002530303955078125, 0.002500607967376709, 0.0025406079292297364, 0.002528223991394043, 0.0025077760219573975, 0.0025466880798339846, 0.002510848045349121, 0.002543616056442261, 0.002554879903793335, 0.002510848045349121, 0.002554879903793335, 0.0025425920486450196, 0.002515039920806885, 0.0026204159259796142, 0.002686975955963135, 0.002693120002746582, 0.002777087926864624, 0.0027484478950500486, 0.0026767680644989014, 0.002698240041732788, 0.0027289600372314453, 0.0026654720306396483, 0.002756608009338379, 0.002706432104110718, 0.002661375999450684, 0.0025753600597381594, 0.0025661439895629883, 0.002579456090927124, 0.002585599899291992, 0.0026214399337768555, 0.00256713604927063, 0.0026224639415740967, 0.0025466880798339846, 0.00248524808883667, 0.002530303955078125, 0.002540544033050537, 0.002669568061828613, 0.0026408960819244384, 0.002543616056442261, 0.0025067200660705566, 0.002527231931686401, 0.0025047039985656738, 0.0025128960609436036, 0.002776063919067383, 0.002539520025253296, 0.0024954879283905027, 0.00260915207862854, 0.0026296319961547853, 0.0024791040420532227, 0.0025538558959960936, 0.0025282559394836424, 0.0025579519271850585, 0.002653183937072754, 0.002520064115524292, 0.002520064115524292, 0.002489343881607056, 0.002778111934661865, 0.00264300799369812, 0.0026081280708312986, 0.002565119981765747, 0.002610176086425781, 0.0026080639362335207, 0.0026972479820251464, 0.0026224639415740967, 0.0026061439514160154, 0.002580480098724365, 0.0026173439025878906, 0.0025927679538726807, 0.0026009600162506105, 0.002627583980560303, 0.0026183679103851318, 0.002585599899291992, 0.002634752035140991, 0.002643968105316162, 0.002614272117614746, 0.0027095038890838623, 0.002711551904678345, 0.0027105278968811036, 0.0027402238845825196, 0.002750432014465332, 0.002604032039642334, 0.0026183679103851318, 0.002615295886993408, 0.0025999360084533693, 0.002624511957168579, 0.0026183679103851318, 0.0025702400207519532, 0.0026173439025878906, 0.002588639974594116, 0.0025722880363464357, 0.002661375999450684, 0.002614272117614746, 0.0025681920051574708, 0.002597887992858887, 0.0025783679485321047, 0.002590719938278198, 0.0026112000942230223, 0.002589695930480957, 0.002565119981765747, 0.002613248109817505, 0.0025425920486450196, 0.002615295886993408, 0.0026265919208526612, 0.002554879903793335, 0.0026204159259796142, 0.0026009600162506105, 0.0025384960174560547, 0.0025948801040649415, 0.0025958399772644043, 0.0025538558959960936, 0.002597887992858887, 0.0026050560474395754, 0.002559999942779541, 0.002585599899291992, 0.002623487949371338, 0.0025466880798339846, 0.0025886719226837157, 0.0025805439949035643, 0.0025784320831298826, 0.0025876479148864745, 0.0025692479610443116, 0.0025620479583740234, 0.0025886719226837157, 0.0025825281143188475, 0.0026112000942230223, 0.00259168004989624, 0.002548736095428467, 0.002566175937652588, 0.0026009600162506105, 0.0025528318881988523, 0.002606080055236816, 0.0026009600162506105, 0.002564095973968506, 0.0026112000942230223, 0.002573312044143677, 0.002550784111022949, 0.0025866239070892333, 0.0025722880363464357, 0.0025681920051574708, 0.002580480098724365, 0.0025753600597381594, 0.0025876479148864745, 0.0025917439460754394, 0.002627583980560303, 0.002565119981765747, 0.002582463979721069, 0.002577408075332642, 0.002565119981765747, 0.002584575891494751, 0.0025753600597381594, 0.00260915207862854, 0.002579456090927124, 0.002551775932312012, 0.0025968639850616456, 0.0025815041065216063, 0.0027494399547576902, 0.0026449921131134033, 0.0026081280708312986, 0.0025722880363464357, 0.002614272117614746, 0.0025702400207519532, 0.002554879903793335, 0.002584575891494751, 0.002554879903793335, 0.0025466880798339846, 0.002584575891494751, 0.0025784320831298826, 0.002585599899291992, 0.002593791961669922, 0.002580480098724365, 0.002559999942779541, 0.0026214399337768555, 0.0026562559604644776, 0.002574336051940918, 0.00260915207862854, 0.0025866239070892333, 0.0025579519271850585, 0.0025999360084533693, 0.002577408075332642, 0.002544640064239502, 0.002668544054031372, 0.0025425920486450196, 0.002574336051940918, 0.0025702400207519532, 0.0025528318881988523, 0.0025876479148864745, 0.0025753600597381594, 0.0025712640285491944, 0.002597887992858887, 0.0025784320831298826, 0.0025466880798339846, 0.002693120002746582, 0.0025784320831298826, 0.0025579519271850585, 0.0025784320831298826, 0.002573312044143677, 0.002555903911590576, 0.002605087995529175, 0.002580480098724365, 0.0025743041038513185, 0.002573312044143677, 0.002484224081039429, 0.0025088000297546387, 0.00248524808883667, 0.0024851839542388916, 0.002549760103225708, 0.0025118720531463624, 0.0024832000732421876, 0.00250163197517395, 0.002490367889404297, 0.0025139520168304444, 0.002495552062988281, 0.002497535943984985, 0.0024934399127960207, 0.0024883201122283937, 0.002466815948486328, 0.0024965760707855223, 0.0024913918972015382, 0.0024586238861083985, 0.002496511936187744, 0.002451456069946289, 0.0024924159049987795, 0.002484224081039429, 0.002461695909500122, 0.002484224081039429, 0.002470911979675293, 0.0024688639640808104, 0.0025067520141601562, 0.0024637439250946047, 0.002490367889404297, 0.0025661439895629883, 0.002604032039642334, 0.002610176086425781, 0.0025866239070892333, 0.0025538558959960936, 0.002598912000656128, 0.0025753600597381594, 0.002561023950576782, 0.0025866239070892333, 0.002569216012954712, 0.002552767992019653, 0.0025835518836975096, 0.0025712640285491944, 0.0025538558959960936, 0.0025876479148864745, 0.0025876479148864745, 0.0025825281143188475, 0.0025681920051574708, 0.002544640064239502, 0.0025835518836975096, 0.0025722880363464357, 0.0025456640720367433, 0.002584575891494751 ], "count": 381, "total": 0.98937596654892, "mean": 0.0025967873137766923, "p50": 0.002584575891494751, "p90": 0.0027085440158843995, "p95": 0.002747391939163208, "p99": 0.0027944960594177247, "stdev": 7.433605064545146e-05, "stdev_": 2.862616058353245 }, "throughput": { "unit": "samples/s", "value": 770.1824440490115 }, "energy": { "unit": "kWh", "cpu": 3.052398138067639e-08, "ram": 1.6679566767444807e-08, "gpu": 4.2633911541222486e-08, "total": 8.983745968934364e-08 }, "efficiency": { "unit": "samples/kWh", "value": 22262428.2444758 } } } }