{ "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.133696, "max_global_vram": 639.107072, "max_process_vram": 0.0, "max_reserved": 2.097152, "max_allocated": 0.534528 }, "latency": { "unit": "s", "values": [ 0.05699071884155273 ], "count": 1, "total": 0.05699071884155273, "mean": 0.05699071884155273, "p50": 0.05699071884155273, "p90": 0.05699071884155273, "p95": 0.05699071884155273, "p99": 0.05699071884155273, "stdev": 0, "stdev_": 0 }, "throughput": null, "energy": { "unit": "kWh", "cpu": 9.587553842083286e-05, "ram": 5.252692065127418e-05, "gpu": 0.0001260898230940003, "total": 0.00027449228216610736 }, "efficiency": null }, "forward": { "memory": { "unit": "MB", "max_ram": 1038.553088, "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.0026112000942230223, 0.0025825281143188475, 0.0025763840675354006, 0.0026592960357666017, 0.0026930561065673826, 0.0027248640060424803, 0.0027494399547576902, 0.0028160319328308105, 0.0026951680183410643, 0.002699264049530029, 0.0027105278968811036, 0.0026879680156707765, 0.002699264049530029, 0.002687999963760376, 0.002643968105316162, 0.0028784639835357667, 0.002861056089401245, 0.0028600320816040037, 0.0027740159034729006, 0.0027248640060424803, 0.002732032060623169, 0.002716671943664551, 0.0028743679523468017, 0.002795520067214966, 0.002737152099609375, 0.0028026559352874758, 0.002627583980560303, 0.002663487911224365, 0.00265120005607605, 0.0026900479793548586, 0.0027176640033721926, 0.0026521599292755127, 0.002624511957168579, 0.0025537919998168943, 0.002519040107727051, 0.0025118720531463624, 0.0025088000297546387, 0.0025210878849029543, 0.0025364480018615723, 0.00252620792388916, 0.0025333759784698486, 0.0025528318881988523, 0.0025549120903015136, 0.0025753600597381594, 0.0026112000942230223, 0.002544640064239502, 0.002540544033050537, 0.0025763840675354006, 0.00252620792388916, 0.0025712640285491944, 0.002574336051940918, 0.0025886719226837157, 0.002560960054397583, 0.0025221118927001955, 0.002555903911590576, 0.0025886719226837157, 0.002550784111022949, 0.002594815969467163, 0.0026951680183410643, 0.0026746881008148193, 0.0027545599937438964, 0.002778048038482666, 0.0027105278968811036, 0.0027135999202728273, 0.0027217919826507567, 0.0027351040840148926, 0.0027043519020080566, 0.002717695951461792, 0.002776063919067383, 0.0026521599292755127, 0.0026521599292755127, 0.0026521599292755127, 0.0025958399772644043, 0.002548736095428467, 0.002561023950576782, 0.0025180160999298097, 0.0025528318881988523, 0.0026378240585327147, 0.002669568061828613, 0.002716671943664551, 0.0027156479358673097, 0.002642944097518921, 0.0025958399772644043, 0.002610176086425781, 0.002589695930480957, 0.002613248109817505, 0.002657279968261719, 0.0026440000534057617, 0.0026173439025878906, 0.002603008031845093, 0.0025118720531463624, 0.002510848045349121, 0.002505728006362915, 0.00252620792388916, 0.0025558719635009764, 0.0025569279193878173, 0.0026009600162506105, 0.002613248109817505, 0.0025364480018615723, 0.0025528318881988523, 0.002555903911590576, 0.002510848045349121, 0.0025364480018615723, 0.002593791961669922, 0.002593791961669922, 0.0027135999202728273, 0.0027555840015411376, 0.002711551904678345, 0.0026603519916534426, 0.002559999942779541, 0.0025251839160919188, 0.002510848045349121, 0.0025538558959960936, 0.00251910400390625, 0.002543616056442261, 0.0025323519706726074, 0.0025047039985656738, 0.0025333759784698486, 0.0025630719661712646, 0.002549760103225708, 0.002706432104110718, 0.0025917439460754394, 0.0027309439182281493, 0.0025876479148864745, 0.0025354559421539307, 0.0025477120876312258, 0.002544640064239502, 0.0025210878849029543, 0.0025425920486450196, 0.0025579519271850585, 0.00253439998626709, 0.002579456090927124, 0.0025620479583740234, 0.00252620792388916, 0.0025385279655456543, 0.002544640064239502, 0.002535423994064331, 0.0026009600162506105, 0.0026573119163513185, 0.00276582407951355, 0.002761728048324585, 0.0027924480438232422, 0.0027299840450286865, 0.0026890239715576174, 0.0027197439670562746, 0.002707456111907959, 0.0027207679748535154, 0.0027607040405273437, 0.0026920959949493406, 0.0026255359649658204, 0.0026173439025878906, 0.0025528318881988523, 0.0025866239070892333, 0.002632704019546509, 0.0025999360084533693, 0.0026593279838562013, 0.0025917439460754394, 0.0024934399127960207, 0.0025159680843353273, 0.0025528318881988523, 0.002632704019546509, 0.002642944097518921, 0.002549760103225708, 0.002513920068740845, 0.0025241599082946775, 0.002489343881607056, 0.0025518081188201903, 0.0025927679538726807, 0.0025221118927001955, 0.002519007921218872, 0.0025118720531463624, 0.0024862399101257325, 0.002513920068740845, 0.0025364480018615723, 0.0025835518836975096, 0.0025681281089782715, 0.0025425920486450196, 0.0025292799472808837, 0.0025169920921325685, 0.0024791040420532227, 0.00250163197517395, 0.0025118720531463624, 0.002505728006362915, 0.0025128960609436036, 0.0025159680843353273, 0.0024965760707855223, 0.002497535943984985, 0.00252620792388916, 0.0025047039985656738, 0.002505728006362915, 0.00247705602645874, 0.002514944076538086, 0.0026705920696258544, 0.0026378240585327147, 0.0026890239715576174, 0.0026900479793548586, 0.0026316800117492677, 0.0026808319091796875, 0.002727936029434204, 0.0026849279403686525, 0.002766848087310791, 0.002736128091812134, 0.0027648000717163087, 0.0027586560249328613, 0.0027381761074066163, 0.0028056960105895994, 0.0026593279838562013, 0.00265830397605896, 0.0026664960384368895, 0.002623487949371338, 0.0026808319091796875, 0.0026603519916534426, 0.002590719938278198, 0.0026296319961547853, 0.00263372802734375, 0.0025968639850616456, 0.002616352081298828, 0.0026306560039520265, 0.0025927679538726807, 0.002628607988357544, 0.002628607988357544, 0.002584575891494751, 0.0026112000942230223, 0.002829312086105347, 0.002589695930480957, 0.002615295886993408, 0.002726912021636963, 0.0027135999202728273, 0.002632704019546509, 0.0026408960819244384, 0.0025825281143188475, 0.002627583980560303, 0.002634752035140991, 0.0025835518836975096, 0.002610176086425781, 0.0026296319961547853, 0.002579456090927124, 0.002613248109817505, 0.002632704019546509, 0.0025661439895629883, 0.0025958399772644043, 0.002610176086425781, 0.002639872074127197, 0.0025958399772644043, 0.0026255359649658204, 0.0025815041065216063, 0.0025958399772644043, 0.002653183937072754, 0.002606080055236816, 0.0025866239070892333, 0.0026050560474395754, 0.0025876479148864745, 0.0025999360084533693, 0.0025681920051574708, 0.0026019840240478517, 0.0025958399772644043, 0.0026019840240478517, 0.0025958399772644043, 0.0026009600162506105, 0.0025825281143188475, 0.0025999360084533693, 0.0026019840240478517, 0.0025784320831298826, 0.002594815969467163, 0.0026009600162506105, 0.0028651518821716307, 0.002632704019546509, 0.002615295886993408, 0.002579456090927124, 0.002598912000656128, 0.0026306560039520265, 0.0026163198947906493, 0.0026081280708312986, 0.0026050560474395754, 0.0025876479148864745, 0.002610176086425781, 0.002623487949371338, 0.002761728048324585, 0.0027197439670562746, 0.002632704019546509, 0.0027258880138397216, 0.0026368000507354735, 0.0026316800117492677, 0.002604032039642334, 0.00260915207862854, 0.0026255359649658204, 0.0025784320831298826, 0.0026071040630340574, 0.002614272117614746, 0.002580480098724365, 0.0026112000942230223, 0.00260915207862854, 0.0025927679538726807, 0.002593791961669922, 0.002645951986312866, 0.0025845119953155516, 0.0026050560474395754, 0.0026306560039520265, 0.002601952075958252, 0.0025968639850616456, 0.0026214399337768555, 0.0026050560474395754, 0.002604032039642334, 0.002613248109817505, 0.0025917439460754394, 0.0026122241020202636, 0.0026183679103851318, 0.0025825281143188475, 0.0026183679103851318, 0.002623487949371338, 0.0025958399772644043, 0.0025968639850616456, 0.0025927679538726807, 0.0026183679103851318, 0.002606080055236816, 0.002598912000656128, 0.0026050560474395754, 0.0025948479175567627, 0.002597887992858887, 0.002615295886993408, 0.002614272117614746, 0.0025825281143188475, 0.0026019840240478517, 0.0026296319961547853, 0.0027504639625549315, 0.0026214399337768555, 0.0026460158824920654, 0.0025784320831298826, 0.0030832641124725344, 0.002615295886993408, 0.002610176086425781, 0.0026019840240478517, 0.0026224639415740967, 0.0026050560474395754, 0.0026798079013824463, 0.0026296319961547853, 0.0026081280708312986, 0.002642944097518921, 0.002632704019546509, 0.002628607988357544, 0.0026143040657043456, 0.0026050560474395754, 0.002589695930480957, 0.0026009600162506105, 0.002611135959625244, 0.002589695930480957, 0.0026081280708312986, 0.002613248109817505, 0.0025815680027008055, 0.0026029760837554933, 0.0026163198947906493, 0.002593791961669922, 0.0026255359649658204, 0.0026112000942230223, 0.002614272117614746, 0.002623487949371338, 0.002662400007247925, 0.002610176086425781, 0.0026081280708312986, 0.002628607988357544, 0.002604032039642334, 0.0026051199436187746, 0.002621504068374634, 0.002597887992858887, 0.002627583980560303, 0.0026143360137939452, 0.0025876479148864745, 0.002597887992858887, 0.00263372802734375, 0.0025906879901885986, 0.0026050560474395754, 0.0026214399337768555, 0.0026378240585327147, 0.002613248109817505, 0.0026122241020202636, 0.0025835518836975096, 0.002598912000656128 ], "count": 378, "total": 0.989903681278228, "mean": 0.002618792807614362, "p50": 0.0026076160669326783, "p90": 0.0027248640060424803, "p95": 0.002761728048324585, "p99": 0.0028619981217384337, "stdev": 7.797901392303336e-05, "stdev_": 2.9776702340216747 }, "throughput": { "unit": "samples/s", "value": 763.7106662981624 }, "energy": { "unit": "kWh", "cpu": 3.1764600252524144e-08, "ram": 1.733890266464561e-08, "gpu": 4.30593036096261e-08, "total": 9.21628065267959e-08 }, "efficiency": { "unit": "samples/kWh", "value": 21700728.041723743 } } } }