{ "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", "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, "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.767104, "system": "Linux", "machine": "x86_64", "platform": "Linux-6.8.0-1020-azure-x86_64-with-glibc2.39", "processor": "x86_64", "python_version": "3.10.16", "optimum_benchmark_version": "0.6.0.dev0", "optimum_benchmark_commit": "92cd2b27febacd047b21430f43cc804cfd37a667", "transformers_version": "4.48.1", "transformers_commit": null, "accelerate_version": "1.3.0", "accelerate_commit": null, "diffusers_version": "0.32.2", "diffusers_commit": null, "optimum_version": null, "optimum_commit": null, "timm_version": "1.0.14", "timm_commit": null, "peft_version": null, "peft_commit": null }, "print_report": true, "log_report": true }, "report": { "load_model": { "memory": { "unit": "MB", "max_ram": 457.822208, "max_global_vram": null, "max_process_vram": null, "max_reserved": null, "max_allocated": null }, "latency": { "unit": "s", "values": [ 0.0384845460000065 ], "count": 1, "total": 0.0384845460000065, "mean": 0.0384845460000065, "p50": 0.0384845460000065, "p90": 0.0384845460000065, "p95": 0.0384845460000065, "p99": 0.0384845460000065, "stdev": 0, "stdev_": 0 }, "throughput": null, "energy": { "unit": "kWh", "cpu": 0.00014046576666111121, "ram": 5.874692295069622e-06, "gpu": 0, "total": 0.00014634045895618082 }, "efficiency": null }, "forward": { "memory": { "unit": "MB", "max_ram": 466.341888, "max_global_vram": null, "max_process_vram": null, "max_reserved": null, "max_allocated": null }, "latency": { "unit": "s", "values": [ 0.0024875089999909505, 0.002384717999973418, 0.0023502639999719577, 0.0023322200000279736, 0.002346386999988681, 0.002332231000025331, 0.002331248000018604, 0.0023580390000006446, 0.002312844000016412, 0.0023323400000094807, 0.0023455449999687517, 0.002304117999983646, 0.0022989480000319418, 0.0023567459999753737, 0.002315580000015416, 0.0023186150000356065, 0.00235518299996329, 0.002303726999969058, 0.00231604100002869, 0.0023197259999960806, 0.0022892899999646943, 0.00232360500001505, 0.002342538999982935, 0.002321329999972477, 0.002343870999993669, 0.002364930999988246, 0.002366804000018874, 0.002322171999992406, 0.002378927999984626, 0.002360522999993009, 0.0023443929999871216, 0.0023129250000124557, 0.002310599999987062, 0.002354392000029293, 0.0023087459999828752, 0.002308236000033048, 0.0023171729999944546, 0.0023219109999672582, 0.002306603000022278, 0.0023334519999593795, 0.0023115310000321188, 0.002306132000001071, 0.0023330619999910596, 0.0023045089999982338, 0.0023077449999959754, 0.00232373500000449, 0.002315147999979672, 0.0022864050000066527, 0.002290291999997862, 0.002332530999979099, 0.00230292499998086, 0.0023129540000468296, 0.002335376000019096, 0.002298297999971055, 0.0022909230000323078, 0.0023616949999905046, 0.0023138160000257812, 0.0023234039999806555, 0.0023125640000216663, 0.0023101890000134517, 0.0022954720000143425, 0.0023302870000065923, 0.0022828689999983, 0.0022791710000547027, 0.0023323799999843686, 0.0023092670000437465, 0.0022901520000004894, 0.0023244459999887113, 0.002380580999954418, 0.0023183540000104585, 0.0023429799999803436, 0.002323714999988624, 0.0023011420000216276, 0.002317473000005066, 0.0023327709999989565, 0.0023708520000127464, 0.0023310679999895, 0.0023037270000259014, 0.002306812999961494, 0.0022997899999950278, 0.0023014530000295963, 0.0023186349999946287, 0.0022861349999629965, 0.002339002999974582, 0.002336498000033771, 0.0023476089999689975, 0.0023187159999906726, 0.0023277819999520943, 0.002352127999984077, 0.002319516999989446, 0.0023220020000280783, 0.00232774200003405, 0.002303006000033747, 0.002372184999956062, 0.0023617150000063702, 0.002322251000009601, 0.002295783000022311, 0.002321920999975191, 0.00231479799998624, 0.002295601000014358, 0.002319996999972318, 0.0023078250000025946, 0.0023291139999628285, 0.002336909000007381, 0.002338291000000936, 0.002305440999975872, 0.0023138759999596914, 0.0023234839999872747, 0.0023154490000365513, 0.0023168909999640164, 0.002309538000019984, 0.0023965799999814408, 0.002357818000007228, 0.002308286000015869, 0.0022935690000167597, 0.0023214599999619168, 0.0023063219999812645, 0.0023176330000183043, 0.0023134049999953277, 0.002299148000020068, 0.002286345000015899, 0.002323644000000513, 0.0023523379999801364, 0.002317762999950901, 0.0023213690000147835, 0.002322653000021546, 0.0023134360000085508, 0.0023103999999989355, 0.002348721000032583, 0.002311020999968605, 0.002309567999986939, 0.002326459000016712, 0.0023170619999746123, 0.002291194000008545, 0.002309127999978955, 0.0022860050000304, 0.0022830489999705605, 0.002323773999989953, 0.0023377510000273105, 0.0023221320000175183, 0.002315189000000828, 0.002306653000005099, 0.0023364879999689947, 0.0023146969999743305, 0.0023252880000086407, 0.0023155490000021928, 0.0023331720000214773, 0.00238419699996939, 0.0023317190000398114, 0.002340997000032985, 0.0022981969999591456, 0.0023002609999593915, 0.002325898999970377, 0.00230813599995372, 0.0023050599999692167, 0.0023046489999956066, 0.0022983069999895633, 0.0022898409999925207, 0.0023229829999991125, 0.002321671000004244, 0.002294009999957325, 0.00228652499998816, 0.0023251470000218433, 0.002301672999976745, 0.002322592999973949, 0.0023302669999907266, 0.002298697999947308, 0.0022988989999817022, 0.0023267700000246805, 0.002298316999997496, 0.0022973549999960596, 0.0023333330000241403, 0.0023163620000445917, 0.0023065329999667483, 0.002324485999963599, 0.002322412000012264, 0.0022972250000066197, 0.002315959999975803, 0.0022920760000033624, 0.002310410999996293, 0.002387872999975116, 0.0022955119999892304, 0.0022978860000080203, 0.0023127640000097927, 0.002322192000008272, 0.0023250469999993584, 0.0023395439999944756, 0.002307685000005222, 0.0023127640000097927, 0.002316780999990442, 0.0022974060000251484, 0.002300129999980527, 0.002294248999987758, 0.0023286040000130015, 0.00231403599997293, 0.0022950009999931353, 0.0023321499999724438, 0.002309086999957799, 0.002304580000043188, 0.0023181839999892873, 0.002291994999950475, 0.0023021449999873767, 0.0023083859999815104, 0.0022949909999852025, 0.0022856340000316777, 0.002307425000026342, 0.002321199999983037, 0.002283809999994446, 0.002293758999996953, 0.0023027760000218223, 0.0023117329999990943, 0.002306933999989269, 0.0023296659999800795, 0.002323092999972687, 0.0023093179999591484, 0.002316952000001038, 0.002306943999997202, 0.002292387000011331, 0.0023335930000030203, 0.0022948399999904723, 0.0023057209999706174, 0.0023491519999652155, 0.0023325610000028973, 0.002308185999993384, 0.0023242560000085177, 0.0023013530000071114, 0.002286856000011994, 0.002352868999992097, 0.0022913440000138507, 0.0022815259999902082, 0.002364290000002711, 0.002327992000004997, 0.002302574999987428, 0.0023362580000139133, 0.002308115000005273, 0.0023883150000187925, 0.0023505649999719935, 0.0023424599999657403, 0.0023256980000496696, 0.0023271410000234027, 0.0023163800000247647, 0.0023146169999677113, 0.0023256779999769606, 0.0023825849999639104, 0.0023247870000204784, 0.002329815999985385, 0.00229975000002014, 0.0023067230000037853, 0.002360393000003569, 0.002308787000004031, 0.0022970849999524035, 0.002312002999985907, 0.002306762999978673, 0.0023114009999858354, 0.0023148679999849264, 0.002303085999983523, 0.0022828080000181217, 0.002322732999971322, 0.0022932080000259703, 0.0023016529999608792, 0.0023326310000015837, 0.002340034999974705, 0.0022930179999889333, 0.002320257999997466, 0.0023107409999738593, 0.0023062820000063766, 0.0023114820000387226, 0.003503805000036664, 0.002132077999988269, 0.001936483000008593, 0.0019036730000152602, 0.0018893760000082693, 0.0018676060000188954, 0.0018731760000036957, 0.001847478999991381, 0.001863477000028979, 0.0018636590000369324, 0.0018798890000084612, 0.0018888150000293535, 0.00192362999996476, 0.0018995450000147684, 0.0018744089999813696, 0.0018849780000209648, 0.001905615999987731, 0.001850454000020818, 0.0018894970000360445, 0.0018710420000047634, 0.0018679060000295067, 0.001832731000035892, 0.0018466970000190486, 0.0018756409999696189, 0.0018272699999783981, 0.0018626469999958317, 0.0018439509999552683, 0.001955137999971157, 0.001919511999972201, 0.0018678050000175972, 0.0018594410000218886, 0.0018593109999756052, 0.0018750790000012785, 0.001820017000000007, 0.0018747089999919808, 0.0018553830000200833, 0.0018475790000138659, 0.0018425490000026912, 0.0018658529999697748, 0.0018349350000335107, 0.0018117919999554033, 0.0018360270000243872, 0.0018348639999885563, 0.001843109999981607, 0.0018463560000441248, 0.0018759710000040286, 0.0018514660000050753, 0.0018292249999944943, 0.0018171620000089206, 0.0018519259999720816, 0.0018246760000124596, 0.0018438009999499627, 0.0018257080000125825, 0.001825125999971533, 0.0018310680000013235, 0.001822081000000253, 0.0018338730000095893, 0.0018333520000055614, 0.0018336420000082398, 0.0017956020000156059, 0.001850584000010258, 0.0018332419999751437, 0.001908921999984159, 0.0018626369999878989, 0.0018533589999947253, 0.0018631179999601954, 0.001821440000014718, 0.0018739169999548722, 0.0018103489999816702, 0.0018484999999941465, 0.0018568560000176149, 0.0018680270000004384, 0.0018386720000194146, 0.001838522000014109, 0.0018461359999832894, 0.001856714999973974, 0.001831389000017225, 0.0018944860000260633, 0.0018764019999935044, 0.001870942000039122, 0.0018446830000016234, 0.0018273409999665091, 0.0018452940000202034, 0.0018151879999663834, 0.0018468370000164214, 0.0018102889999909166, 0.0018189749999919513, 0.001800020000018776, 0.0018440409999698204, 0.001821119999988241, 0.0018238349999819548, 0.0018294040000341738, 0.0018463360000282591, 0.0018314179999947555, 0.0018267089999994823, 0.0018406659999641306, 0.0018348049999872273, 0.0018357260000243514, 0.0018068730000209143, 0.0018000299999698655, 0.0018324299999790128, 0.0018317489999617464, 0.0018761819999895124, 0.001852937999956339, 0.001829595000003792, 0.0018164299999625655, 0.001839954000047328, 0.001829425000039464, 0.0018373799999835683, 0.0018592800000192256, 0.001842117999956372, 0.0017957210000076884, 0.0018458860000123423, 0.0018268300000272575, 0.0018315689999894857, 0.0018273209999506435, 0.0018255470000099194, 0.0018009319999805484, 0.0019053759999678732, 0.0018529280000052495, 0.0018284930000049826, 0.0018676860000255147, 0.0018545610000160195, 0.001842649000025176, 0.001792416000000685, 0.0018397030000301129, 0.0018362370000204464, 0.0018462159999899086, 0.0018299249999813583, 0.0018143960000429615, 0.0018073029999641221, 0.0018342540000162444, 0.0018387519999691904, 0.0018166809999797806, 0.0019007880000003752, 0.0018566749999990861, 0.0018467059999807134, 0.0018120130000056633, 0.0018356759999846872, 0.0018389819999811152, 0.0018474579999860907, 0.001830947999962973, 0.0018246060000137732, 0.001842297999985476, 0.0018335920000254191, 0.0018523879999747805, 0.0018472379999820987, 0.0018656620000001567, 0.001859550999995463, 0.001849562000018068, 0.0018026950000376019, 0.0018435709999948813, 0.0018214300000067851, 0.0018748589999972864, 0.0018180939999865586, 0.0018481600000086473, 0.001831477999985509, 0.0018298250000157168, 0.0019089930000291133, 0.0018239849999872604, 0.0018451739999818528, 0.001831387999970957, 0.0018508939999719587, 0.0018294649999575086, 0.0018123629999990953, 0.0018083859999933338, 0.001873055000032764, 0.0018296050000117248, 0.0018111509999698683, 0.0018162210000127743, 0.0017988480000212803, 0.0018184339999720578, 0.0018002599999817903, 0.0018369690000099581, 0.0018607629999678466, 0.001916046000019378, 0.0018471870000098534, 0.0018406460000051084, 0.0018350049999753537, 0.0018572170000084043, 0.0018630369999641516, 0.0018440919999989092, 0.0018943950000220866, 0.0018151880000232268, 0.0018312380000224948, 0.0018225619999725495, 0.0018341329999884692, 0.0018293949999588222, 0.001852577999954974, 0.0018026650000138034, 0.0018270500000312495, 0.0018170309999732126, 0.0018332719999989422, 0.0018261790000337896, 0.001823844000000463, 0.0018019039999899178, 0.0018371589999901516, 0.0018446330000188027, 0.0018188450000025114, 0.0018422780000264538, 0.0018276320000154556, 0.001822371999992356, 0.0018202679999603788, 0.0018389820000379586 ], "count": 471, "total": 0.997503568998809, "mean": 0.002117841972396622, "p50": 0.0022954720000143425, "p90": 0.0023364879999689947, "p95": 0.002353630500010695, "p99": 0.0023856644999739273, "stdev": 0.0002448927394398997, "stdev_": 11.563315045776088 }, "throughput": { "unit": "samples/s", "value": 944.3575233976178 }, "energy": { "unit": "kWh", "cpu": 8.192308215204951e-08, "ram": 3.425684439589461e-09, "gpu": 0.0, "total": 8.534876659163896e-08 }, "efficiency": { "unit": "samples/kWh", "value": 23433261.895502616 } } } }