{ "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.494144, "max_global_vram": 639.107072, "max_process_vram": 0.0, "max_reserved": 2.097152, "max_allocated": 0.534528 }, "latency": { "unit": "s", "values": [ 0.059480064392089846 ], "count": 1, "total": 0.059480064392089846, "mean": 0.059480064392089846, "p50": 0.059480064392089846, "p90": 0.059480064392089846, "p95": 0.059480064392089846, "p99": 0.059480064392089846, "stdev": 0, "stdev_": 0 }, "throughput": null, "energy": { "unit": "kWh", "cpu": 9.608629404374969e-05, "ram": 5.264272060658712e-05, "gpu": 0.0001416717800040001, "total": 0.0002904007946543369 }, "efficiency": null }, "forward": { "memory": { "unit": "MB", "max_ram": 1038.78656, "max_global_vram": 670.564352, "max_process_vram": 0.0, "max_reserved": 23.068672, "max_allocated": 10.112 }, "latency": { "unit": "s", "values": [ 0.0027637760639190674, 0.0026112000942230223, 0.0026592960357666017, 0.0026910719871521, 0.0027934720516204835, 0.002815999984741211, 0.002771967887878418, 0.002845695972442627, 0.0027811839580535887, 0.0027514879703521727, 0.0026971518993377684, 0.0027217919826507567, 0.0027156479358673097, 0.0026705598831176756, 0.0027013120651245117, 0.0027135999202728273, 0.0026808319091796875, 0.0027187199592590334, 0.0026798079013824463, 0.002570175886154175, 0.0025917439460754394, 0.0026224639415740967, 0.002603008031845093, 0.0027381761074066163, 0.0026839039325714112, 0.0026357760429382322, 0.0026501119136810303, 0.0026562559604644776, 0.002670624017715454, 0.0027258880138397216, 0.0026818559169769288, 0.0026839039325714112, 0.002684895992279053, 0.002590719938278198, 0.002527231931686401, 0.0025682880878448488, 0.002543616056442261, 0.002531327962875366, 0.002550784111022949, 0.0025518081188201903, 0.0025221118927001955, 0.0025620479583740234, 0.0026163198947906493, 0.002574336051940918, 0.002594815969467163, 0.002593791961669922, 0.0025456640720367433, 0.0025702400207519532, 0.002580480098724365, 0.0025569279193878173, 0.002613248109817505, 0.002577408075332642, 0.0026449921131134033, 0.0025763840675354006, 0.0025425920486450196, 0.0026224639415740967, 0.002593791961669922, 0.0025784320831298826, 0.002703360080718994, 0.0027095038890838623, 0.002717632055282593, 0.002799616098403931, 0.0027893760204315186, 0.0027678720951080323, 0.0027197439670562746, 0.002753535985946655, 0.002761728048324585, 0.002722815990447998, 0.0027494399547576902, 0.002726912021636963, 0.00262556791305542, 0.0026593279838562013, 0.002975744009017944, 0.002841599941253662, 0.002716671943664551, 0.0027392001152038575, 0.0027586560249328613, 0.0027985920906066896, 0.002925568103790283, 0.002933759927749634, 0.0029102399349212648, 0.0028139519691467284, 0.002791424036026001, 0.0027791359424591063, 0.002771967887878418, 0.002854912042617798, 0.0028570239543914797, 0.002876415967941284, 0.00276582407951355, 0.0027259840965270996, 0.0027156479358673097, 0.002677759885787964, 0.0027504639625549315, 0.002766848087310791, 0.0027504639625549315, 0.0028139519691467284, 0.002795520067214966, 0.0027555840015411376, 0.0027095680236816407, 0.002711551904678345, 0.0027340800762176514, 0.0026961920261383055, 0.002762752056121826, 0.002877471923828125, 0.0029081599712371827, 0.002944000005722046, 0.0028723199367523193, 0.0027545599937438964, 0.0026798079013824463, 0.002702336072921753, 0.0027156479358673097, 0.00268287992477417, 0.002742271900177002, 0.0027167038917541506, 0.002698240041732788, 0.0027443199157714845, 0.0027341439723968506, 0.0027156479358673097, 0.0027340800762176514, 0.002707456111907959, 0.0027381761074066163, 0.0026951680183410643, 0.002712575912475586, 0.0027002880573272704, 0.0026839039325714112, 0.0027095038890838623, 0.0026961920261383055, 0.00268393611907959, 0.0027013120651245117, 0.002723839998245239, 0.0026838719844818116, 0.002776063919067383, 0.0027596800327301025, 0.0027596800327301025, 0.002870271921157837, 0.002929663896560669, 0.002954240083694458, 0.0029235200881958007, 0.0029532160758972167, 0.0029020159244537353, 0.002883584022521973, 0.0028600320816040037, 0.0029194240570068358, 0.002909183979034424, 0.002884608030319214, 0.00275763201713562, 0.0027443199157714845, 0.0027985920906066896, 0.0027883520126342773, 0.0028282880783081056, 0.002821120023727417, 0.0027729918956756593, 0.0026900479793548586, 0.002707456111907959, 0.0027105278968811036, 0.002803744077682495, 0.0028426239490509033, 0.0027207679748535154, 0.0026839039325714112, 0.002703360080718994, 0.002669568061828613, 0.002664383888244629, 0.0027207679748535154, 0.0027054080963134766, 0.0026419200897216796, 0.0026767361164093018, 0.002657279968261719, 0.00265830397605896, 0.002748415946960449, 0.002752511978149414, 0.0027842559814453124, 0.0027197439670562746, 0.0026798079013824463, 0.0026767361164093018, 0.0026347200870513914, 0.0026470720767974854, 0.0026808319091796875, 0.0026265599727630616, 0.0026603519916534426, 0.0026654720306396483, 0.002648063898086548, 0.002664448022842407, 0.0026767361164093018, 0.002771967887878418, 0.0027135999202728273, 0.0027453439235687258, 0.002716671943664551, 0.0027924480438232422, 0.0027811839580535887, 0.002787328004837036, 0.002771967887878418, 0.002791424036026001, 0.002821120023727417, 0.0027893760204315186, 0.002787328004837036, 0.0028876800537109377, 0.0028569600582122805, 0.002841599941253662, 0.00276582407951355, 0.0027310080528259277, 0.002663424015045166, 0.0026798079013824463, 0.0026910719871521, 0.002668544054031372, 0.0026859519481658937, 0.0027013120651245117, 0.002655263900756836, 0.0027105278968811036, 0.002696160078048706, 0.0026603519916534426, 0.002686975955963135, 0.0026767361164093018, 0.002652127981185913, 0.0026900479793548586, 0.002686975955963135, 0.00265830397605896, 0.0026951680183410643, 0.002699264049530029, 0.0026859519481658937, 0.0026664960384368895, 0.0026972160339355468, 0.002693120002746582, 0.002657279968261719, 0.0026859519481658937, 0.002702336072921753, 0.002648063898086548, 0.0026972160339355468, 0.002702336072921753, 0.002649087905883789, 0.0026972160339355468, 0.002694144010543823, 0.0026377599239349363, 0.0026798079013824463, 0.002678783893585205, 0.0026316800117492677, 0.002662400007247925, 0.0026972160339355468, 0.0026449921131134033, 0.002672640085220337, 0.0026613121032714846, 0.002648063898086548, 0.0026511359214782715, 0.002677759885787964, 0.0026562559604644776, 0.0026675200462341307, 0.0026705920696258544, 0.0026541759967803956, 0.0026675200462341307, 0.0026920959949493406, 0.0026357760429382322, 0.0026798079013824463, 0.002668544054031372, 0.002649087905883789, 0.002668544054031372, 0.002668607950210571, 0.002638848066329956, 0.002664448022842407, 0.002673664093017578, 0.0026449921131134033, 0.0026664960384368895, 0.0026603519916534426, 0.0026419200897216796, 0.002663424015045166, 0.002673664093017578, 0.0026808319091796875, 0.0026501119136810303, 0.002669568061828613, 0.0026818559169769288, 0.0026449921131134033, 0.0026675519943237303, 0.0026757121086120605, 0.0026521599292755127, 0.0026593279838562013, 0.0026746881008148193, 0.002639872074127197, 0.002653183937072754, 0.002677759885787964, 0.002637887954711914, 0.002669568061828613, 0.0026869120597839357, 0.0026552319526672364, 0.002664448022842407, 0.0026767361164093018, 0.002649087905883789, 0.0026562559604644776, 0.002663424015045166, 0.002639872074127197, 0.0026654720306396483, 0.0026716160774230956, 0.0026408960819244384, 0.002664448022842407, 0.002672640085220337, 0.002649087905883789, 0.0026561920642852784, 0.0026798079013824463, 0.002643968105316162, 0.0026664960384368895, 0.002669568061828613, 0.002654207944869995, 0.0026798079013824463, 0.0026644799709320066, 0.0026521599292755127, 0.0026890239715576174, 0.002663424015045166, 0.0026419200897216796, 0.002668544054031372, 0.002682976007461548, 0.002643968105316162, 0.002668544054031372, 0.0026634559631347654, 0.002659359931945801, 0.0026900479793548586, 0.002662400007247925, 0.00268287992477417, 0.0026766719818115234, 0.002674720048904419, 0.0026808319091796875, 0.0026460158824920654, 0.002654207944869995, 0.0026818559169769288, 0.002655200004577637, 0.002653183937072754, 0.0026757121086120605, 0.0026368000507354735, 0.002662400007247925, 0.002673664093017578, 0.0026316800117492677, 0.002657279968261719, 0.0026818559169769288, 0.0026296319961547853, 0.0026501119136810303, 0.002653183937072754, 0.0026306560039520265, 0.002653183937072754, 0.0026562559604644776, 0.0026255359649658204, 0.0026449921131134033, 0.0026675200462341307, 0.0026408960819244384, 0.002654207944869995, 0.0026552319526672364, 0.0026316800117492677, 0.0026408960819244384, 0.002653183937072754, 0.0026449921131134033, 0.002645951986312866, 0.0026511359214782715, 0.00263372802734375, 0.002639872074127197, 0.00265830397605896, 0.0026378240585327147, 0.002653183937072754, 0.0026654720306396483, 0.002627583980560303, 0.002657279968261719, 0.00265830397605896, 0.0026419200897216796, 0.0026460158824920654, 0.002669568061828613, 0.002642944097518921, 0.0026470398902893066, 0.0026603519916534426, 0.0026552319526672364, 0.002643968105316162, 0.002669568061828613, 0.002632704019546509, 0.002661375999450684 ], "count": 367, "total": 0.9900596477985383, "mean": 0.002697710211985118, "p50": 0.002677759885787964, "p90": 0.0027985920906066896, "p95": 0.0028717055320739747, "p99": 0.0029372415542602537, "stdev": 7.865860048543795e-05, "stdev_": 2.915754262113898 }, "throughput": { "unit": "samples/s", "value": 741.3694736797894 }, "energy": { "unit": "kWh", "cpu": 3.1245168035399095e-08, "ram": 1.7073614458791092e-08, "gpu": 4.81508740527709e-08, "total": 9.646965654696114e-08 }, "efficiency": { "unit": "samples/kWh", "value": 20731907.5405478 } } } }