{ "config": { "name": "cpu_inference_transformers_fill-mask_hf-internal-testing/tiny-random-BertModel", "backend": { "name": "pytorch", "version": "2.8.0", "_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": "cpu", "device_ids": null, "seed": 42, "inter_op_num_threads": null, "intra_op_num_threads": null, "model_kwargs": {}, "processor_kwargs": {}, "no_weights": true, "tp_plan": null, "device_map": null, "torch_dtype": null, "eval_mode": true, "to_bettertransformer": false, "low_cpu_mem_usage": null, "attn_implementation": null, "cache_implementation": null, "allow_tf32": false, "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": false, "device_isolation_action": null, "numactl": false, "numactl_kwargs": {}, "start_method": "spawn" }, "environment": { "cpu": " AMD EPYC 7763 64-Core Processor", "cpu_count": 4, "cpu_ram_mb": 16772.579328, "system": "Linux", "machine": "x86_64", "platform": "Linux-6.11.0-1018-azure-x86_64-with-glibc2.39", "processor": "x86_64", "python_version": "3.10.18", "optimum_benchmark_version": "0.6.0.dev0", "optimum_benchmark_commit": "53ea6cdb2b8761f51c37c7d00ce8ece44e923914", "transformers_version": "4.55.2", "transformers_commit": "53ea6cdb2b8761f51c37c7d00ce8ece44e923914", "accelerate_version": "1.10.0", "accelerate_commit": "53ea6cdb2b8761f51c37c7d00ce8ece44e923914", "diffusers_version": "0.35.0", "diffusers_commit": "53ea6cdb2b8761f51c37c7d00ce8ece44e923914", "optimum_version": null, "optimum_commit": null, "timm_version": "1.0.19", "timm_commit": "53ea6cdb2b8761f51c37c7d00ce8ece44e923914", "peft_version": "0.17.0", "peft_commit": "53ea6cdb2b8761f51c37c7d00ce8ece44e923914" }, "print_report": true, "log_report": true }, "report": { "load_model": { "memory": { "unit": "MB", "max_ram": 918.474752, "max_global_vram": null, "max_process_vram": null, "max_reserved": null, "max_allocated": null }, "latency": { "unit": "s", "values": [ 0.13688114000001406 ], "count": 1, "total": 0.13688114000001406, "mean": 0.13688114000001406, "p50": 0.13688114000001406, "p90": 0.13688114000001406, "p95": 0.13688114000001406, "p99": 0.13688114000001406, "stdev": 0, "stdev_": 0 }, "throughput": null, "energy": { "unit": "kWh", "cpu": 8.540380712834915e-05, "ram": 1.4413656138888894e-05, "gpu": 0.0, "total": 9.981746326723804e-05 }, "efficiency": null }, "first_forward": { "memory": { "unit": "MB", "max_ram": 918.736896, "max_global_vram": null, "max_process_vram": null, "max_reserved": null, "max_allocated": null }, "latency": { "unit": "s", "values": [ 0.004044549000013831 ], "count": 1, "total": 0.004044549000013831, "mean": 0.004044549000013831, "p50": 0.004044549000013831, "p90": 0.004044549000013831, "p95": 0.004044549000013831, "p99": 0.004044549000013831, "stdev": 0, "stdev_": 0 }, "throughput": null, "energy": { "unit": "kWh", "cpu": 8.87191960857315e-05, "ram": 1.4270205369444416e-05, "gpu": 0.0, "total": 0.00010298940145517592 }, "efficiency": null }, "forward": { "memory": { "unit": "MB", "max_ram": 924.971008, "max_global_vram": null, "max_process_vram": null, "max_reserved": null, "max_allocated": null }, "latency": { "unit": "s", "values": [ 0.0022984559999770227, 0.0028257710000048064, 0.0022568880000051195, 0.0022978449999868644, 0.002262048000005734, 0.002233894999989161, 0.0022878359999936038, 0.0028540339999949538, 0.002549375000000964, 0.0024730620000070758, 0.002496757000017169, 0.0024558789999957753, 0.0026567950000071505, 0.002575362000015957, 0.0025596440000015264, 0.002544636000010314, 0.002795534999989968, 0.002241920000017217, 0.0026644090000047527, 0.002244533999999021, 0.002204330000012078, 0.002203829000023916, 0.00226039500000752, 0.0023104079999995975, 0.0022781880000195542, 0.002276523999995561, 0.0022687200000177654, 0.0022667959999864706, 0.0022471000000052754, 0.0023198250000007192, 0.0023116999999786003, 0.002303554999997459, 0.0023629259999893293, 0.0023462049999807277, 0.0022613159999878008, 0.0023082540000132212, 0.0022990870000114683, 0.0023449729999924784, 0.0023062600000116618, 0.002365290999989611, 0.0023417160000178683, 0.0024401500000124088, 0.002417918999981339, 0.002381039999988843, 0.0024078499999973246, 0.0024293499999998858, 0.002433829000011656, 0.0023710309999955825, 0.002247519999997394, 0.002233313000004955, 0.002247260000018514, 0.002216932999999699, 0.002224436999995305, 0.00221361700002376, 0.00216618800001811, 0.0021408910000104697, 0.0021237090000170156, 0.002126043000004074, 0.0021700650000013866, 0.0021422439999980725, 0.00220557200000826, 0.0024979380000047513, 0.0026955680000071425, 0.002480394999992086, 0.0025032679999981156, 0.0024704170000120484, 0.0025095499999849835, 0.002500714000007065, 0.0025275140000076135, 0.0025011439999786944, 0.002507154999989325, 0.00247189000000958, 0.002479614000009178, 0.0024555290000023433, 0.002515240999997559, 0.00251201500000775, 0.0024829900000042926, 0.002455358999981172, 0.0024724809999838726, 0.0031085289999737142, 0.0024623720000249705, 0.0025078169999801503, 0.0024828899999818077, 0.0025443449999897894, 0.002485874999990756, 0.002523757000005844, 0.002471007999986341, 0.002488591000002316, 0.0023773730000016258, 0.002505653000014263, 0.002449617999985776, 0.0025282550000156334, 0.0024852950000138208, 0.0025301789999900848, 0.002483561000019563, 0.0024937199999897075, 0.002496586000006573, 0.0025061639999819363, 0.0024986489999889727, 0.0025250790000086454, 0.0024015680000104567, 0.0021746639999946638, 0.002287094000024581, 0.002297955000017282, 0.002306010000012293, 0.002338780999991741, 0.002250857000007045, 0.002341115000007221, 0.0023438600000247334, 0.0023295740000151, 0.002305599000010261, 0.002333401000015556, 0.0022815239999829373, 0.002301371000015706, 0.0024001860000169017, 0.0023437100000194278, 0.0023331409999798325, 0.002423028000009708, 0.002406658000012385, 0.002337988999983054, 0.002951786000011225, 0.0024110559999996894, 0.0024061870000195995, 0.0024341190000143342, 0.0024295409999979256, 0.0023574159999952826, 0.002371533000001591, 0.002262809000001198, 0.0024412829999960195, 0.002407398999991983, 0.0023760999999922205, 0.002320255999990195, 0.0023183129999893026, 0.002351234000002478, 0.0023125820000018393, 0.0022892590000083146, 0.002390006000013045, 0.002364188000001377, 0.002316849999999704, 0.0024520129999814344, 0.002420903999990287, 0.0023368870000126662, 0.0023087949999762714, 0.0022931059999962145, 0.002376190999996197, 0.002302682999982153, 0.0023341119999997773, 0.0024246220000065932, 0.002308445000011261, 0.002348028000000113, 0.002458395000019209, 0.0027232189999892853, 0.002386500000000069, 0.0023375979999968877, 0.0023530970000251727, 0.0023185330000217164, 0.0023150170000008075, 0.0023328089999949952, 0.00230260399999338, 0.002395237000001771, 0.0024227480000149626, 0.002363728000005949, 0.0024006470000017543, 0.0024508700000183126, 0.002415514999995594, 0.002380037999984097, 0.0024261950000266097, 0.0025091789999862613, 0.0024747749999960433, 0.0024290989999826706, 0.0024194920000013553, 0.002451600999989978, 0.0023887339999930646, 0.002358639000021867, 0.002441142000009222, 0.0023858689999940452, 0.0024278869999818653, 0.002195231999991165, 0.0022962310000025354, 0.002677885000025526, 0.002216602999993711, 0.002183551000001671, 0.0021619299999997565, 0.0021618399999852045, 0.002202816999982815, 0.0021597759999849586, 0.002159356000021262, 0.0021556380000049558, 0.0022158920000094895, 0.0022308290000125908, 0.002208878000004688, 0.0021806750000052944, 0.0021759969999948225, 0.002162271000003102, 0.002266636000001654, 0.0023088039999947796, 0.002164225000001352, 0.002172459999997045, 0.0021805249999999887, 0.0021840519999898333, 0.00219017300000246, 0.0021588950000079876, 0.002211041999998997, 0.002180035000009184, 0.002287004000010029, 0.002200152000000344, 0.0023302749999913885, 0.0019005629999924167, 0.0018589239999755591, 0.001820441999996092, 0.0017406329999971604, 0.0017565829999739435, 0.0017368359999920813, 0.0018700750000277822, 0.0017207359999815708, 0.0017375470000047244, 0.001795087000004969, 0.001767633000014257, 0.0016984039999954348, 0.001691742000019758, 0.0016802399999846784, 0.0017119290000096044, 0.0017056180000167842, 0.0016802099999893017, 0.0017041849999941405, 0.0016886159999955908, 0.0016678770000169152, 0.0016842379999957302, 0.0016963610000004792, 0.0017004880000115463, 0.00174419900000089, 0.0016997369999955936, 0.0016830149999975674, 0.0016669660000161457, 0.0017167079999751422, 0.0020240029999740727, 0.001712810999976, 0.0016874529999881815, 0.0016825540000127148, 0.001711357999994334, 0.0017313749999914307, 0.0017114579999883972, 0.0016880450000087421, 0.0017084029999807626, 0.0016866819999847849, 0.001693023999990828, 0.0017232409999792253, 0.0016870830000073056, 0.001690067999987832, 0.001695909000005713, 0.0016914109999959237, 0.00165481300001602, 0.0017052270000021963, 0.0017135329999860005, 0.0017180509999832339, 0.0017058379999923545, 0.0016781260000016118, 0.0017403829999977916, 0.0017482469999947625, 0.001678257000008898, 0.001706799999993791, 0.0016858900000045196, 0.0016799789999879522, 0.0016864910000151667, 0.0017387799999823983, 0.0016686590000176693, 0.0016725449999910325, 0.0017189029999826744, 0.0016686390000018037, 0.0017213470000001507, 0.0016926830000159043, 0.001692622999996729, 0.0016931639999882009, 0.0017012600000043676, 0.0017346120000070187, 0.0016743790000077752, 0.0017039040000099703, 0.0016915819999780979, 0.0016619060000095942, 0.0017514440000070408, 0.001658921000000646, 0.001735503999981347, 0.0016694200000131332, 0.0017012999999792555, 0.001693835999986959, 0.0016696000000138156, 0.001708734000004597, 0.001700518000006923, 0.0016851590000044325, 0.0017052369999817074, 0.0017085329999986243, 0.0016897489999792015, 0.0016804010000157632, 0.0017249429999992572, 0.0017098550000014257, 0.0016932839999981297, 0.001694295999982387, 0.0017158260000087466, 0.0016852690000064285, 0.0017112980000035805, 0.001727026999986947, 0.0017025520000117922, 0.0016982939999934388, 0.001704655000025923, 0.001703504000005296, 0.001708272000001898, 0.0016857109999932618, 0.0017088829999920563, 0.0017048960000067837, 0.0016865620000032777, 0.0017101459999935287, 0.0017102870000087478, 0.0016795690000037666, 0.0017229690000135633, 0.0016915820000065196, 0.0016868530000238025, 0.0016894379999996545, 0.0016990450000093915, 0.0017322280000087176, 0.0016774850000160768, 0.0017192130000012185, 0.001730124000005162, 0.0019705029999954604, 0.0017828919999942627, 0.0016661839999869699, 0.001735985000010487, 0.0016998470000260113, 0.0016670859999976528, 0.001805173999997578, 0.00169003899998188, 0.0017550800000094569, 0.0017890229999864005, 0.001723771999991186, 0.0017514230000017506, 0.0017228190000082577, 0.0017012090000037006, 0.0016899179999825265, 0.001773054000011598, 0.001686913000014556, 0.0017106570000180454, 0.0017011899999772595, 0.001700176999975156, 0.001680490000012469, 0.0016967809999925976, 0.001721387999992885, 0.0016908000000057655, 0.0016860709999946266, 0.0016906289999951696, 0.0016966609999826687, 0.0016655229999855692, 0.0016923430000019835, 0.0017228299999771934, 0.0016703809999967234, 0.001712260000005017, 0.001666655000008177, 0.0016654929999901924, 0.001664430000005268, 0.001683125999988988, 0.0017100260000120215, 0.0016634389999978794, 0.0017058279999844217, 0.0016896169999824906, 0.001674220000012383, 0.0017179310000017267, 0.001687725000010687, 0.001694436999997606, 0.0016996370000015304, 0.0017065790000003744, 0.001693945999988955, 0.001691370999992614, 0.0017065790000003744, 0.0016932650000001104, 0.0016924829999993563, 0.0016798190000031354, 0.0017037439999967319, 0.0016807510000091952, 0.0017003779999811286, 0.0017106870000134222, 0.001748729000013327, 0.0017028119999906721, 0.00173192699998026, 0.0017331990000002406, 0.0016857999999899675, 0.0016694499999800883, 0.0017075009999985014, 0.001671572999981663, 0.001670582000002696, 0.001691720999986046, 0.0016832050000061827, 0.0016664639999817155, 0.0016870530000119288, 0.0017486179999934848, 0.0016785870000148861, 0.0017172900000161917, 0.0016813719999788646, 0.001686882000001333, 0.001691901999976153, 0.0016987750000225788, 0.0017220790000180841, 0.001652077000017016, 0.00171771000000831, 0.0018185879999919052, 0.0016972619999933158, 0.0017063889999917592, 0.0017097750000232281, 0.0017134719999774006, 0.001681052000009231, 0.0017253940000045986, 0.001709174000012581, 0.001706929999983231, 0.0016877449999981309, 0.0017004780000036135, 0.0017115789999877506, 0.0016766130000007706, 0.001698354000012614, 0.0016848489999858884, 0.0016985439999928076, 0.001739310999994359, 0.0017022410000038235, 0.001711859000010918, 0.0017205259999855116, 0.0017289209999944433, 0.0017048960000067837, 0.0016837359999897217, 0.0016888760000028924, 0.0017436190000239549, 0.0017177599999911308, 0.0017035239999927398, 0.001704144999990831, 0.0016943969999942965, 0.0019908210000210147, 0.0016936250000014752, 0.0016951179999864507, 0.0017335699999989629, 0.0016969319999873278, 0.0016782270000135213, 0.0017153550000159612, 0.0017119089999937387, 0.001673648000007688, 0.001690307999979268, 0.0017416250000223954, 0.0016732480000030137, 0.0017029029999946488, 0.0016921019999927012, 0.0017179609999971035, 0.001689979000019548, 0.0017033739999874342, 0.0017156060000047546, 0.0016912009999998645, 0.0017367149999927278, 0.0017598389999875508, 0.001716517000005524, 0.0016554640000094878, 0.0016770240000028025, 0.0017020409999872754, 0.0016812520000257791, 0.0016834459999870433, 0.0017039749999980813, 0.0017280689999950027, 0.0017312360000119043, 0.0016797590000123819, 0.0017008890000056454, 0.001676734000000124, 0.0016944770000009157, 0.0016988049999895338, 0.001724432000003162, 0.0016710230000001047, 0.0016673259999890888, 0.0017232699999851775, 0.001712150000003021, 0.0017102059999842822, 0.001691441999980725, 0.0016755620000026283, 0.00168043100001114, 0.0016883159999849795, 0.0016967910000005304, 0.0016565060000175436, 0.0016938050000021576, 0.00167758500001014, 0.0017100959999822862, 0.0016973219999840694, 0.0016777360000048702, 0.001676753999987568, 0.0016793489999997746, 0.0016975030000025981, 0.001669100000015078, 0.0016709820000073705, 0.0017193539999880159, 0.0017196339999827615, 0.0017379980000100659, 0.0016782059999798093, 0.0017005480000022999, 0.0017194030000098337, 0.001685739999999214, 0.0017024519999893073, 0.00167576100000133, 0.0016791980000050444, 0.0016795089999845914, 0.00173538399999984, 0.0016814119999821742, 0.00169791400000463, 0.001918074999991859, 0.0016867729999887615, 0.001675481999996009 ], "count": 504, "total": 0.997780153999912, "mean": 0.0019797225277776035, "p50": 0.0017295224999998027, "p90": 0.0024611789000232418, "p95": 0.002507006349988217, "p99": 0.00272238946998982, "stdev": 0.0003417390582176896, "stdev_": 17.261967443554777 }, "throughput": { "unit": "samples/s", "value": 1010.2425829568953 }, "energy": { "unit": "kWh", "cpu": 4.082475340460396e-08, "ram": 1.2684161859462158e-08, "gpu": 0.0, "total": 5.350891526406615e-08 }, "efficiency": { "unit": "samples/kWh", "value": 37376949.058488905 } } } }