{ "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.244288, "max_global_vram": 639.107072, "max_process_vram": 0.0, "max_reserved": 2.097152, "max_allocated": 0.534528 }, "latency": { "unit": "s", "values": [ 0.05758771133422851 ], "count": 1, "total": 0.05758771133422851, "mean": 0.05758771133422851, "p50": 0.05758771133422851, "p90": 0.05758771133422851, "p95": 0.05758771133422851, "p99": 0.05758771133422851, "stdev": 0, "stdev_": 0 }, "throughput": null, "energy": { "unit": "kWh", "cpu": 9.558787264930584e-05, "ram": 5.237009548690452e-05, "gpu": 0.00012471121087999988, "total": 0.00027266917901621024 }, "efficiency": null }, "forward": { "memory": { "unit": "MB", "max_ram": 1038.454784, "max_global_vram": 670.564352, "max_process_vram": 0.0, "max_reserved": 23.068672, "max_allocated": 10.112 }, "latency": { "unit": "s", "values": [ 0.0028241920471191407, 0.0026163198947906493, 0.0026265599727630616, 0.002657279968261719, 0.0026593921184539797, 0.0026716160774230956, 0.00276582407951355, 0.002804735898971558, 0.002756608009338379, 0.0028108799457550048, 0.0027596800327301025, 0.0027033278942108154, 0.0028149759769439697, 0.0028139519691467284, 0.00280678391456604, 0.002703360080718994, 0.0027883520126342773, 0.0028016641139984133, 0.002677759885787964, 0.002746367931365967, 0.002934783935546875, 0.0027197439670562746, 0.0027873599529266357, 0.0029153280258178713, 0.0028538880348205568, 0.0027596800327301025, 0.002826240062713623, 0.0028446719646453857, 0.0027688961029052736, 0.002843616008758545, 0.0028641281127929686, 0.002871295928955078, 0.002786303997039795, 0.00280678391456604, 0.0027555840015411376, 0.0026797759532928467, 0.0026961920261383055, 0.0027238080501556395, 0.002811903953552246, 0.002732032060623169, 0.002707456111907959, 0.0027320001125335693, 0.0027668800354003907, 0.002756608009338379, 0.0027688961029052736, 0.002627583980560303, 0.0026419200897216796, 0.0026449921131134033, 0.0026009600162506105, 0.002624511957168579, 0.0026449921131134033, 0.002634752035140991, 0.0026521599292755127, 0.0026173439025878906, 0.0025763840675354006, 0.002664448022842407, 0.0026511359214782715, 0.0026071040630340574, 0.002747391939163208, 0.0027340800762176514, 0.0027146239280700685, 0.0028272640705108644, 0.002778111934661865, 0.002712575912475586, 0.002762752056121826, 0.0027545599937438964, 0.0027340800762176514, 0.002694144010543823, 0.002752511978149414, 0.002732032060623169, 0.0026368000507354735, 0.0027166080474853517, 0.002686975955963135, 0.002603071928024292, 0.0026500799655914307, 0.0026224639415740967, 0.002613248109817505, 0.0027299840450286865, 0.0027596800327301025, 0.002722815990447998, 0.002746367931365967, 0.0026839039325714112, 0.0025917439460754394, 0.0026593279838562013, 0.002686975955963135, 0.0026306560039520265, 0.002711551904678345, 0.002708479881286621, 0.0026071040630340574, 0.002580480098724365, 0.0025968639850616456, 0.002541599988937378, 0.00260915207862854, 0.0026408960819244384, 0.002604032039642334, 0.002648063898086548, 0.002664448022842407, 0.002598912000656128, 0.00263372802734375, 0.00263372802734375, 0.0025630719661712646, 0.0026019840240478517, 0.002648063898086548, 0.0026347839832305906, 0.002771967887878418, 0.0027555840015411376, 0.0026900479793548586, 0.002661375999450684, 0.0026131839752197264, 0.0025579519271850585, 0.0025917439460754394, 0.0026071040630340574, 0.0025702400207519532, 0.0026122241020202636, 0.002632704019546509, 0.0025784320831298826, 0.0026224639415740967, 0.002634752035140991, 0.002585599899291992, 0.0026183679103851318, 0.0026296319961547853, 0.0025825281143188475, 0.0026265599727630616, 0.0026296319961547853, 0.002559999942779541, 0.0026204159259796142, 0.002623487949371338, 0.002579456090927124, 0.002627583980560303, 0.00263372802734375, 0.002593791961669922, 0.002628607988357544, 0.0026203839778900146, 0.0025712640285491944, 0.002654207944869995, 0.0026664960384368895, 0.002668544054031372, 0.002796544075012207, 0.002811903953552246, 0.0027494399547576902, 0.0027801599502563475, 0.0027504639625549315, 0.002766848087310791, 0.0027351040840148926, 0.002777087926864624, 0.0027688961029052736, 0.0026910719871521, 0.002673664093017578, 0.0026449921131134033, 0.0026183679103851318, 0.0026776959896087646, 0.0026900479793548586, 0.002657279968261719, 0.0026818559169769288, 0.0026081280708312986, 0.0025375359058380127, 0.0025917439460754394, 0.0026654720306396483, 0.0027443199157714845, 0.0026562559604644776, 0.0026009600162506105, 0.002544640064239502, 0.0025815041065216063, 0.002585599899291992, 0.002555903911590576, 0.002592832088470459, 0.0026019840240478517, 0.0025364480018615723, 0.0025784320831298826, 0.0025671679973602295, 0.002554879903793335, 0.0026368000507354735, 0.0026081280708312986, 0.0025712640285491944, 0.0025999999046325685, 0.0025661439895629883, 0.002539520025253296, 0.002569216012954712, 0.002548736095428467, 0.0025661439895629883, 0.0025569279193878173, 0.0025210878849029543, 0.002569216012954712, 0.0025763840675354006, 0.00252620792388916, 0.0027514879703521727, 0.002712575912475586, 0.002642944097518921, 0.00273305606842041, 0.00275763201713562, 0.0026961920261383055, 0.0027555840015411376, 0.0027545599937438964, 0.002747391939163208, 0.0027432959079742433, 0.002768959999084473, 0.0028784639835357667, 0.00275763201713562, 0.0028538880348205568, 0.0028518400192260743, 0.0029061119556427002, 0.002726912021636963, 0.0027146239280700685, 0.0034222400188446047, 0.002855871915817261, 0.002698240041732788, 0.0027340800762176514, 0.002717695951461792, 0.002664448022842407, 0.0027074880599975587, 0.0027054080963134766, 0.0026675200462341307, 0.0026961920261383055, 0.0027187199592590334, 0.0026521599292755127, 0.002702336072921753, 0.0026972160339355468, 0.0026511359214782715, 0.002705440044403076, 0.0027054080963134766, 0.0026552319526672364, 0.002673664093017578, 0.0027095038890838623, 0.0026470398902893066, 0.0027135999202728273, 0.002703360080718994, 0.002693120002746582, 0.0027258880138397216, 0.002710495948791504, 0.002708479881286621, 0.0026767361164093018, 0.0027095038890838623, 0.0027688961029052736, 0.002648063898086548, 0.0026839039325714112, 0.0026920959949493406, 0.0026449921131134033, 0.002677759885787964, 0.0026716160774230956, 0.002648063898086548, 0.0026900479793548586, 0.0026798079013824463, 0.0026408960819244384, 0.0027678720951080323, 0.0026941759586334227, 0.0026368000507354735, 0.0026910719871521, 0.002669568061828613, 0.0026368000507354735, 0.0026798079013824463, 0.002668544054031372, 0.0026521599292755127, 0.0026757121086120605, 0.002696223974227905, 0.002642944097518921, 0.0026767361164093018, 0.002672640085220337, 0.002653183937072754, 0.0026839039325714112, 0.002672640085220337, 0.0026357760429382322, 0.002678783893585205, 0.0026818559169769288, 0.002662400007247925, 0.002648063898086548, 0.002669568061828613, 0.002672640085220337, 0.002916352033615112, 0.002699264049530029, 0.0026900479793548586, 0.0026501119136810303, 0.0026849279403686525, 0.0026839039325714112, 0.002642944097518921, 0.00268287992477417, 0.0026767361164093018, 0.002638848066329956, 0.0026716160774230956, 0.002699264049530029, 0.0026449921131134033, 0.002686975955963135, 0.002693120002746582, 0.002634752035140991, 0.002699264049530029, 0.0026839039325714112, 0.002639872074127197, 0.0026889920234680178, 0.002678783893585205, 0.0026408960819244384, 0.002748415946960449, 0.0027135999202728273, 0.0026419200897216796, 0.0026552319526672364, 0.0027002880573272704, 0.0026757121086120605, 0.002659264087677002, 0.0026951360702514647, 0.00268287992477417, 0.0026654720306396483, 0.002752511978149414, 0.0028538880348205568, 0.002811903953552246, 0.0026767361164093018, 0.002642944097518921, 0.002604032039642334, 0.002672640085220337, 0.0026357760429382322, 0.002615295886993408, 0.002641952037811279, 0.0026357760429382322, 0.0026071040630340574, 0.002649087905883789, 0.0026408960819244384, 0.0026071040630340574, 0.0026408960819244384, 0.0026675200462341307, 0.002668544054031372, 0.002687999963760376, 0.0026900479793548586, 0.002627583980560303, 0.0026849279403686525, 0.0026746881008148193, 0.0026378240585327147, 0.002686975955963135, 0.002693120002746582, 0.0026419200897216796, 0.00268287992477417, 0.0026849279403686525, 0.002655263900756836, 0.0026972160339355468, 0.002687999963760376, 0.0026470398902893066, 0.0026849279403686525, 0.002688960075378418, 0.0026798079013824463, 0.0026552319526672364, 0.0026972160339355468, 0.0026972160339355468, 0.0026603519916534426, 0.0026910719871521, 0.0026951680183410643, 0.002642944097518921, 0.0026961920261383055, 0.002700256109237671, 0.002661344051361084, 0.0026808319091796875, 0.0026716160774230956, 0.00265830397605896, 0.002677759885787964, 0.002668544054031372, 0.0026521599292755127, 0.0026818559169769288, 0.0026716160774230956, 0.002634752035140991, 0.0026767361164093018, 0.002694144010543823, 0.002657279968261719, 0.002706432104110718, 0.002699264049530029, 0.0027013120651245117, 0.002703360080718994, 0.0026900479793548586, 0.002648063898086548, 0.0027002880573272704, 0.0026818559169769288, 0.0026419200897216796, 0.002678783893585205, 0.0026859519481658937, 0.0026603519916534426 ], "count": 369, "total": 0.9899673292636878, "mean": 0.0026828382906874987, "p50": 0.0026767361164093018, "p90": 0.0027689088821411132, "p95": 0.002814566373825073, "p99": 0.002909061098098755, "stdev": 8.13802322514922e-05, "stdev_": 3.033363305346215 }, "throughput": { "unit": "samples/s", "value": 745.479146820841 }, "energy": { "unit": "kWh", "cpu": 3.1239641900584715e-08, "ram": 1.70679460125209e-08, "gpu": 4.223102793684242e-08, "total": 9.05386158499479e-08 }, "efficiency": { "unit": "samples/kWh", "value": 22090021.82355708 } } } }