tokenizers-bench / python-baseline.json
ArthurZ's picture
ArthurZ HF Staff
Upload python-baseline.json with huggingface_hub
ae954b1 verified
raw
history blame
46.7 kB
{
"machine_info": {
"node": "runnervm727z3",
"processor": "x86_64",
"machine": "x86_64",
"python_compiler": "GCC 13.3.0",
"python_implementation": "CPython",
"python_implementation_version": "3.12.3",
"python_version": "3.12.3",
"python_build": [
"main",
"Mar 3 2026 12:15:18"
],
"release": "6.17.0-1008-azure",
"system": "Linux",
"cpu": {
"python_version": "3.12.3.final.0 (64 bit)",
"cpuinfo_version": [
9,
0,
0
],
"cpuinfo_version_string": "9.0.0",
"arch": "X86_64",
"bits": 64,
"count": 4,
"arch_string_raw": "x86_64",
"vendor_id_raw": "AuthenticAMD",
"brand_raw": "AMD EPYC 9V74 80-Core Processor",
"hz_advertised_friendly": "2.5961 GHz",
"hz_actual_friendly": "2.5961 GHz",
"hz_advertised": [
2596140000,
0
],
"hz_actual": [
2596140000,
0
],
"stepping": 1,
"model": 17,
"family": 25,
"flags": [
"3dnowext",
"3dnowprefetch",
"abm",
"adx",
"aes",
"aperfmperf",
"apic",
"arat",
"avx",
"avx2",
"bmi1",
"bmi2",
"clflush",
"clflushopt",
"clwb",
"clzero",
"cmov",
"cmp_legacy",
"constant_tsc",
"cpuid",
"cr8_legacy",
"cx16",
"cx8",
"de",
"decodeassists",
"erms",
"extd_apicid",
"f16c",
"flushbyasid",
"fma",
"fpu",
"fsgsbase",
"fsrm",
"fxsr",
"fxsr_opt",
"ht",
"hypervisor",
"invpcid",
"lahf_lm",
"lm",
"mca",
"mce",
"misalignsse",
"mmx",
"mmxext",
"movbe",
"msr",
"mtrr",
"nonstop_tsc",
"nopl",
"npt",
"nrip_save",
"nx",
"osvw",
"osxsave",
"pae",
"pat",
"pausefilter",
"pcid",
"pclmulqdq",
"pdpe1gb",
"pfthreshold",
"pge",
"pni",
"popcnt",
"pse",
"pse36",
"rdpid",
"rdpru",
"rdrand",
"rdrnd",
"rdseed",
"rdtscp",
"rep_good",
"sep",
"sha",
"sha_ni",
"smap",
"smep",
"sse",
"sse2",
"sse4_1",
"sse4_2",
"sse4a",
"ssse3",
"svm",
"syscall",
"topoext",
"tsc",
"tsc_known_freq",
"tsc_reliable",
"tsc_scale",
"umip",
"user_shstk",
"v_vmsave_vmload",
"vaes",
"vmcb_clean",
"vme",
"vmmcall",
"vpclmulqdq",
"xgetbv1",
"xsave",
"xsavec",
"xsaveerptr",
"xsaveopt",
"xsaves"
],
"l3_cache_size": 1048576,
"l2_cache_size": 2097152,
"l1_data_cache_size": 65536,
"l1_instruction_cache_size": 65536,
"l2_cache_line_size": 1024,
"l2_cache_associativity": 6
}
},
"commit_info": {
"id": "0e09dd4c5797df50de983c3478c3c09da4927031",
"time": "2026-04-09T07:47:51+02:00",
"author_time": "2026-04-09T07:47:51+02:00",
"dirty": false,
"project": "tokenizers",
"branch": "ci-benchmarks"
},
"benchmarks": [
{
"group": null,
"name": "test_encode",
"fullname": "tests/test_benchmarks.py::TestBPEGPT2::test_encode",
"params": null,
"param": null,
"extra_info": {},
"options": {
"disable_gc": false,
"timer": "perf_counter",
"min_rounds": 5,
"max_time": 1.0,
"min_time": 5e-06,
"warmup": false
},
"stats": {
"min": 2.486078410999994,
"max": 2.5558669280000004,
"mean": 2.528738173800002,
"stddev": 0.028319446375695216,
"rounds": 5,
"median": 2.5322503300000108,
"iqr": 0.04271618325000759,
"q1": 2.5099457757499977,
"q3": 2.5526619590000053,
"iqr_outliers": 0,
"stddev_outliers": 1,
"outliers": "1;0",
"ld15iqr": 2.486078410999994,
"hd15iqr": 2.5558669280000004,
"ops": 0.3954541479860975,
"total": 12.643690869000011,
"data": [
2.551593636000007,
2.517901563999999,
2.5558669280000004,
2.5322503300000108,
2.486078410999994
],
"iterations": 1
}
},
{
"group": null,
"name": "test_encode_batch",
"fullname": "tests/test_benchmarks.py::TestBPEGPT2::test_encode_batch",
"params": null,
"param": null,
"extra_info": {},
"options": {
"disable_gc": false,
"timer": "perf_counter",
"min_rounds": 5,
"max_time": 1.0,
"min_time": 5e-06,
"warmup": false
},
"stats": {
"min": 1.1582286360000467,
"max": 1.1710772580000253,
"mean": 1.1649339802000214,
"stddev": 0.005596796814199206,
"rounds": 5,
"median": 1.1666457180000407,
"iqr": 0.00983632574997273,
"q1": 1.1595144322500204,
"q3": 1.169350757999993,
"iqr_outliers": 0,
"stddev_outliers": 2,
"outliers": "2;0",
"ld15iqr": 1.1582286360000467,
"hd15iqr": 1.1710772580000253,
"ops": 0.8584177446933929,
"total": 5.824669901000107,
"data": [
1.1599430310000116,
1.1687752579999824,
1.1582286360000467,
1.1666457180000407,
1.1710772580000253
],
"iterations": 1
}
},
{
"group": null,
"name": "test_encode_batch_multithreaded",
"fullname": "tests/test_benchmarks.py::TestBPEGPT2::test_encode_batch_multithreaded",
"params": null,
"param": null,
"extra_info": {},
"options": {
"disable_gc": false,
"timer": "perf_counter",
"min_rounds": 5,
"max_time": 1.0,
"min_time": 5e-06,
"warmup": false
},
"stats": {
"min": 1.1574664330000246,
"max": 1.162467860999982,
"mean": 1.160494347200006,
"stddev": 0.0019221730285995,
"rounds": 5,
"median": 1.1611947570000325,
"iqr": 0.002394074750000641,
"q1": 1.159298256249997,
"q3": 1.1616923309999976,
"iqr_outliers": 0,
"stddev_outliers": 2,
"outliers": "2;0",
"ld15iqr": 1.1574664330000246,
"hd15iqr": 1.162467860999982,
"ops": 0.8617017415145191,
"total": 5.8024717360000295,
"data": [
1.1614338210000028,
1.1574664330000246,
1.1599088639999877,
1.1611947570000325,
1.162467860999982
],
"iterations": 1
}
},
{
"group": null,
"name": "test_encode",
"fullname": "tests/test_benchmarks.py::TestLlama3::test_encode",
"params": null,
"param": null,
"extra_info": {},
"options": {
"disable_gc": false,
"timer": "perf_counter",
"min_rounds": 5,
"max_time": 1.0,
"min_time": 5e-06,
"warmup": false
},
"stats": {
"min": 2.737337533000016,
"max": 2.807010712999954,
"mean": 2.7766722413999787,
"stddev": 0.027142816956700476,
"rounds": 5,
"median": 2.7764650989999495,
"iqr": 0.03958822149995456,
"q1": 2.759204868250009,
"q3": 2.7987930897499638,
"iqr_outliers": 0,
"stddev_outliers": 2,
"outliers": "2;0",
"ld15iqr": 2.737337533000016,
"hd15iqr": 2.807010712999954,
"ops": 0.36014333456072833,
"total": 13.883361206999894,
"data": [
2.7764650989999495,
2.737337533000016,
2.766493980000007,
2.807010712999954,
2.796053881999967
],
"iterations": 1
}
},
{
"group": null,
"name": "test_encode_batch",
"fullname": "tests/test_benchmarks.py::TestLlama3::test_encode_batch",
"params": null,
"param": null,
"extra_info": {},
"options": {
"disable_gc": false,
"timer": "perf_counter",
"min_rounds": 5,
"max_time": 1.0,
"min_time": 5e-06,
"warmup": false
},
"stats": {
"min": 1.323070873000006,
"max": 1.3809841700000334,
"mean": 1.3390069352000182,
"stddev": 0.02369556099872355,
"rounds": 5,
"median": 1.3309632030000103,
"iqr": 0.016380595750007387,
"q1": 1.3273227437500168,
"q3": 1.3437033395000242,
"iqr_outliers": 1,
"stddev_outliers": 1,
"outliers": "1;1",
"ld15iqr": 1.323070873000006,
"hd15iqr": 1.3809841700000334,
"ops": 0.7468221214631886,
"total": 6.695034676000091,
"data": [
1.3287400340000204,
1.3312763960000211,
1.323070873000006,
1.3809841700000334,
1.3309632030000103
],
"iterations": 1
}
},
{
"group": null,
"name": "test_encode_fast",
"fullname": "tests/test_benchmarks.py::TestLlama3::test_encode_fast",
"params": null,
"param": null,
"extra_info": {},
"options": {
"disable_gc": false,
"timer": "perf_counter",
"min_rounds": 5,
"max_time": 1.0,
"min_time": 5e-06,
"warmup": false
},
"stats": {
"min": 1.0283050780000167,
"max": 1.0427116539999588,
"mean": 1.034893302599994,
"stddev": 0.005649063380226682,
"rounds": 5,
"median": 1.0339436639999917,
"iqr": 0.008596350749982662,
"q1": 1.0306437100000068,
"q3": 1.0392400607499894,
"iqr_outliers": 0,
"stddev_outliers": 2,
"outliers": "2;0",
"ld15iqr": 1.0283050780000167,
"hd15iqr": 1.0427116539999588,
"ops": 0.9662831883129106,
"total": 5.17446651299997,
"data": [
1.0314232540000035,
1.0339436639999917,
1.0427116539999588,
1.0283050780000167,
1.0380828629999996
],
"iterations": 1
}
},
{
"group": null,
"name": "test_encode_batch_multithreaded",
"fullname": "tests/test_benchmarks.py::TestLlama3::test_encode_batch_multithreaded",
"params": null,
"param": null,
"extra_info": {},
"options": {
"disable_gc": false,
"timer": "perf_counter",
"min_rounds": 5,
"max_time": 1.0,
"min_time": 5e-06,
"warmup": false
},
"stats": {
"min": 1.2735157579999736,
"max": 1.2974291179999682,
"mean": 1.2808775475999823,
"stddev": 0.009899562134696335,
"rounds": 5,
"median": 1.2762350470000001,
"iqr": 0.011974889250026877,
"q1": 1.274333595499968,
"q3": 1.2863084847499948,
"iqr_outliers": 0,
"stddev_outliers": 1,
"outliers": "1;0",
"ld15iqr": 1.2735157579999736,
"hd15iqr": 1.2974291179999682,
"ops": 0.7807147544070308,
"total": 6.404387737999912,
"data": [
1.2826016070000037,
1.2762350470000001,
1.2974291179999682,
1.2735157579999736,
1.274606207999966
],
"iterations": 1
}
},
{
"group": null,
"name": "test_decode_batch",
"fullname": "tests/test_benchmarks.py::TestLlama3::test_decode_batch",
"params": null,
"param": null,
"extra_info": {},
"options": {
"disable_gc": false,
"timer": "perf_counter",
"min_rounds": 5,
"max_time": 1.0,
"min_time": 5e-06,
"warmup": false
},
"stats": {
"min": 0.002384884999969472,
"max": 0.002770886000007522,
"mean": 0.0024646603469412375,
"stddev": 6.434157604778509e-05,
"rounds": 343,
"median": 0.0024434329999962756,
"iqr": 5.287900002315382e-05,
"q1": 0.002423462999999515,
"q3": 0.002476342000022669,
"iqr_outliers": 37,
"stddev_outliers": 76,
"outliers": "76;37",
"ld15iqr": 0.002384884999969472,
"hd15iqr": 0.002556083000001763,
"ops": 405.7354195847101,
"total": 0.8453784990008444,
"data": [
0.0025731180000434506,
0.002473688999998558,
0.0025383459999943625,
0.002521710999985771,
0.002439306999974633,
0.002435621000017818,
0.0024422410000397576,
0.002464955999982976,
0.002500338999993801,
0.0024402290000011817,
0.0024524459999497594,
0.0024320960000068226,
0.0024922160000073745,
0.0024936190000062197,
0.0024585760000377377,
0.0024235630000362107,
0.002435861999970257,
0.002485685999999987,
0.002476412000021355,
0.002502402000004622,
0.002435481000020445,
0.002441490000023805,
0.002441750000002685,
0.002450484000007691,
0.00242791000005127,
0.0024553109999487788,
0.002427468999997018,
0.0024760019999803262,
0.002492476999975679,
0.002430945000014617,
0.0024854060000052414,
0.0024199480000106632,
0.0024202380000133417,
0.0024589569999875494,
0.0024658670000121674,
0.002430444000026455,
0.0024427519999790093,
0.002454389000035917,
0.0024237530000164043,
0.0024490409999771146,
0.002469240999971589,
0.002427720000014233,
0.0024145400000179507,
0.002470292999987578,
0.002429833000007875,
0.0024462880000442055,
0.002451474999986658,
0.0024174739999693884,
0.002441680999993423,
0.002421440000034636,
0.002455991999966045,
0.0024197879999974248,
0.0024379049999652125,
0.0024303139999801715,
0.002451765999978761,
0.002405335999981162,
0.0024127070000190542,
0.00247012300002325,
0.0024047050000035597,
0.0024844950000328936,
0.002419447000022501,
0.002457504999995308,
0.0024267580000127964,
0.002446376999955646,
0.002440539000019726,
0.0024436130000253797,
0.0024399979999998322,
0.0024100730000213844,
0.002428991000044789,
0.002434709999988627,
0.002465616999984377,
0.0024282100000050377,
0.0024576539999543456,
0.0024142990000086684,
0.002414830000020629,
0.002461019000008946,
0.0024401079999734065,
0.002439017000028798,
0.0024702329999968242,
0.002414911000016673,
0.002412026000001788,
0.0024554010000201743,
0.002423754000005829,
0.0024219609999818204,
0.002479246999996576,
0.0024188860000435852,
0.002435501000036311,
0.002412556000024324,
0.0024585049999927833,
0.0024542290000226785,
0.0024304529999881197,
0.002610373999971216,
0.002391144999990047,
0.002607710000006591,
0.0025825920000102087,
0.002384884999969472,
0.0023904530000322666,
0.0024350699999899916,
0.0024113050000096337,
0.0024761320000266096,
0.002440458999956263,
0.002431525000019974,
0.0024647150000305373,
0.002591756000015266,
0.0024227320000136388,
0.002442862000009427,
0.0024488710000127867,
0.0024124160000269512,
0.0024346499999978732,
0.00240987199998699,
0.002451876000009179,
0.0024260069999968437,
0.00247025300001269,
0.00240595600001825,
0.002426216999992903,
0.002435790999982146,
0.002468802000009873,
0.002439597000034155,
0.002402420999999322,
0.0024441250000108994,
0.0023949700000116536,
0.0024236529999939194,
0.0024482609999836313,
0.0024483099999770275,
0.002435922000017854,
0.002417623999974694,
0.002443864000042595,
0.002416471999993064,
0.0024261570000021493,
0.002457945000003292,
0.0024013899999886235,
0.002501319999964835,
0.0024284010000314993,
0.002465506999953959,
0.002598175999992236,
0.0024476889999505147,
0.0024173239999640828,
0.0026466589999927237,
0.0026797379999834448,
0.002413938000017879,
0.002421110000000226,
0.00242390300002171,
0.0024044950000075005,
0.0024693619999993643,
0.002770886000007522,
0.0025491420000207654,
0.0025564630000189936,
0.0024599580000312926,
0.0025548009999738497,
0.0024431730000173957,
0.002532077000012123,
0.0024688309999874036,
0.0025778149999950983,
0.002556432999995195,
0.0025183259999721486,
0.0025418010000066715,
0.0025241550000032476,
0.0025404390000289823,
0.0024225410000440206,
0.002435692000005929,
0.002438575999974546,
0.0024647260000278948,
0.0024411889999669256,
0.0024536889999922096,
0.0024725069999931293,
0.0024170629999957782,
0.0024482210000087434,
0.0024481799999875875,
0.0024089909999815973,
0.0026361129999941113,
0.002397894000012002,
0.0024337479999871903,
0.0024457760000018425,
0.002556723999987298,
0.0025834630000076686,
0.0025001589999646967,
0.002539628000022276,
0.0025787170000057813,
0.0025555220000228474,
0.002417874999991909,
0.0024021620000098665,
0.002490754999996625,
0.0026120970000533816,
0.0024437029999830884,
0.0024119060000202808,
0.002399037000031967,
0.0024511750000328902,
0.0024035630000298625,
0.0024225220000175796,
0.0024386359999652996,
0.0026445049999779258,
0.002393517999962569,
0.0026031330000364505,
0.00242344299999786,
0.002487700000017412,
0.0025459870000190676,
0.002541129999997338,
0.00245304700001725,
0.00244652800000722,
0.0024123370000097566,
0.002451535000034255,
0.002435501000036311,
0.0026203589999909127,
0.002425295999955779,
0.0024598979999836956,
0.0027058379999971294,
0.002458686000011312,
0.002556083000001763,
0.002466827999967336,
0.0024632020000012744,
0.00249512999999979,
0.002540418999956273,
0.0024776750000228276,
0.002409431999979006,
0.0024323260000187474,
0.0024120460000176536,
0.0024239140000190673,
0.0024201379999908568,
0.0024175140000011197,
0.0024225519999845346,
0.0024381750000088687,
0.0024303539999550594,
0.0024006190000136485,
0.0024444339999831755,
0.0024415000000317377,
0.002443042000038531,
0.002414219000002049,
0.0024355909999940195,
0.002437714999985019,
0.0024066479999760304,
0.002446578000046884,
0.0024228820000189444,
0.0024621509999747104,
0.002478596000003108,
0.002532385999984399,
0.002424194000013813,
0.002427157999989049,
0.002422190999993745,
0.0023985359999869615,
0.0027283109999984845,
0.002532497999993666,
0.00243760400002202,
0.0024207590000173695,
0.0026281910000420794,
0.002408920999982911,
0.0026313760000107322,
0.0024437630000306854,
0.002500898999983292,
0.002545306999991226,
0.002458826000008685,
0.002586768000014672,
0.002449623000018164,
0.002538024999978461,
0.0025296420000131548,
0.0025951220000024477,
0.002443783999979132,
0.002630474999989474,
0.002424954999980855,
0.002447087999996711,
0.0024344689999793445,
0.0024707450000391873,
0.0024357310000482357,
0.00244954200002212,
0.0024468080000019654,
0.00241503099999818,
0.002419698000039716,
0.002404083999977047,
0.002426237999998193,
0.002419997999993484,
0.002414999999984957,
0.002520299000025261,
0.0025274590000208264,
0.0024542600000359016,
0.002421851000008246,
0.0024434329999962756,
0.002409802000045147,
0.002432266000027994,
0.002413167000042904,
0.0024804179999478038,
0.002425806999951874,
0.002420078000000103,
0.002450603999989198,
0.002405866000003698,
0.002426367999987633,
0.002402821999964999,
0.0024465970000164816,
0.0024555919999897924,
0.002427659999966636,
0.0024728879999997844,
0.0024395770000182893,
0.002423974000009821,
0.0024004379999951198,
0.0024450150000348003,
0.0023941889999719024,
0.002416691999997056,
0.0024410600000237537,
0.002390623999986019,
0.0024382249999916894,
0.0024166130000367048,
0.002448490999995556,
0.0024387760000195158,
0.0023988460000055056,
0.002473138000027575,
0.0024235230000044794,
0.0024884110000016335,
0.002421149000042533,
0.0025309440000000905,
0.0023984960000120736,
0.002444444999980533,
0.0024334780000003775,
0.002458455999999387,
0.0024270389999969666,
0.002462202000003799,
0.002591705999975602,
0.002417713999989246,
0.0025319760000002134,
0.002582782999979827,
0.0024398080000196387,
0.0025459870000190676,
0.002451995999990686,
0.002581039000006058,
0.0023998780000056286,
0.0025452859999859356,
0.002461659999994481,
0.00261880700003303,
0.002457864999996673,
0.0025324970000042413,
0.0025632930000369925,
0.002535711000007268,
0.002535792000003312,
0.002442121000001407,
0.0024406489999933,
0.0026072900000144728,
0.0024303030000396575,
0.002631215000008069,
0.0023906440000018847,
0.002611324999975295,
0.002388630999973884,
0.0026369340000087504,
0.0023956109999971886,
0.002461630999960107,
0.002411194999979216,
0.0024824619999890274
],
"iterations": 1
}
},
{
"group": null,
"name": "test_async_encode_batch",
"fullname": "tests/test_benchmarks.py::TestAsync::test_async_encode_batch",
"params": null,
"param": null,
"extra_info": {},
"options": {
"disable_gc": false,
"timer": "perf_counter",
"min_rounds": 5,
"max_time": 1.0,
"min_time": 5e-06,
"warmup": false
},
"stats": {
"min": 1.2795948209999892,
"max": 1.3010942460000479,
"mean": 1.2907898154000121,
"stddev": 0.007864090580124092,
"rounds": 5,
"median": 1.2926185229999874,
"iqr": 0.009061663500034456,
"q1": 1.2857958592500012,
"q3": 1.2948575227500356,
"iqr_outliers": 0,
"stddev_outliers": 2,
"outliers": "2;0",
"ld15iqr": 1.2795948209999892,
"hd15iqr": 1.3010942460000479,
"ops": 0.774719468707694,
"total": 6.453949077000061,
"data": [
1.2927786150000316,
1.3010942460000479,
1.2926185229999874,
1.2878628720000052,
1.2795948209999892
],
"iterations": 1
}
},
{
"group": null,
"name": "test_async_encode_batch_fast",
"fullname": "tests/test_benchmarks.py::TestAsync::test_async_encode_batch_fast",
"params": null,
"param": null,
"extra_info": {},
"options": {
"disable_gc": false,
"timer": "perf_counter",
"min_rounds": 5,
"max_time": 1.0,
"min_time": 5e-06,
"warmup": false
},
"stats": {
"min": 0.9963054069999657,
"max": 1.010901025999999,
"mean": 1.0018105591999984,
"stddev": 0.005434563082013297,
"rounds": 5,
"median": 1.0005213460000277,
"iqr": 0.004653179500024862,
"q1": 0.9990710957499829,
"q3": 1.0037242752500077,
"iqr_outliers": 1,
"stddev_outliers": 2,
"outliers": "2;1",
"ld15iqr": 0.9963054069999657,
"hd15iqr": 1.010901025999999,
"ops": 0.9981927130001064,
"total": 5.009052795999992,
"data": [
0.9963054069999657,
1.010901025999999,
1.0013320250000106,
0.9999929919999886,
1.0005213460000277
],
"iterations": 1
}
},
{
"group": null,
"name": "test_from_file_roberta",
"fullname": "tests/test_benchmarks.py::TestSerialization::test_from_file_roberta",
"params": null,
"param": null,
"extra_info": {},
"options": {
"disable_gc": false,
"timer": "perf_counter",
"min_rounds": 5,
"max_time": 1.0,
"min_time": 5e-06,
"warmup": false
},
"stats": {
"min": 0.0754577559999916,
"max": 0.0802417379999838,
"mean": 0.07661996153845727,
"stddev": 0.00123636663147333,
"rounds": 13,
"median": 0.07647965199998907,
"iqr": 0.0010931870000518984,
"q1": 0.07581982924997988,
"q3": 0.07691301625003177,
"iqr_outliers": 1,
"stddev_outliers": 1,
"outliers": "1;1",
"ld15iqr": 0.0754577559999916,
"hd15iqr": 0.0802417379999838,
"ops": 13.051429156592278,
"total": 0.9960594999999444,
"data": [
0.07707196299998031,
0.07647965199998907,
0.07613198899997542,
0.07548091099999965,
0.0754577559999916,
0.0802417379999838,
0.07575234800003727,
0.07602094300000317,
0.07584232299996074,
0.07686003400004893,
0.07681953299999122,
0.07674536199999693,
0.07715494799998623
],
"iterations": 1
}
},
{
"group": null,
"name": "test_from_file_llama3",
"fullname": "tests/test_benchmarks.py::TestSerialization::test_from_file_llama3",
"params": null,
"param": null,
"extra_info": {},
"options": {
"disable_gc": false,
"timer": "perf_counter",
"min_rounds": 5,
"max_time": 1.0,
"min_time": 5e-06,
"warmup": false
},
"stats": {
"min": 0.4137282020000157,
"max": 0.4453199580000273,
"mean": 0.43116930940000203,
"stddev": 0.011301563904063096,
"rounds": 5,
"median": 0.43223351400001775,
"iqr": 0.009690946749998375,
"q1": 0.4267473739999872,
"q3": 0.43643832074998556,
"iqr_outliers": 0,
"stddev_outliers": 2,
"outliers": "2;0",
"ld15iqr": 0.4137282020000157,
"hd15iqr": 0.4453199580000273,
"ops": 2.3192745360089755,
"total": 2.15584654700001,
"data": [
0.43347777499997164,
0.4453199580000273,
0.43223351400001775,
0.4310870979999777,
0.4137282020000157
],
"iterations": 1
}
},
{
"group": null,
"name": "test_from_file_albert",
"fullname": "tests/test_benchmarks.py::TestSerialization::test_from_file_albert",
"params": null,
"param": null,
"extra_info": {},
"options": {
"disable_gc": false,
"timer": "perf_counter",
"min_rounds": 5,
"max_time": 1.0,
"min_time": 5e-06,
"warmup": false
},
"stats": {
"min": 0.045469592000017656,
"max": 0.04827175499997338,
"mean": 0.046680160913045096,
"stddev": 0.0007083792913832547,
"rounds": 23,
"median": 0.04653716699999677,
"iqr": 0.0008891212500117263,
"q1": 0.04615593625000258,
"q3": 0.04704505750001431,
"iqr_outliers": 0,
"stddev_outliers": 6,
"outliers": "6;0",
"ld15iqr": 0.045469592000017656,
"hd15iqr": 0.04827175499997338,
"ops": 21.42237688217872,
"total": 1.0736437010000373,
"data": [
0.046727814000007584,
0.04590148099998714,
0.04650525799996785,
0.04625879900004293,
0.04605707399997527,
0.0468728309999733,
0.046546370000044135,
0.04827175499997338,
0.04617730600000414,
0.04693914099999574,
0.04804833999997982,
0.047333694000030846,
0.04607835699999896,
0.0470803630000205,
0.04634890400001268,
0.04656181299998252,
0.04740293899999415,
0.046148813000002065,
0.04782922999999073,
0.046133009000016045,
0.04641365100002304,
0.04653716699999677,
0.045469592000017656
],
"iterations": 1
}
},
{
"group": null,
"name": "test_to_str_llama3",
"fullname": "tests/test_benchmarks.py::TestSerialization::test_to_str_llama3",
"params": null,
"param": null,
"extra_info": {},
"options": {
"disable_gc": false,
"timer": "perf_counter",
"min_rounds": 5,
"max_time": 1.0,
"min_time": 5e-06,
"warmup": false
},
"stats": {
"min": 0.11020845100000543,
"max": 0.1124837940000134,
"mean": 0.11131602319999842,
"stddev": 0.0007196574793352906,
"rounds": 10,
"median": 0.11131917699998439,
"iqr": 0.0009864740000011807,
"q1": 0.11082185399999389,
"q3": 0.11180832799999507,
"iqr_outliers": 0,
"stddev_outliers": 3,
"outliers": "3;0",
"ld15iqr": 0.11020845100000543,
"hd15iqr": 0.1124837940000134,
"ops": 8.983432674407776,
"total": 1.1131602319999843,
"data": [
0.1117701000000011,
0.11109590600000274,
0.1124837940000134,
0.11193744100000913,
0.11039600399999472,
0.11180832799999507,
0.11020845100000543,
0.11082185399999389,
0.11153933299999608,
0.11109902099997271
],
"iterations": 1
}
},
{
"group": null,
"name": "test_from_str_llama3",
"fullname": "tests/test_benchmarks.py::TestSerialization::test_from_str_llama3",
"params": null,
"param": null,
"extra_info": {},
"options": {
"disable_gc": false,
"timer": "perf_counter",
"min_rounds": 5,
"max_time": 1.0,
"min_time": 5e-06,
"warmup": false
},
"stats": {
"min": 0.4113153139999781,
"max": 0.41710575100000824,
"mean": 0.4143622015999995,
"stddev": 0.002807418508722507,
"rounds": 5,
"median": 0.4153355390000115,
"iqr": 0.005351065249996623,
"q1": 0.4113975019999998,
"q3": 0.4167485672499964,
"iqr_outliers": 0,
"stddev_outliers": 2,
"outliers": "2;0",
"ld15iqr": 0.4113153139999781,
"hd15iqr": 0.41710575100000824,
"ops": 2.4133475402405073,
"total": 2.0718110079999974,
"data": [
0.41142489800000703,
0.4113153139999781,
0.41710575100000824,
0.4166295059999925,
0.4153355390000115
],
"iterations": 1
}
},
{
"group": null,
"name": "test_train_bpe_small",
"fullname": "tests/test_benchmarks.py::TestTraining::test_train_bpe_small",
"params": null,
"param": null,
"extra_info": {},
"options": {
"disable_gc": false,
"timer": "perf_counter",
"min_rounds": 5,
"max_time": 1.0,
"min_time": 5e-06,
"warmup": false
},
"stats": {
"min": 0.014965817000017978,
"max": 0.019043740000029175,
"mean": 0.01546342077965985,
"stddev": 0.0006206619942592022,
"rounds": 59,
"median": 0.015324456000030295,
"iqr": 0.0002961482500296597,
"q1": 0.015193927499979054,
"q3": 0.015490075750008714,
"iqr_outliers": 5,
"stddev_outliers": 5,
"outliers": "5;5",
"ld15iqr": 0.014965817000017978,
"hd15iqr": 0.016132190999996965,
"ops": 64.66874401525514,
"total": 0.9123418259999312,
"data": [
0.017387748999965424,
0.01666105700002163,
0.015220479999982217,
0.015121582000006129,
0.015074429999970107,
0.015324456000030295,
0.015126208000026509,
0.01533379999995077,
0.015461703000028137,
0.015261462000012216,
0.01536915299999464,
0.01557515299998613,
0.015225046999944425,
0.015198036000015236,
0.015231516000028478,
0.015139047999980448,
0.015141781000011179,
0.015192557999966994,
0.019043740000029175,
0.01558737100003782,
0.0150882610000167,
0.015226128999984212,
0.015489625000043361,
0.015360992000012175,
0.015376123999999436,
0.01582326599998396,
0.015921463999973184,
0.016263788999992812,
0.016132190999996965,
0.015130284000008487,
0.015490225999997165,
0.015229493999981969,
0.015465078000033827,
0.014965817000017978,
0.01499901699997963,
0.015088641999966512,
0.015338638000002902,
0.015490797000040857,
0.015234561999989182,
0.015253259999951752,
0.01506622800002333,
0.015497996999954466,
0.01545369100000471,
0.015514080999992075,
0.01533916899995802,
0.015346640000018397,
0.01506556599997566,
0.01524120099998072,
0.015459389000000101,
0.015270876000045064,
0.015276534000008724,
0.015176965000023301,
0.01566257500002166,
0.015358547999994698,
0.01532016900000599,
0.015040079000016249,
0.01536263399998461,
0.015306869999960782,
0.015538628000001609
],
"iterations": 1
}
}
],
"datetime": "2026-04-09T05:50:31.518016+00:00",
"version": "5.2.3"
}