{ "config": { "name": "cpu_inference_transformers_fill-mask_hf-internal-testing/tiny-random-BertModel", "backend": { "name": "pytorch", "version": "2.5.1+cpu", "_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": "cpu", "device_ids": null, "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": 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": 16766.779392, "system": "Linux", "machine": "x86_64", "platform": "Linux-6.8.0-1017-azure-x86_64-with-glibc2.39", "processor": "x86_64", "python_version": "3.10.15", "optimum_benchmark_version": "0.5.0.dev0", "optimum_benchmark_commit": "eb0d20f627fc9f70b626fe236a910757019c63c7", "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": null, "peft_commit": null }, "print_report": true, "log_report": true }, "report": { "load_model": { "memory": { "unit": "MB", "max_ram": 454.385664, "max_global_vram": null, "max_process_vram": null, "max_reserved": null, "max_allocated": null }, "latency": { "unit": "s", "values": [ 0.036870945000003985 ], "count": 1, "total": 0.036870945000003985, "mean": 0.036870945000003985, "p50": 0.036870945000003985, "p90": 0.036870945000003985, "p95": 0.036870945000003985, "p99": 0.036870945000003985, "stdev": 0, "stdev_": 0 }, "throughput": null, "energy": { "unit": "kWh", "cpu": 0.00013074054758333332, "ram": 5.467962929235359e-06, "gpu": 0, "total": 0.00013620851051256868 }, "efficiency": null }, "forward": { "memory": { "unit": "MB", "max_ram": 462.381056, "max_global_vram": null, "max_process_vram": null, "max_reserved": null, "max_allocated": null }, "latency": { "unit": "s", "values": [ 0.00247866899999849, 0.002369315999999344, 0.0023514819999945757, 0.0023376969999731045, 0.0023133309999820995, 0.0023226289999911387, 0.002333768999989161, 0.002312630000005811, 0.002291850999995404, 0.0023080119999860926, 0.0023083819999953903, 0.0022986639999942327, 0.0022847580000018297, 0.0023197029999835195, 0.0023072099999978946, 0.0023107460000062474, 0.002349989999999025, 0.002324681999994027, 0.002297481999988804, 0.0023525649999953657, 0.0022854190000032304, 0.0023008279999885417, 0.002313632000010557, 0.002288023999994948, 0.0023039040000014666, 0.0023027109999986806, 0.0022946759999911137, 0.002311778999995795, 0.0023235909999925752, 0.002311859000002414, 0.0023008480000044074, 0.0023017290000098, 0.0023234409999872696, 0.002293494000014107, 0.002273277000000462, 0.002304174000016701, 0.0022795680000058383, 0.0022908390000111467, 0.0023093840000001364, 0.0022878229999889754, 0.0022917809999967176, 0.0022932339999783835, 0.0022837660000050164, 0.0022910400000171194, 0.002281632000006084, 0.002317498999985901, 0.0022810810000066795, 0.002281331999995473, 0.0023054560000161928, 0.002280590999987453, 0.0022931839999955628, 0.0022743789999992714, 0.0023020410000071934, 0.0022911499999906937, 0.002291019000011829, 0.0023093940000080693, 0.0022861209999973653, 0.002275642000000744, 0.0023105060000148114, 0.0022995660000049156, 0.0022871230000021114, 0.002279388000005156, 0.002294796999990467, 0.0022940350000055787, 0.0023173289999931512, 0.002311737999974639, 0.002293053000016698, 0.002289988000001131, 0.0022915510000132144, 0.002287273000007417, 0.0022905990000197107, 0.0023162969999930283, 0.0023007080000070346, 0.0022935439999969276, 0.002278465999978607, 0.0023051560000055815, 0.0022950279999918166, 0.002271333000010145, 0.0023092639999902076, 0.0022755110000218792, 0.002282043000008116, 0.0023039630000027955, 0.002286491000006663, 0.002296981000000642, 0.002282512999983055, 0.002321786999999631, 0.0022817320000001473, 0.002282492999995611, 0.0024116649999825768, 0.002308392000003323, 0.0023075400000038826, 0.0023152339999796823, 0.0022927830000014637, 0.0022858199999973294, 0.0023036329999968075, 0.002279057000009743, 0.0022854990000098496, 0.002302670999995371, 0.0022919010000066464, 0.002293784999977788, 0.0022719239999844376, 0.002314984000008735, 0.0023155459999770756, 0.0022772340000187796, 0.002315936000002239, 0.002282344000008152, 0.002318720999994639, 0.002311035999980504, 0.002291310000003932, 0.0023042149999810135, 0.002307160000015074, 0.0022937250000154563, 0.0022769029999949453, 0.0023087429999861797, 0.0023161869999910323, 0.002293144000020675, 0.0022815920000027745, 0.0023022210000078758, 0.0023005669999918155, 0.002285228999994615, 0.0022969700000032844, 0.002285749999998643, 0.002284256999985246, 0.002277605000017502, 0.0023133520000158114, 0.0022906590000104643, 0.002291329999991376, 0.002308693000003359, 0.0022971209999980147, 0.0022662340000181302, 0.002298985000010134, 0.002294415999983812, 0.0022879640000041945, 0.0024023370000065825, 0.0022949459999779265, 0.002285197999981392, 0.0022978229999921496, 0.0022960990000058246, 0.00232740800001352, 0.0023214870000174415, 0.0023945630000241636, 0.002319222000011223, 0.002307690999998613, 0.0022929640000199925, 0.0022848290000183624, 0.0022859909999795036, 0.002305015999979787, 0.0022714130000167643, 0.00227305699999647, 0.002306258000004391, 0.0022876440000061393, 0.002276211999998168, 0.0022746790000098827, 0.0022984640000061063, 0.00230339299997695, 0.002281761999995524, 0.0022922720000053687, 0.0022725660000162407, 0.0022822939999969094, 0.0022922310000126345, 0.002280950999988818, 0.0023558809999997266, 0.002325302999992118, 0.002317067999996425, 0.0022990340000035303, 0.002295709000009083, 0.0023054369999897517, 0.002287904000013441, 0.002378512999996474, 0.002324702000009893, 0.0022999470000115707, 0.0022919209999940904, 0.002305215999996335, 0.002289657000005718, 0.0022803200000112156, 0.002317620000013676, 0.00228577999999402, 0.002286762000011322, 0.0022952580000037415, 0.0022857099999953334, 0.002282013000012739, 0.002278436000011652, 0.002306279000009681, 0.0022887350000075912, 0.002321045999991611, 0.0023173579999991034, 0.002271253000003526, 0.002287202000019306, 0.002304323999993585, 0.002294154999987086, 0.002283685999998397, 0.002264509999974962, 0.0023006769999938115, 0.002282635000000255, 0.0022698699999921246, 0.002327887999996392, 0.002302030000009836, 0.0022933139999850027, 0.0022898070000110238, 0.0022932330000173806, 0.002275961999998799, 0.0022882250000009208, 0.002305857000010292, 0.0022981729999855816, 0.002271342999989656, 0.0023252940000020317, 0.002304605000006177, 0.0022863210000139134, 0.002314122000001362, 0.0023226179999937813, 0.0022953879999931814, 0.0023186409999880198, 0.0022999459999937244, 0.0022919820000026903, 0.002299746000005598, 0.0023222380000049725, 0.002281231000011985, 0.002303883999985601, 0.0023456410000051164, 0.002342255000002069, 0.0023116579999964415, 0.002339250000005677, 0.002314162999994096, 0.0023047850000068593, 0.002336173999992752, 0.002317327999975305, 0.002296360000002551, 0.002328239999997095, 0.0022908990000019003, 0.002283845999983214, 0.002322106999997686, 0.002278566000001092, 0.0022915810000085912, 0.002295147000012321, 0.0023019209999972645, 0.0022935739999923044, 0.0022988740000187136, 0.002296319999999241, 0.0022777949999976954, 0.0022748599999999897, 0.0022797290000085013, 0.002274429000010514, 0.00226296799999659, 0.0022804699999880995, 0.0023114379999924495, 0.0022915309999973488, 0.0022966610000025867, 0.0023068899999998393, 0.002309152999998787, 0.002415261000010105, 0.002373333000008415, 0.0022918720000006942, 0.0023215469999797733, 0.0056670209999936105, 0.002447180999979537, 0.0024009139999918716, 0.002432985000012877, 0.0024576909999893815, 0.0024085189999993872, 0.0023974780000060036, 0.002401927000022397, 0.0024195390000159023, 0.0024214119999896866, 0.0023790340000005017, 0.0025059199999759585, 0.0018921159999933934, 0.0018627510000044367, 0.0019179740000083711, 0.0018464319999793588, 0.0018703049999828636, 0.001864273999984789, 0.0018639339999992899, 0.0018576319999965563, 0.0018640650000065762, 0.0018466119999800412, 0.001825271000001294, 0.0018778200000042489, 0.0018524320000210537, 0.001877377999988994, 0.001838946999981772, 0.0018836500000247725, 0.0018420629999980065, 0.0018478750000099353, 0.0018389980000108608, 0.001868983000008484, 0.0018696340000019518, 0.001896654999995917, 0.0018861149999906957, 0.0018703559999835306, 0.0018583940000098664, 0.00184035999998855, 0.0018563399999891317, 0.0018449089999990065, 0.0018863849999775084, 0.0018418329999860816, 0.0019067940000070394, 0.001847492999985434, 0.0018838409999943906, 0.0018230680000215216, 0.0018569009999964692, 0.0018608279999909882, 0.0018694739999887133, 0.0018667079999943326, 0.0018526919999999336, 0.001860276000002159, 0.0018350290000057612, 0.0018313630000079684, 0.001853793999998743, 0.0018854740000051606, 0.001852302000003192, 0.0018816360000073473, 0.0018559879999884288, 0.0018732709999937924, 0.001825781999997389, 0.0018599760000199694, 0.0018350290000057612, 0.0018540250000000924, 0.0018600370000001476, 0.0018664389999969444, 0.0018381759999783753, 0.001827065000014727, 0.0019436030000008486, 0.0018686630000104287, 0.002517331999996486, 0.002380566000027784, 0.0023881010000081915, 0.0023847639999985404, 0.0024719070000003285, 0.0019117729999891253, 0.0018868760000145812, 0.0018808350000085738, 0.0018665179999857173, 0.00187187800000288, 0.001840450000003102, 0.001874433000011777, 0.0018172670000069502, 0.0018585939999979928, 0.0018583330000012666, 0.0018764570000087133, 0.0018658780000180286, 0.0018578220000051715, 0.0018456089999858705, 0.0018509900000083235, 0.0018415419999939786, 0.0018337879999990037, 0.0018658879999975397, 0.0018614589999970121, 0.0018644239999900947, 0.0018463319999852956, 0.0018546059999948739, 0.0018273260000114533, 0.0018573210000170093, 0.0019483510000100068, 0.001860456999992266, 0.0018446479999738585, 0.0018598059999987981, 0.0018369529999802126, 0.0018024489999959314, 0.0018525720000184265, 0.0018390580000016143, 0.0018570809999971516, 0.0018365029999927174, 0.0018670299999996587, 0.0018341579999798796, 0.0018323049999935392, 0.0018526630000224031, 0.0018529139999827748, 0.001852722999984735, 0.0019315799999901628, 0.0018457090000083554, 0.0018609680000167828, 0.0018406700000070941, 0.0018119069999897874, 0.0018545560000120531, 0.001843656000005467, 0.0018783010000049671, 0.0018535240000119302, 0.001874582999988661, 0.00186489499998288, 0.0018777699999930064, 0.0018558190000135255, 0.001879191999989871, 0.0018519420000018272, 0.0018560890000003383, 0.0018361219999860623, 0.0018467119999741044, 0.001842523999982859, 0.001843606999983649, 0.0018787019999990662, 0.0018529740000019501, 0.0018618999999944208, 0.0018500980000055733, 0.0018638039999814282, 0.001819170000004533, 0.001857991999997921, 0.0018395280000049752, 0.0018546659999856274, 0.0018514399999958187, 0.001857131000008394, 0.0019038679999994201, 0.0018690229999833718, 0.001826244000000088, 0.0018492859999810207, 0.0018607680000002347, 0.0018328949999784072, 0.0018511800000169387, 0.0018460309999852598, 0.0018468819999952757, 0.00183188299999415, 0.0018759360000046854, 0.0018345090000195796, 0.0018611690000227554, 0.0018276560000174413, 0.001852522000007184, 0.0018203719999974055, 0.0018415830000151345, 0.0018807649999814657, 0.0018592450000198824, 0.0018599560000041038, 0.0018648350000205483, 0.0018672589999937372, 0.0018654060000073969, 0.001840379999975994, 0.0018691429999933007, 0.001868992999987995, 0.0018554879999896912, 0.0018630920000077822, 0.0018647460000238425, 0.0018607879999876786, 0.001832464000017353, 0.001863652999986698, 0.001843895999996903, 0.001866036999984999, 0.0018939299999942705, 0.0018580929999814089, 0.0018466909999972358, 0.0018482940000126291, 0.0018301400000098056, 0.0018694139999979598, 0.001863762999988694, 0.001867860999993809, 0.0018611380000095323, 0.0018549570000061522, 0.0018529040000032637, 0.0018345390000149564, 0.0018813069999907839, 0.0018504679999864493, 0.0018521220000025096, 0.0018522720000078152, 0.0018620200000043496, 0.0018622609999852102, 0.0018713569999988522, 0.001855368000008184, 0.0018785209999805375, 0.0018606169999770827, 0.001854375999982949, 0.0019715750000273147, 0.0018579830000078346, 0.0018576820000077987, 0.0018398390000129439, 0.0018311019999828204, 0.0018735110000136501, 0.0018624209999984487, 0.0018548170000087794, 0.001869283999980098, 0.0018629110000176752, 0.0018748640000012529, 0.001886866999996073, 0.0018467919999807236 ], "count": 469, "total": 0.9966744939997909, "mean": 0.0021251055309163985, "p50": 0.0022810810000066795, "p90": 0.0023221331999991436, "p95": 0.0023717262000047864, "p99": 0.002462240119992884, "stdev": 0.0002782537368772349, "stdev_": 13.093643248730569 }, "throughput": { "unit": "samples/s", "value": 941.1297325726455 }, "energy": { "unit": "kWh", "cpu": 7.438663833651993e-08, "ram": 3.1105253619844688e-09, "gpu": 0.0, "total": 7.749716369850443e-08 }, "efficiency": { "unit": "samples/kWh", "value": 25807396.097498685 } } } }