Datasets:

Modalities:
Image
Text
Formats:
text
Size:
< 1K
Libraries:
Datasets
tokenizers-bench / python-baseline.json
ArthurZ's picture
ArthurZ HF Staff
Upload python-baseline.json with huggingface_hub
e5526c8 verified
{
"machine_info": {
"node": "runnervm35a4x",
"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-1010-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 7763 64-Core Processor",
"hz_advertised_friendly": "3.1810 GHz",
"hz_actual_friendly": "3.1810 GHz",
"hz_advertised": [
3181027000,
0
],
"hz_actual": [
3181027000,
0
],
"stepping": 1,
"model": 1,
"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": 524288,
"l2_cache_size": 1048576,
"l1_data_cache_size": 65536,
"l1_instruction_cache_size": 65536,
"l2_cache_line_size": 512,
"l2_cache_associativity": 6
}
},
"commit_info": {
"id": "19015d6b44aa3896626de5092e4171aed1b56d5b",
"time": "2026-04-10T17:23:59+02:00",
"author_time": "2026-04-10T17:23:59+02:00",
"dirty": false,
"project": "tokenizers",
"branch": "main"
},
"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": 15,
"max_time": 1.0,
"min_time": 5e-06,
"warmup": false
},
"stats": {
"min": 2.3743953039999894,
"max": 2.447325484000004,
"mean": 2.399734146799996,
"stddev": 0.02037925146561543,
"rounds": 15,
"median": 2.3964080369999863,
"iqr": 0.03223365874999118,
"q1": 2.3838512302499986,
"q3": 2.4160848889999897,
"iqr_outliers": 0,
"stddev_outliers": 4,
"outliers": "4;0",
"ld15iqr": 2.3743953039999894,
"hd15iqr": 2.447325484000004,
"ops": 0.41671282684937516,
"total": 35.996012201999946,
"data": [
2.4196846739999955,
2.421628650999992,
2.4170857349999864,
2.380609523000004,
2.3844419790000018,
2.400617311000005,
2.3984708100000063,
2.3743953039999894,
2.447325484000004,
2.376898438999987,
2.3836543139999975,
2.3908467969999947,
2.413082351,
2.3964080369999863,
2.3908627929999966
],
"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": 15,
"max_time": 1.0,
"min_time": 5e-06,
"warmup": false
},
"stats": {
"min": 1.1872947520000139,
"max": 1.220464824000004,
"mean": 1.195559536600005,
"stddev": 0.008600092341844862,
"rounds": 15,
"median": 1.1928475380000236,
"iqr": 0.0026932494999982737,
"q1": 1.191154104000006,
"q3": 1.1938473535000043,
"iqr_outliers": 3,
"stddev_outliers": 2,
"outliers": "2;3",
"ld15iqr": 1.1872947520000139,
"hd15iqr": 1.2022247040000025,
"ops": 0.8364284415679144,
"total": 17.933393049000074,
"data": [
1.2022247040000025,
1.1927999970000087,
1.2082871620000049,
1.1936375649999889,
1.1924817670000039,
1.1905207960000155,
1.1938640850000013,
1.1892151849999948,
1.1937971590000132,
1.1928475380000236,
1.1908378900000116,
1.192102745999989,
1.1872947520000139,
1.1930168789999982,
1.220464824000004
],
"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": 15,
"max_time": 1.0,
"min_time": 5e-06,
"warmup": false
},
"stats": {
"min": 1.1857173220000163,
"max": 1.2005918950000023,
"mean": 1.1897761519333396,
"stddev": 0.003901480358845381,
"rounds": 15,
"median": 1.1882418550000011,
"iqr": 0.002183606000002669,
"q1": 1.18781805375,
"q3": 1.1900016597500027,
"iqr_outliers": 3,
"stddev_outliers": 4,
"outliers": "4;3",
"ld15iqr": 1.1857173220000163,
"hd15iqr": 1.1933928880000053,
"ops": 0.8404942378236774,
"total": 17.846642279000093,
"data": [
1.1887450920000049,
1.188046073999999,
1.2005918950000023,
1.1951832840000236,
1.1873860180000122,
1.1877420470000004,
1.1899629800000184,
1.189505865000001,
1.1900145529999975,
1.188152625000015,
1.1882418550000011,
1.1857173220000163,
1.1858331569999905,
1.1933928880000053,
1.188126624000006
],
"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": 15,
"max_time": 1.0,
"min_time": 5e-06,
"warmup": false
},
"stats": {
"min": 2.533154805999999,
"max": 2.549138782,
"mean": 2.5429743055333387,
"stddev": 0.004568508655171963,
"rounds": 15,
"median": 2.5438257410000062,
"iqr": 0.006412658750008404,
"q1": 2.540088286999996,
"q3": 2.5465009457500045,
"iqr_outliers": 0,
"stddev_outliers": 5,
"outliers": "5;0",
"ld15iqr": 2.533154805999999,
"hd15iqr": 2.549138782,
"ops": 0.39324030833660734,
"total": 38.14461458300008,
"data": [
2.533154805999999,
2.539688979999994,
2.543068144000017,
2.5358927640000104,
2.5478527789999816,
2.5477421600000127,
2.539297569000013,
2.5438335790000224,
2.5453518250000116,
2.5415096549999987,
2.5464554950000036,
2.549138782,
2.546516096000005,
2.5412862080000025,
2.5438257410000062
],
"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": 15,
"max_time": 1.0,
"min_time": 5e-06,
"warmup": false
},
"stats": {
"min": 1.28306665300002,
"max": 1.3166877820000025,
"mean": 1.2923458328666642,
"stddev": 0.01051226339320737,
"rounds": 15,
"median": 1.289309621000001,
"iqr": 0.008746781000020576,
"q1": 1.2852598922499823,
"q3": 1.2940066732500028,
"iqr_outliers": 2,
"stddev_outliers": 3,
"outliers": "3;2",
"ld15iqr": 1.28306665300002,
"hd15iqr": 1.312979456999983,
"ops": 0.7737866866346553,
"total": 19.38518749299996,
"data": [
1.2858522939999943,
1.28306665300002,
1.2888467979999803,
1.2837364620000074,
1.289309621000001,
1.2894894060000013,
1.286554740000014,
1.2926354970000205,
1.3166877820000025,
1.2850624249999782,
1.290060244999978,
1.2832485149999968,
1.312979456999983,
1.294463731999997,
1.3031938659999867
],
"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": 15,
"max_time": 1.0,
"min_time": 5e-06,
"warmup": false
},
"stats": {
"min": 1.0221910289999983,
"max": 1.0419216869999843,
"mean": 1.0323991828000014,
"stddev": 0.006403597278179463,
"rounds": 15,
"median": 1.0320369290000144,
"iqr": 0.010368877500020801,
"q1": 1.02739206199999,
"q3": 1.0377609395000107,
"iqr_outliers": 0,
"stddev_outliers": 6,
"outliers": "6;0",
"ld15iqr": 1.0221910289999983,
"hd15iqr": 1.0419216869999843,
"ops": 0.9686175819007038,
"total": 15.48598774200002,
"data": [
1.0247263159999989,
1.0338999150000063,
1.027719281000003,
1.0372877720000133,
1.0320369290000144,
1.0419216869999843,
1.0308520090000002,
1.0354535079999891,
1.0301990430000103,
1.0398802990000036,
1.0272829889999855,
1.0379186620000098,
1.0407636639999964,
1.0238546390000067,
1.0221910289999983
],
"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": 15,
"max_time": 1.0,
"min_time": 5e-06,
"warmup": false
},
"stats": {
"min": 1.2708000290000427,
"max": 1.3028170999999702,
"mean": 1.2755628434666695,
"stddev": 0.00788441931785915,
"rounds": 15,
"median": 1.2744114540000169,
"iqr": 0.0041103052499948944,
"q1": 1.2715738145000017,
"q3": 1.2756841197499966,
"iqr_outliers": 1,
"stddev_outliers": 1,
"outliers": "1;1",
"ld15iqr": 1.2708000290000427,
"hd15iqr": 1.3028170999999702,
"ops": 0.7839676462213679,
"total": 19.133442652000042,
"data": [
1.2780530819999854,
1.271886056000028,
1.2744114540000169,
1.2746838279999793,
1.2751518260000125,
1.2722241829999916,
1.2720608330000118,
1.2748675119999575,
1.2708000290000427,
1.2708383630000526,
1.3028170999999702,
1.2713452860000416,
1.271469733999993,
1.2758615509999913,
1.2769718149999676
],
"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": 15,
"max_time": 1.0,
"min_time": 5e-06,
"warmup": false
},
"stats": {
"min": 0.0023072270000170647,
"max": 0.0026455070000110936,
"mean": 0.002410847412568646,
"stddev": 7.678390304656086e-05,
"rounds": 366,
"median": 0.002389895500016337,
"iqr": 9.223199998587006e-05,
"q1": 0.0023527619999867966,
"q3": 0.0024449939999726666,
"iqr_outliers": 16,
"stddev_outliers": 101,
"outliers": "101;16",
"ld15iqr": 0.0023072270000170647,
"hd15iqr": 0.0025875499999870044,
"ops": 414.7919087647884,
"total": 0.8823701530001244,
"data": [
0.0024662029999831248,
0.0024253369999769347,
0.0024264479999942523,
0.002461314000015591,
0.0024219609999818204,
0.0024836050000089926,
0.002495918000022357,
0.002490868999984741,
0.0023982259999684175,
0.0024621150000143643,
0.0024299060000316786,
0.002486030000000028,
0.0023837579999508307,
0.0024215619999949922,
0.002458908999983578,
0.0024746179999510787,
0.002432881000004272,
0.0024091770000040924,
0.0024278820000063206,
0.002420779000033235,
0.002405309999971905,
0.0024450439999554874,
0.0023853920000078688,
0.002420618000030572,
0.0023857229999748597,
0.002421861000016179,
0.002392966999991586,
0.0024233729999991738,
0.002422150999962014,
0.0023895200000083605,
0.002429966000022432,
0.0024792080000111127,
0.0024402640000289466,
0.002404026999954567,
0.002403004999962377,
0.002426670000033937,
0.002393949000008888,
0.002432930999987093,
0.0024189150000211157,
0.002444562999983191,
0.002590494999992643,
0.002473075000011704,
0.0025539350000371996,
0.002373431000023629,
0.0026392450000116696,
0.002500407000013638,
0.002587800000014795,
0.0024499540000419984,
0.002418173000023671,
0.002480289000004632,
0.0023722870000142393,
0.0023714160000167794,
0.0024844069999971907,
0.002384621000032894,
0.002387356000042473,
0.0025268159999995987,
0.0024473779999993894,
0.0025039939999942362,
0.0023823570000445216,
0.0025676820000057887,
0.0024190849999854436,
0.002409446999990905,
0.002366687999995065,
0.0024797290000151406,
0.0024267790000180867,
0.002401492999979382,
0.002386784999998781,
0.0023838899999759633,
0.0026455070000110936,
0.002594231999978547,
0.0023722590000261334,
0.002330480000011903,
0.002444341999989774,
0.002341090000015811,
0.0023162130000287107,
0.002479468000046836,
0.002321322999989661,
0.0023227259999885064,
0.0023835590000089724,
0.0023365019999914693,
0.002559125999994194,
0.002333867000004375,
0.0023137390000442792,
0.0025543170000332793,
0.0023218039999619577,
0.002383819999977277,
0.0023608070000022963,
0.002396473999965565,
0.002477473999988433,
0.002330561000007947,
0.0025885809999977027,
0.002333685999985846,
0.00236439299999347,
0.0025053159999970376,
0.002337121999971714,
0.0025383970000234513,
0.002424685999983467,
0.0023557869999990544,
0.002329008000003796,
0.002606503999970755,
0.0024026140000046325,
0.0023772069999949963,
0.00247439800000393,
0.002351349000036862,
0.0023598450000008597,
0.002377346999992369,
0.0023398879999945166,
0.002428463000001102,
0.0023330249999844455,
0.0025415739999630205,
0.0023917550000192023,
0.0023815750000153457,
0.0025222769999686534,
0.0023560480000242023,
0.002406911999969452,
0.0023770170000148028,
0.0024449939999726666,
0.002462074999982633,
0.002373791999957575,
0.0023705849999942075,
0.002327645000036682,
0.002373019000003751,
0.0023319730000253003,
0.002396113000031619,
0.002525644000002103,
0.0024133439999900475,
0.0023785900000348192,
0.0025503500000354506,
0.0023740610000118068,
0.002406272000030185,
0.0023371220000285575,
0.002570236999986264,
0.002345168000033482,
0.002350868000007722,
0.002471833000015522,
0.002340219000018351,
0.002401050999992549,
0.0023840800000130002,
0.002565828000001602,
0.0023248800000033043,
0.0023529420000159007,
0.0024185839999972814,
0.002313017000005857,
0.002336571000000731,
0.002402003999975477,
0.0023700239999584483,
0.002463939999984177,
0.0024041379999744095,
0.0023695630000020174,
0.0025875499999870044,
0.0023298990000171216,
0.0023611469999877954,
0.0023461899999688285,
0.002313398000012512,
0.002416971000002377,
0.0023509380000064084,
0.002408686000023863,
0.0023493449999705263,
0.0023720969999772024,
0.0024390830000129426,
0.0023858039999709035,
0.002367309000021578,
0.0025674209999806408,
0.002316494000012881,
0.002424824999991415,
0.0023415310000132195,
0.0023677790000533605,
0.002386474999980237,
0.0023466609999900356,
0.0025106449999725555,
0.0023527619999867966,
0.002336302000003343,
0.002541823999990811,
0.0023358099999768456,
0.0023855629999616212,
0.002319850999981554,
0.002349164000008841,
0.0023568990000057966,
0.0023973250000040025,
0.00242558799999415,
0.0023923960000047373,
0.002321112999993602,
0.0024900779999939004,
0.0023545249999870066,
0.002328637000005074,
0.0025342499999965185,
0.0023218849999580016,
0.0024787159999846153,
0.0024301660000105585,
0.0023912830000085705,
0.0023368220000179463,
0.0023081089999550386,
0.0024646210000014435,
0.0023425630000133424,
0.0023164849999943726,
0.002533578999987185,
0.0023891490000096383,
0.0023560590000215598,
0.0023948710000354367,
0.0023556969999845023,
0.0023492160000273543,
0.0023809339999729673,
0.0025106639999989966,
0.0023997999999778585,
0.0023506690000090202,
0.0025498880000327517,
0.002337001999990207,
0.0023662769999646116,
0.00232564100002719,
0.002365165000014713,
0.002394338999977208,
0.0023728290000235575,
0.00237498400002778,
0.0024882630000320205,
0.002343414999984361,
0.002543517999981759,
0.002379230999963511,
0.00234936600003266,
0.0023642730000119627,
0.0023995579999791516,
0.002526052999996864,
0.0023444060000201716,
0.002356168999995134,
0.002361978999999792,
0.002404087000002164,
0.002363492000029055,
0.0023445969999897898,
0.0026153000000022075,
0.00234799300000077,
0.0023529110000026776,
0.002567261999956827,
0.002400390999980573,
0.0025910759999874244,
0.0023735700000315774,
0.0025572829999873647,
0.0023106929999698878,
0.0023544950000200515,
0.002363000999991982,
0.002337693000015406,
0.0026074160000462143,
0.0023378340000022035,
0.0023726079999732974,
0.0023958429999879627,
0.0025741239999774734,
0.00240460900005246,
0.002315332000023318,
0.0025099449999856915,
0.0023072270000170647,
0.002340037999999822,
0.002526825000018107,
0.0024099580000438436,
0.0024144879999994373,
0.0024084960000436695,
0.002593208999996932,
0.0023651440000094226,
0.002374090999978762,
0.0023516599999879872,
0.0023568990000057966,
0.0025994520000267585,
0.002410078999957932,
0.0023759949999657692,
0.0023785800000268864,
0.00243631699999014,
0.002407442999981413,
0.0023468910000019605,
0.002449933000036708,
0.0023201110000172775,
0.002392675999999483,
0.0025533049999921786,
0.0023167649999891182,
0.002425155999958406,
0.0023374230000285934,
0.00237489299996696,
0.0024034260000007635,
0.0023773770000161676,
0.002480138999999326,
0.002328277000003709,
0.0024322699999856923,
0.002480499000000691,
0.0023478420000060396,
0.0023694230000046446,
0.0023196000000211825,
0.0023113039999884677,
0.0024868620000120245,
0.002350557999989178,
0.0023990079999975933,
0.0023401990000024853,
0.0024083949999749166,
0.002602885999976934,
0.0023385149999626265,
0.0023700950000034027,
0.0023902710000243133,
0.002421830000002956,
0.0023816260000444345,
0.0023386750000327083,
0.0024806800000192197,
0.002342542000008052,
0.002347420999967653,
0.002393467000047167,
0.0023558169999660095,
0.002547744999958468,
0.0023557869999990544,
0.002324479000037627,
0.00257354400002896,
0.0023412710000343395,
0.002415208000002167,
0.0023933680000141067,
0.0025636640000357147,
0.0023571799999899667,
0.0024168699999904675,
0.0024535579999565016,
0.0023626409999906173,
0.002353012000014587,
0.0024037169999928665,
0.0023337779999792474,
0.002350597999964066,
0.0023376139999982115,
0.0025391390000208958,
0.002351169000007758,
0.0023437149999949725,
0.00258905999999115,
0.0023596050000378455,
0.002355115999989721,
0.0024007720000440713,
0.002423382999950263,
0.002604880999967918,
0.002388338000002932,
0.0025429849999909493,
0.0023328750000359832,
0.0024205479999750423,
0.002356489000021611,
0.00236508499995125,
0.0024137859999768807,
0.002313469000000623,
0.002509853999981715,
0.0023482330000206275,
0.002369783999995434,
0.00252589399997305,
0.002349806000040644,
0.002395110999998451,
0.0023748730000079377,
0.0023783690000414026,
0.0023669679999898108,
0.0023231170000030943,
0.002435085000001891,
0.0025162569999679363,
0.0024834649999547764,
0.0024113710000506217,
0.002395753000030254,
0.0023825569999758045,
0.0023395679999680397,
0.002551492000009148,
0.0023384450000207835,
0.002404488000024685,
0.0024416580000092836,
0.0023454280000123617,
0.0023578619999966577,
0.002501077999966128,
0.0023772280000002866,
0.002531003999990844,
0.0023251709999954073,
0.002440564999972139,
0.0023614379999798984,
0.002386455000021215,
0.002364382999985537,
0.002326392999975724
],
"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": 15,
"max_time": 1.0,
"min_time": 5e-06,
"warmup": false
},
"stats": {
"min": 1.2793692159999637,
"max": 1.3239673120000361,
"mean": 1.2968742508666575,
"stddev": 0.012825510939136678,
"rounds": 15,
"median": 1.2912584100000117,
"iqr": 0.01969318200001169,
"q1": 1.2881057982499868,
"q3": 1.3077989802499985,
"iqr_outliers": 0,
"stddev_outliers": 4,
"outliers": "4;0",
"ld15iqr": 1.2793692159999637,
"hd15iqr": 1.3239673120000361,
"ops": 0.7710847827626569,
"total": 19.453113762999863,
"data": [
1.289904268999976,
1.284259996000003,
1.2876257570000007,
1.2893940949999774,
1.3094038469999987,
1.2941121779999776,
1.2884886530000017,
1.3107155540000122,
1.3152122699999609,
1.2912584100000117,
1.2879781799999819,
1.298439645999963,
1.302984379999998,
1.2793692159999637,
1.3239673120000361
],
"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": 15,
"max_time": 1.0,
"min_time": 5e-06,
"warmup": false
},
"stats": {
"min": 1.0228134349999891,
"max": 1.054743488999975,
"mean": 1.0343827321999925,
"stddev": 0.010489622693807661,
"rounds": 15,
"median": 1.0331576529999893,
"iqr": 0.014541296500041767,
"q1": 1.0255321069999752,
"q3": 1.040073403500017,
"iqr_outliers": 0,
"stddev_outliers": 4,
"outliers": "4;0",
"ld15iqr": 1.0228134349999891,
"hd15iqr": 1.054743488999975,
"ops": 0.9667601448383956,
"total": 15.515740982999887,
"data": [
1.0228134349999891,
1.02531040599996,
1.0248768480000194,
1.0271531089999826,
1.0262997489999748,
1.0261972100000207,
1.0244917709999868,
1.0331576529999893,
1.037147693999998,
1.0352546080000025,
1.054743488999975,
1.0407575980000274,
1.0380208199999856,
1.050170654999988,
1.0493459379999877
],
"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": 15,
"max_time": 1.0,
"min_time": 5e-06,
"warmup": false
},
"stats": {
"min": 0.06670765000001211,
"max": 0.0704779249999774,
"mean": 0.06823934593333357,
"stddev": 0.0009092216407942808,
"rounds": 15,
"median": 0.06806907599997203,
"iqr": 0.0011272655000169607,
"q1": 0.06767998150000665,
"q3": 0.06880724700002361,
"iqr_outliers": 0,
"stddev_outliers": 3,
"outliers": "3;0",
"ld15iqr": 0.06670765000001211,
"hd15iqr": 0.0704779249999774,
"ops": 14.65430224048381,
"total": 1.0235901890000036,
"data": [
0.06779822200002172,
0.06793213200000991,
0.06724516099995981,
0.06883615600003168,
0.0704779249999774,
0.06906405000000859,
0.06764056800000162,
0.0687205199999994,
0.06903516699998136,
0.06670765000001211,
0.06806907599997203,
0.06833261700001003,
0.06748070100002224,
0.06826624499996115,
0.0679839990000346
],
"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": 15,
"max_time": 1.0,
"min_time": 5e-06,
"warmup": false
},
"stats": {
"min": 0.3783624790000317,
"max": 0.40410958000001074,
"mean": 0.3918251160666765,
"stddev": 0.0077596984605594445,
"rounds": 15,
"median": 0.39268566900000224,
"iqr": 0.01206843225000398,
"q1": 0.38620125375000214,
"q3": 0.3982696860000061,
"iqr_outliers": 0,
"stddev_outliers": 6,
"outliers": "6;0",
"ld15iqr": 0.3783624790000317,
"hd15iqr": 0.40410958000001074,
"ops": 2.5521590091989683,
"total": 5.877376741000148,
"data": [
0.40077990700001465,
0.3855831870000088,
0.40410958000001074,
0.39931554899999355,
0.3816852759999847,
0.3951320970000438,
0.3927075999999943,
0.39406090100004576,
0.39036564999997836,
0.3880554539999821,
0.40193195200004084,
0.3783624790000317,
0.39268566900000224,
0.39053018300000986,
0.3820712570000069
],
"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": 15,
"max_time": 1.0,
"min_time": 5e-06,
"warmup": false
},
"stats": {
"min": 0.042871986000022844,
"max": 0.044549791000008554,
"mean": 0.04352396350000257,
"stddev": 0.0004751824781629263,
"rounds": 24,
"median": 0.04340440749999175,
"iqr": 0.0006635105000043495,
"q1": 0.043194441499991854,
"q3": 0.0438579519999962,
"iqr_outliers": 0,
"stddev_outliers": 6,
"outliers": "6;0",
"ld15iqr": 0.042871986000022844,
"hd15iqr": 0.044549791000008554,
"ops": 22.975848695396063,
"total": 1.0445751240000618,
"data": [
0.04329442300002029,
0.0432243719999974,
0.043024269000000004,
0.044466737000050216,
0.043267162000006465,
0.04310453900001221,
0.042871986000022844,
0.043164510999986305,
0.044549791000008554,
0.04329150699999218,
0.043459489999975176,
0.043560809000041445,
0.04388523299996905,
0.042920305999984976,
0.04345556300000908,
0.044441178999989006,
0.04388958099997353,
0.04383067100002336,
0.043286988000033944,
0.043648571999995056,
0.04389582200002451,
0.04360109399999601,
0.04308726699997578,
0.04335325199997442
],
"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": 15,
"max_time": 1.0,
"min_time": 5e-06,
"warmup": false
},
"stats": {
"min": 0.10090566299999182,
"max": 0.10525198800002045,
"mean": 0.10250460686666732,
"stddev": 0.000997840608298016,
"rounds": 15,
"median": 0.10232950400001073,
"iqr": 0.0009466384999541333,
"q1": 0.10201962725001579,
"q3": 0.10296626574996992,
"iqr_outliers": 1,
"stddev_outliers": 3,
"outliers": "3;1",
"ld15iqr": 0.10090566299999182,
"hd15iqr": 0.10525198800002045,
"ops": 9.755659092481064,
"total": 1.5375691030000098,
"data": [
0.10270967299999256,
0.10220599400003039,
0.10299680800000033,
0.10224923499998795,
0.10525198800002045,
0.10293643599999314,
0.10232950400001073,
0.10297620899996218,
0.10172371700002714,
0.10197438300002659,
0.10215535999998338,
0.10241218900000604,
0.10090566299999182,
0.1013964269999974,
0.10334551699997974
],
"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": 15,
"max_time": 1.0,
"min_time": 5e-06,
"warmup": false
},
"stats": {
"min": 0.3579244360000189,
"max": 0.37943154199996343,
"mean": 0.36473057520000035,
"stddev": 0.005363738824476339,
"rounds": 15,
"median": 0.3642210950000049,
"iqr": 0.0033267835000003743,
"q1": 0.36256144600002926,
"q3": 0.36588822950002964,
"iqr_outliers": 2,
"stddev_outliers": 4,
"outliers": "4;2",
"ld15iqr": 0.3579244360000189,
"hd15iqr": 0.3721352889999707,
"ops": 2.741749850424931,
"total": 5.470958628000005,
"data": [
0.3625195190000454,
0.37943154199996343,
0.36502249100004747,
0.3721352889999707,
0.3661768090000237,
0.3642210950000049,
0.36450607599999785,
0.3626872269999808,
0.35963764699999956,
0.35865023299999166,
0.36281499599999734,
0.36461907599999677,
0.36713644499997145,
0.3579244360000189,
0.3634757469999954
],
"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": 15,
"max_time": 1.0,
"min_time": 5e-06,
"warmup": false
},
"stats": {
"min": 0.015454666999971778,
"max": 0.019357307999996465,
"mean": 0.016251922620683514,
"stddev": 0.0007705779472076009,
"rounds": 58,
"median": 0.015955799999971987,
"iqr": 0.0006632960000274579,
"q1": 0.01580894599999283,
"q3": 0.016472242000020287,
"iqr_outliers": 4,
"stddev_outliers": 8,
"outliers": "8;4",
"ld15iqr": 0.015454666999971778,
"hd15iqr": 0.0180702290000454,
"ops": 61.531181469404665,
"total": 0.9426115119996439,
"data": [
0.016625618000034592,
0.016208126999970318,
0.01609286900003326,
0.016239296999970065,
0.016099238999970567,
0.0160504959999912,
0.016004941999995026,
0.015704221000021334,
0.01579467999999906,
0.015609043999972982,
0.016915877999963413,
0.018136349999963386,
0.015889976999972077,
0.015811562000010326,
0.019357307999996465,
0.015872935999993842,
0.015692249000039737,
0.015829323999980716,
0.016038724999987153,
0.015875900999958503,
0.01846193800002993,
0.01591738899998063,
0.01728348200003893,
0.015721975000019484,
0.0180702290000454,
0.01668351600000051,
0.016472242000020287,
0.01587804499996537,
0.017108145999998214,
0.016086392999966392,
0.015955398999949466,
0.015940932999967572,
0.016705166000008376,
0.016738817999964795,
0.016704004000018813,
0.016717928999980813,
0.0156479859999763,
0.015813915999956407,
0.016467111999986628,
0.01568364299998848,
0.01580894599999283,
0.015845513999977356,
0.016222266999989188,
0.015556647000039447,
0.01585521199996265,
0.01734929399998464,
0.015956200999994508,
0.01573319600004197,
0.01638283599999113,
0.015614713999980268,
0.015947525000001406,
0.01595164200000454,
0.01613109599998097,
0.01562534400000004,
0.01564608300003556,
0.015454666999971778,
0.015561644999991131,
0.016061679000017648
],
"iterations": 1
}
}
],
"datetime": "2026-04-10T15:29:10.142651+00:00",
"version": "5.2.3"
}