cpu
/
cpu_inference_transformers_fill-mask_hf-internal-testing
/tiny-random-BertModel
/benchmark.json
IlyasMoutawwakil
HF staff
Upload cpu_inference_transformers_fill-mask_hf-internal-testing/tiny-random-BertModel/benchmark.json with huggingface_hub
e0f5584
verified
{ | |
"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": "4c23a0dd5935e7600e61c861bcc6679e75f1084b", | |
"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": 453.861376, | |
"max_global_vram": null, | |
"max_process_vram": null, | |
"max_reserved": null, | |
"max_allocated": null | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.03915280300000745 | |
], | |
"count": 1, | |
"total": 0.03915280300000745, | |
"mean": 0.03915280300000745, | |
"p50": 0.03915280300000745, | |
"p90": 0.03915280300000745, | |
"p95": 0.03915280300000745, | |
"p99": 0.03915280300000745, | |
"stdev": 0, | |
"stdev_": 0 | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 0.00014564252982222304, | |
"ram": 6.091251688600172e-06, | |
"gpu": 0, | |
"total": 0.0001517337815108232 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 462.249984, | |
"max_global_vram": null, | |
"max_process_vram": null, | |
"max_reserved": null, | |
"max_allocated": null | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.0027467609999973774, | |
0.0025591680000047745, | |
0.0030752760000041235, | |
0.0025423769999974866, | |
0.0025868000000173197, | |
0.0025060299999779545, | |
0.0025319380000041747, | |
0.002538981000014928, | |
0.00253240899999696, | |
0.00255761600001847, | |
0.00256588100000954, | |
0.00262544299999945, | |
0.002720500999998876, | |
0.0026868079999928796, | |
0.0025645080000060716, | |
0.0025663520000023254, | |
0.0025292830000012145, | |
0.0026080000000092696, | |
0.0025116799999977957, | |
0.00253593499999738, | |
0.00255970000000616, | |
0.002462167000004456, | |
0.0024825750000161406, | |
0.0024428399999862904, | |
0.0024386119999917355, | |
0.002582241999988355, | |
0.0024859309999953894, | |
0.0024262390000160394, | |
0.002485871000004636, | |
0.0024094479999803298, | |
0.0024509860000136996, | |
0.002459902999987662, | |
0.0024287840000170036, | |
0.0023993590000088716, | |
0.0023797620000038933, | |
0.00255050300000903, | |
0.002414518000023236, | |
0.002369654000005994, | |
0.00236381200002711, | |
0.002356379000019615, | |
0.0023616379999964465, | |
0.002401372999997875, | |
0.0026950940000176615, | |
0.0027647130000048037, | |
0.002500468999983241, | |
0.002467516999985264, | |
0.0024604740000029324, | |
0.002418836000003921, | |
0.002367189000011649, | |
0.00236678800001755, | |
0.002369143000009899, | |
0.0023542540000107692, | |
0.002375134000004664, | |
0.002429506000027004, | |
0.002464570999990201, | |
0.0024162600000181556, | |
0.00242676099998107, | |
0.002475280999988172, | |
0.002420689000018683, | |
0.002433483000004344, | |
0.002372559000008323, | |
0.0024123629999905916, | |
0.002364763999992192, | |
0.0024742590000244036, | |
0.002515156000015395, | |
0.002505106999990403, | |
0.0025118100000156574, | |
0.0024810330000093472, | |
0.002483958000027542, | |
0.002437159999999494, | |
0.0025844150000011723, | |
0.0025088849999974627, | |
0.002489978999989262, | |
0.0024767839999810803, | |
0.0024605440000016188, | |
0.002514975999986291, | |
0.002487122999980329, | |
0.0025173899999799687, | |
0.0025013599999965663, | |
0.002524523999994699, | |
0.0025046559999850615, | |
0.0025328289999890785, | |
0.00286215699998138, | |
0.0026094229999955587, | |
0.002608409999993455, | |
0.0026729519999832974, | |
0.002599132999989706, | |
0.002560130000006211, | |
0.00256027100002143, | |
0.002851717999988068, | |
0.0028463870000052793, | |
0.0026473940000073526, | |
0.0027971049999848674, | |
0.0026598379999995814, | |
0.00263162400000283, | |
0.002637375000006159, | |
0.0026311539999994693, | |
0.0025827530000128718, | |
0.0026140409999868552, | |
0.002549911000016891, | |
0.0026740739999979724, | |
0.0026210450000121455, | |
0.0028973930000120163, | |
0.00274613899998144, | |
0.0026159349999943515, | |
0.0025895249999905445, | |
0.002553027000004704, | |
0.0025330989999758913, | |
0.0024960000000078253, | |
0.0024536909999994805, | |
0.0024662149999983285, | |
0.0025160080000148355, | |
0.0024885759999904167, | |
0.0025028830000053404, | |
0.002902793000004067, | |
0.0024613450000003922, | |
0.0024281519999931334, | |
0.0024625570000011976, | |
0.0024344150000104037, | |
0.002575539000019944, | |
0.0028199969999889163, | |
0.0024738489999833746, | |
0.0025013599999965663, | |
0.002631274000009398, | |
0.0027414010000086364, | |
0.002403285999974969, | |
0.0024464070000078664, | |
0.0024522989999979927, | |
0.002491931999998087, | |
0.002483165999990433, | |
0.0024950680000017655, | |
0.002478337000013653, | |
0.0024593910000021424, | |
0.0024048690000029183, | |
0.0024054499999976997, | |
0.0023926469999935307, | |
0.0024194659999920987, | |
0.0023473809999927653, | |
0.0023239969999906407, | |
0.005451410999995687, | |
0.002888476000009632, | |
0.0019626600000037797, | |
0.0019181070000229283, | |
0.001932373000016696, | |
0.001910572000014099, | |
0.001928065000015522, | |
0.0019730189999904724, | |
0.0021821809999948982, | |
0.001939777999979242, | |
0.0019434240000180125, | |
0.0019166940000161503, | |
0.0019237369999984821, | |
0.001914709999994102, | |
0.00203131799997891, | |
0.0021051770000042325, | |
0.0019384550000154377, | |
0.0019019160000084412, | |
0.0019057340000188105, | |
0.0019139090000237502, | |
0.0019207809999954861, | |
0.00191951900001186, | |
0.0019237469999779933, | |
0.0018992720000028385, | |
0.002213449999999284, | |
0.0019141390000072533, | |
0.0019208020000007764, | |
0.0019800729999985833, | |
0.0021235520000004726, | |
0.002097211999995352, | |
0.0019560480000109237, | |
0.0019162129999870103, | |
0.001929377999999815, | |
0.0018976179999867782, | |
0.0019621499999971093, | |
0.0020471290000045883, | |
0.0019526320000124997, | |
0.0019327439999869966, | |
0.0019182270000044355, | |
0.001893400000000156, | |
0.002228488000014295, | |
0.0018730620000155795, | |
0.001866608999989694, | |
0.0018779320000135158, | |
0.0019367410000086238, | |
0.001888781000019435, | |
0.0019183470000143643, | |
0.0018834910000009586, | |
0.0018995819999929608, | |
0.001892539000010629, | |
0.001956769000003078, | |
0.001892669000000069, | |
0.0018937110000081248, | |
0.001895163000000366, | |
0.0018948929999851316, | |
0.0019675089999964257, | |
0.001911474999985785, | |
0.0019388160000062271, | |
0.0019483739999941463, | |
0.002027541999979121, | |
0.001979831999989301, | |
0.0019451770000102897, | |
0.00195359299999609, | |
0.0019423020000033375, | |
0.0019944189999989703, | |
0.0019751529999894046, | |
0.002040154999974675, | |
0.0022384579999936705, | |
0.001985362999988638, | |
0.00197581499998023, | |
0.001953052000004618, | |
0.002004850000020042, | |
0.0020080350000171165, | |
0.001975092999998651, | |
0.002006753000017625, | |
0.002005109999998922, | |
0.0019428930000060518, | |
0.002427742000008948, | |
0.0020122330000162947, | |
0.002153047000007291, | |
0.00220882100001063, | |
0.002037731000001486, | |
0.0020409470000117835, | |
0.0019649840000113272, | |
0.0019130570000243097, | |
0.0019078170000170758, | |
0.0019111240000029284, | |
0.001956739000007701, | |
0.00197895100001233, | |
0.0020293249999951968, | |
0.0019806640000012976, | |
0.0019454469999971025, | |
0.0019336150000128782, | |
0.001960786000012149, | |
0.0020008920000123, | |
0.0019310710000013387, | |
0.0019272130000160814, | |
0.0019424420000007103, | |
0.0019111240000029284, | |
0.0019113240000194764, | |
0.0018976180000151999, | |
0.00191138400001023, | |
0.0019128360000024713, | |
0.0019087889999980234, | |
0.002016410999999607, | |
0.001972058000006882, | |
0.0021902860000011515, | |
0.0020519180000064807, | |
0.0020376499999770203, | |
0.002028975000001765, | |
0.0020058209999831433, | |
0.002001994000011109, | |
0.0019708160000107, | |
0.0019385150000061913, | |
0.0019191279999972721, | |
0.0019101119999902494, | |
0.0019350789999919016, | |
0.001969612999999981, | |
0.002111640000009629, | |
0.0018969059999847104, | |
0.0018683230000249296, | |
0.0018921379999881083, | |
0.0019080779999853803, | |
0.0019266319999928783, | |
0.0019131570000183729, | |
0.0019071960000189847, | |
0.0019162530000187417, | |
0.002261370000013585, | |
0.0021183519999965483, | |
0.0020509750000030635, | |
0.001911313999983122, | |
0.0019031490000145368, | |
0.0018849639999984902, | |
0.0018937210000160576, | |
0.0018951440000023467, | |
0.0018965459999833456, | |
0.0018872889999954623, | |
0.0018646359999934248, | |
0.002212307999997165, | |
0.0020608639999863954, | |
0.0019446470000161753, | |
0.0019158820000200194, | |
0.0018744040000058249, | |
0.001878672999993114, | |
0.0018903239999872312, | |
0.00188230899999553, | |
0.001927062999982354, | |
0.0018869280000046729, | |
0.0019141690000026301, | |
0.0018905949999918903, | |
0.0019293980000156807, | |
0.0018881510000028356, | |
0.0019962519999978667, | |
0.0019184370000004947, | |
0.0018756660000178726, | |
0.0019206309999901805, | |
0.0019164130000035584, | |
0.0018905250000216256, | |
0.0019035690000066552, | |
0.0019310810000092715, | |
0.0019271029999856637, | |
0.0018910059999939222, | |
0.001971026000006759, | |
0.0019548049999968953, | |
0.0019233060000090063, | |
0.0019501959999956853, | |
0.0020204589999934797, | |
0.00197345000000837, | |
0.002079049000002442, | |
0.0020210700000120596, | |
0.002110657999992327, | |
0.002321753000018134, | |
0.001999578999999585, | |
0.0019691820000105054, | |
0.0019578909999893312, | |
0.001949074000009432, | |
0.0020046690000015133, | |
0.0020083459999966635, | |
0.0023554769999805103, | |
0.0021306350000145358, | |
0.00208853600000225, | |
0.002006141999999045, | |
0.0020596020000027693, | |
0.0020103189999929327, | |
0.0020229139999798917, | |
0.0020302559999834102, | |
0.002052848999994694, | |
0.002052037999987988, | |
0.0020972320000112177, | |
0.002114164000005303, | |
0.0021854669999754606, | |
0.002252203000011832, | |
0.002709930999998278, | |
0.0028464970000072753, | |
0.002285083999993276, | |
0.0030550290000235236, | |
0.003013920999990205, | |
0.00224384800000621, | |
0.0022770500000035554, | |
0.0020347460000209594, | |
0.0019668179999996482, | |
0.001921863999996276, | |
0.001930128999987346, | |
0.0019443160000207627, | |
0.0019547450000061417, | |
0.001981785999987551, | |
0.001975455000007287, | |
0.0019758449999756067, | |
0.001977838999977166, | |
0.0019467899999767724, | |
0.0019124060000024201, | |
0.0019655259999922237, | |
0.0019485330000179601, | |
0.0019494059999942692, | |
0.0019281550000016523, | |
0.0019148800000152733, | |
0.001911003000003575, | |
0.002007714000001215, | |
0.00211787099999583, | |
0.0019305099999940012, | |
0.0019160230000068168, | |
0.0019899609999924905, | |
0.0019337960000029852, | |
0.0019039299999974446, | |
0.0018892820000075972, | |
0.001976315999996814, | |
0.0019881679999969037, | |
0.0019953009999937876, | |
0.002162824999999202, | |
0.00199641300000053, | |
0.0020312990000093123, | |
0.0019968639999774496, | |
0.001968530999988616, | |
0.001986685000019861, | |
0.0019070959999964998, | |
0.0019390960000009727, | |
0.001927625000007538, | |
0.0018962050000084218, | |
0.0019648539999934655, | |
0.0019249789999946643, | |
0.0019258310000225265, | |
0.001994099000000915, | |
0.0019895009999970625, | |
0.0019642230000158634, | |
0.0019125860000031025, | |
0.0019546960000127456, | |
0.0019123160000162898, | |
0.0019471809999913603, | |
0.0019150109999941378, | |
0.0019352089999813415, | |
0.001920460999997431, | |
0.001935540000005176, | |
0.0019941790000075343, | |
0.001938104999993584, | |
0.0019605159999969146, | |
0.0019710349999968457, | |
0.0019014259999892147, | |
0.0018909659999906125, | |
0.0019657859999995253, | |
0.0019221839999943313, | |
0.0019592740000007325, | |
0.001979961999978741, | |
0.0020344849999958114, | |
0.002145501999990529, | |
0.00210599799999045, | |
0.002063097999979391, | |
0.002170941000002813, | |
0.0020194259999755104, | |
0.0019057229999930314, | |
0.0019432429999994838, | |
0.0019067350000057104, | |
0.0019290569999839136, | |
0.001984751000009055, | |
0.0019811640000000352, | |
0.0023693119999848022, | |
0.0025386809999758952, | |
0.0025341410000123687, | |
0.0025729440000077375, | |
0.002520285999992211, | |
0.0025464949999900455, | |
0.002499485999976514, | |
0.002521758000000318, | |
0.0024768840000035652, | |
0.0025647989999981746, | |
0.002596597999996675, | |
0.0025631870000211165, | |
0.0025937030000022787, | |
0.002188523999990366, | |
0.0019190780000144514, | |
0.0019327239999995527, | |
0.0019109129999890229, | |
0.0019032579999986865, | |
0.0019192580000151338, | |
0.0019723890000022948, | |
0.001860397999990937, | |
0.0019133179999926142, | |
0.001908670000005941, | |
0.0019113440000069204, | |
0.0019051719999936267, | |
0.0019024970000032226, | |
0.0019068349999997736, | |
0.0018917170000065653, | |
0.001942643000006683, | |
0.0019083679999880587, | |
0.001944135000002234, | |
0.0019406490000051235, | |
0.0019033990000139056, | |
0.001960715999985041, | |
0.0019434040000021469, | |
0.001963531999990664, | |
0.0019297579999886239, | |
0.0020421689999921, | |
0.0019602560000180347, | |
0.0020553640000002815, | |
0.002165219000005436, | |
0.0018668300000115323, | |
0.0019467799999972613, | |
0.0018997929999784446, | |
0.0019641920000026403 | |
], | |
"count": 458, | |
"total": 0.9960993100003748, | |
"mean": 0.002174889323144923, | |
"p50": 0.002004980000009482, | |
"p90": 0.002568329600003949, | |
"p95": 0.0026618050999971383, | |
"p99": 0.002899715000008598, | |
"stdev": 0.000328367803098022, | |
"stdev_": 15.098138539904971 | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 919.5870239079429 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 7.750937766711088e-08, | |
"ram": 3.2410518552739335e-09, | |
"gpu": 0.0, | |
"total": 8.07504295223848e-08 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 24767670.11431909 | |
} | |
} | |
} | |
} |