Datasets:

Modalities:
Image
Libraries:
Datasets
tokenizers-bench / python-baseline.json
ArthurZ's picture
ArthurZ HF Staff
Upload python-baseline.json with huggingface_hub
3dbc10c verified
Raw
History Blame Contribute Delete
48.9 kB
{
"machine_info": {
"node": "aws-general-8-plus-use1-public-80-b9nl2-runner-k2x2t",
"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 23 2026 19:04:32"
],
"release": "6.12.94-123.192.amzn2023.x86_64",
"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": 32,
"arch_string_raw": "x86_64",
"vendor_id_raw": "GenuineIntel",
"brand_raw": "Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz",
"hz_advertised_friendly": "2.9000 GHz",
"hz_actual_friendly": "3.5139 GHz",
"hz_advertised": [
2900000000,
0
],
"hz_actual": [
3513911000,
0
],
"stepping": 6,
"model": 106,
"family": 6,
"flags": [
"3dnowprefetch",
"abm",
"adx",
"aes",
"aperfmperf",
"apic",
"arat",
"arch_capabilities",
"avx",
"avx2",
"avx512_bitalg",
"avx512_vbmi2",
"avx512_vnni",
"avx512_vpopcntdq",
"avx512bitalg",
"avx512bw",
"avx512cd",
"avx512dq",
"avx512f",
"avx512ifma",
"avx512vbmi",
"avx512vbmi2",
"avx512vl",
"avx512vnni",
"avx512vpopcntdq",
"bmi1",
"bmi2",
"clflush",
"clflushopt",
"clwb",
"cmov",
"constant_tsc",
"cpuid",
"cpuid_fault",
"cx16",
"cx8",
"de",
"erms",
"f16c",
"flush_l1d",
"fma",
"fpu",
"fsgsbase",
"fxsr",
"gfni",
"ht",
"hypervisor",
"ibpb",
"ibrs",
"ibrs_enhanced",
"ida",
"invpcid",
"lahf_lm",
"lm",
"mca",
"mce",
"md_clear",
"mmx",
"movbe",
"msr",
"mtrr",
"nonstop_tsc",
"nopl",
"nx",
"ospke",
"osxsave",
"pae",
"pat",
"pcid",
"pclmulqdq",
"pdpe1gb",
"pge",
"pku",
"pni",
"popcnt",
"pse",
"pse36",
"rdpid",
"rdrand",
"rdrnd",
"rdseed",
"rdtscp",
"rep_good",
"sep",
"sha",
"sha_ni",
"smap",
"smep",
"ss",
"ssbd",
"sse",
"sse2",
"sse4_1",
"sse4_2",
"ssse3",
"stibp",
"syscall",
"tme",
"tsc",
"tsc_adjust",
"tsc_deadline_timer",
"tsc_known_freq",
"tscdeadline",
"vaes",
"vme",
"vpclmulqdq",
"wbnoinvd",
"x2apic",
"xgetbv1",
"xsave",
"xsavec",
"xsaveopt",
"xsaves",
"xtopology"
],
"l3_cache_size": 56623104,
"l2_cache_size": 20971520,
"l1_data_cache_size": 786432,
"l1_instruction_cache_size": 524288,
"l2_cache_line_size": 256,
"l2_cache_associativity": 6
}
},
"commit_info": {
"id": "447890f84deab25794ccfdee2a877901b6893569",
"time": "2026-08-05T07:02:00+02:00",
"author_time": "2026-08-05T07:02:00+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.188770545999887,
"max": 2.263962141999855,
"mean": 2.224861168666636,
"stddev": 0.027067020625627658,
"rounds": 15,
"median": 2.2335465890000705,
"iqr": 0.04836160800005018,
"q1": 2.1986700569999584,
"q3": 2.2470316650000086,
"iqr_outliers": 0,
"stddev_outliers": 6,
"outliers": "6;0",
"ld15iqr": 2.188770545999887,
"hd15iqr": 2.263962141999855,
"ops": 0.44946624719029193,
"total": 33.37291752999954,
"data": [
2.2634290070000134,
2.259627105999698,
2.24865403900003,
2.263962141999855,
2.234195862999968,
2.2336578389999886,
2.195020035000198,
2.2421645429999444,
2.198490616000072,
2.197096949999832,
2.2335465890000705,
2.199208379999618,
2.2097055200001705,
2.2053883550001956,
2.188770545999887
],
"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": 0.5441911489997437,
"max": 0.565900640000109,
"mean": 0.5528599853333314,
"stddev": 0.0058200755014386875,
"rounds": 15,
"median": 0.5526099139997314,
"iqr": 0.005074078750112676,
"q1": 0.5496593637499245,
"q3": 0.5547334425000372,
"iqr_outliers": 1,
"stddev_outliers": 5,
"outliers": "5;1",
"ld15iqr": 0.5441911489997437,
"hd15iqr": 0.565900640000109,
"ops": 1.8087762300197547,
"total": 8.29289977999997,
"data": [
0.565900640000109,
0.5525018500002261,
0.5521823519998179,
0.5605399189998934,
0.5503712869999617,
0.5458701070001553,
0.5535101760001453,
0.5544876090002617,
0.5577109559999371,
0.5441911489997437,
0.5444916080000439,
0.5548153869999624,
0.5494220559999121,
0.5542947700000695,
0.5526099139997314
],
"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": 0.5410114030000841,
"max": 0.6022641679996923,
"mean": 0.5615072667333758,
"stddev": 0.01729010102434894,
"rounds": 15,
"median": 0.5572364170002402,
"iqr": 0.023476843749676846,
"q1": 0.5483297287501046,
"q3": 0.5718065724997814,
"iqr_outliers": 0,
"stddev_outliers": 6,
"outliers": "6;0",
"ld15iqr": 0.5410114030000841,
"hd15iqr": 0.6022641679996923,
"ops": 1.780920852222624,
"total": 8.422609001000637,
"data": [
0.5432353430001058,
0.5572364170002402,
0.5497574820001319,
0.5478538110000954,
0.5612692350000543,
0.5440641889999824,
0.5410114030000841,
0.5570207230002779,
0.5824227850002899,
0.6022641679996923,
0.5809337830000914,
0.5520446109999284,
0.5721877349997158,
0.5606442309999693,
0.5706630849999783
],
"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.5979722699999,
"max": 2.7670678210001824,
"mean": 2.6330395142000875,
"stddev": 0.04740884996904574,
"rounds": 15,
"median": 2.6136108170003354,
"iqr": 0.022569962999909876,
"q1": 2.605353657750129,
"q3": 2.627923620750039,
"iqr_outliers": 3,
"stddev_outliers": 2,
"outliers": "2;3",
"ld15iqr": 2.5979722699999,
"hd15iqr": 2.672921648999818,
"ops": 0.3797892111405696,
"total": 39.495592713001315,
"data": [
2.7670678210001824,
2.7075647269998626,
2.6038053020001826,
2.6239126400000714,
2.628342855000028,
2.6118141700003434,
2.599739246000354,
2.6060120520000964,
2.6136108170003354,
2.6097034439999334,
2.672921648999818,
2.621325608999996,
2.5979722699999,
2.60513419300014,
2.6266659180000715
],
"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": 0.6158813540000665,
"max": 0.6669722760002514,
"mean": 0.6365236857333608,
"stddev": 0.013626361976157549,
"rounds": 15,
"median": 0.6314008499998636,
"iqr": 0.020325249999814332,
"q1": 0.6262298795001016,
"q3": 0.6465551294999159,
"iqr_outliers": 0,
"stddev_outliers": 4,
"outliers": "4;0",
"ld15iqr": 0.6158813540000665,
"hd15iqr": 0.6669722760002514,
"ops": 1.571033446851024,
"total": 9.547855286000413,
"data": [
0.6289401680000992,
0.6247805289999633,
0.6314008499998636,
0.6158813540000665,
0.6463448999998036,
0.6253264500001023,
0.631052365999949,
0.6507452020000528,
0.6383338679997905,
0.6669722760002514,
0.6482006860001093,
0.6466252059999533,
0.642156026000066,
0.6308511100000942,
0.6202442950002478
],
"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": 0.4999404689997391,
"max": 0.5609888639996825,
"mean": 0.5169156618665511,
"stddev": 0.015527897391288192,
"rounds": 15,
"median": 0.5118357429996649,
"iqr": 0.01607417674961198,
"q1": 0.5066999440001609,
"q3": 0.5227741207497729,
"iqr_outliers": 1,
"stddev_outliers": 3,
"outliers": "3;1",
"ld15iqr": 0.4999404689997391,
"hd15iqr": 0.5609888639996825,
"ops": 1.9345515598986895,
"total": 7.753734927998266,
"data": [
0.5277358149996871,
0.5036531209998429,
0.5609888639996825,
0.522373325999979,
0.5143561340000815,
0.5336488729999473,
0.5229077189997042,
0.5194616160001715,
0.5067454389995873,
0.4999404689997391,
0.5066882730002362,
0.5103920550000112,
0.5062725239999963,
0.5118357429996649,
0.5067349569999351
],
"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": 0.6252920809997704,
"max": 0.6674840280002172,
"mean": 0.6451368079999763,
"stddev": 0.01106477193261848,
"rounds": 15,
"median": 0.6455817399996704,
"iqr": 0.011556044249914521,
"q1": 0.6395750964999252,
"q3": 0.6511311407498397,
"iqr_outliers": 0,
"stddev_outliers": 4,
"outliers": "4;0",
"ld15iqr": 0.6252920809997704,
"hd15iqr": 0.6674840280002172,
"ops": 1.5500588210121733,
"total": 9.677052119999644,
"data": [
0.648132175000228,
0.6455817399996704,
0.643512286999794,
0.660389652000049,
0.6479673949997959,
0.6468609529997593,
0.6674840280002172,
0.6387594299999364,
0.6423570920001112,
0.6521307959997102,
0.6252920809997704,
0.6269713910000974,
0.6527993520003292,
0.6367916520002836,
0.6420220959998915
],
"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.0028454510002120514,
"max": 0.0032332460000361607,
"mean": 0.0029184942133701516,
"stddev": 4.3261309865117646e-05,
"rounds": 314,
"median": 0.002914218999876539,
"iqr": 4.68309995085292e-05,
"q1": 0.002890932000354951,
"q3": 0.0029377629998634802,
"iqr_outliers": 7,
"stddev_outliers": 77,
"outliers": "77;7",
"ld15iqr": 0.0028454510002120514,
"hd15iqr": 0.003012125000168453,
"ops": 342.64244740278,
"total": 0.9164071829982277,
"data": [
0.003061324000100285,
0.0030429349999394617,
0.003012125000168453,
0.0030151169999044214,
0.0029886039997109037,
0.0029698409998673014,
0.002939673999662773,
0.0029812020002282225,
0.003005183999903238,
0.002971423999952094,
0.0030275879998953314,
0.002975715000047785,
0.0029558639998867875,
0.002963980000004085,
0.0029258669997034303,
0.002977614999963407,
0.002948863999790774,
0.002885422999952425,
0.0029054550000182644,
0.0029614590002893237,
0.002976508999836369,
0.0029070880000290344,
0.0029508990000977064,
0.002933555000254273,
0.0029432679998535605,
0.002922535999914544,
0.0029357580001487804,
0.002949620999970648,
0.0029013460002715874,
0.002988075999837747,
0.002955698000278062,
0.002905780000219238,
0.002940473999842652,
0.002937979999842355,
0.002925195999978314,
0.0029109960000823776,
0.002895551000165142,
0.0029376200000115205,
0.0029345619996092864,
0.002904191999732575,
0.0029742179999630025,
0.002870337999866024,
0.0028814649999731046,
0.00290392500028247,
0.003007175000220741,
0.002919822999956523,
0.0029699229999096133,
0.002978885999709746,
0.002990837999732321,
0.002901622000081261,
0.002912537999691267,
0.0029248840000946075,
0.0028954899999007466,
0.002914542999860714,
0.0029847430000700115,
0.002921029000390263,
0.0029119079999873065,
0.0029303449996405107,
0.0029898160000811913,
0.0029192689999035792,
0.002969911000036518,
0.0029372740000326303,
0.0029484780002349,
0.0028823850002481777,
0.0028907539999636356,
0.0030025539999769535,
0.002952715999981592,
0.002950903000055405,
0.002934076999736135,
0.0029260799997246068,
0.0029038669999863487,
0.0029403359999378154,
0.0029598659998555377,
0.0029233119998934853,
0.002891743999953178,
0.0028861330001745955,
0.0029094540000187408,
0.0029173269999773765,
0.0029344959998525155,
0.002921008000157599,
0.002916635000019596,
0.0029302370003279066,
0.0029563739999503014,
0.0029154369999560004,
0.0029069460001664993,
0.002917246999913914,
0.002900994999890827,
0.0029351150001275528,
0.0029588759998659953,
0.0028911639997204475,
0.002906106000409636,
0.002968765000332496,
0.002880465000089316,
0.0029369750000114436,
0.002920986999924935,
0.0029377629998634802,
0.002930223000021215,
0.0028809620002903102,
0.0029324530000849336,
0.002910894999786251,
0.0029171099999985017,
0.002893992000281287,
0.0029378049998740607,
0.0028806089999307005,
0.002930150999873149,
0.0029576350002571417,
0.0029427520003082464,
0.00289874800000689,
0.0029815960001542408,
0.0032332460000361607,
0.0029232369997771457,
0.0028546710000227904,
0.002881226999761566,
0.0028954909998901712,
0.0028491779999058053,
0.002846280999619921,
0.0028454510002120514,
0.00289897699985886,
0.002846695000243926,
0.002937584999926912,
0.0029153679997762083,
0.002913209000325878,
0.002915791999839712,
0.0029266080000525108,
0.0029151539997656073,
0.0028731869997500326,
0.002880295000068145,
0.002914302000135649,
0.002890356000079919,
0.002895163000175671,
0.0029376799998317438,
0.0029412580001917377,
0.0028951819999747386,
0.002915301000030013,
0.002960944000278687,
0.002905309000198031,
0.0029086439999446156,
0.0028675899998233945,
0.002935686999990139,
0.0029081650000080117,
0.0029154910002944234,
0.0029219770003692247,
0.002935841999715194,
0.002880848000131664,
0.0028801529997508624,
0.002936978999969142,
0.00293537599964111,
0.0029902100000072096,
0.0029156609998608474,
0.002905090999774984,
0.002929234000021097,
0.0031817190001675044,
0.0029536629999711295,
0.0029034599997430632,
0.002918256000157271,
0.002952450999600842,
0.002873127999919234,
0.0028766219998033193,
0.0029013250000389235,
0.0028839739998147707,
0.002903187000356411,
0.0029421689996524947,
0.0029067709997434577,
0.002901093999753357,
0.0029073100004097796,
0.002890654999646358,
0.002894875000038155,
0.002941147000001365,
0.0029472860001078516,
0.002919088999988162,
0.0029641750002156186,
0.0029002819997003826,
0.002922785999999178,
0.002870102999622759,
0.0029357480002545344,
0.002952038999865181,
0.0029298879999259952,
0.0029138530003365304,
0.0028645739998864883,
0.0028831620002165437,
0.0028857920001428283,
0.002867674000299303,
0.002954974000203947,
0.00287842699981411,
0.0029419270003927522,
0.002919627999744989,
0.0029074179997223837,
0.0029134689998500107,
0.0029102650000822905,
0.0028815319997193,
0.002884980000089854,
0.0029491740001503786,
0.0028625019999708456,
0.002907348999997339,
0.002936483999746997,
0.0029490980000446143,
0.002926995000052557,
0.0028812249997827166,
0.0029028200001448567,
0.002872059999845078,
0.0029163280000830127,
0.0029206879999037483,
0.0028865590002169483,
0.00291298199999801,
0.002961961999972118,
0.0029227390000414744,
0.0029594190000352683,
0.002864477999992232,
0.002959267000278487,
0.0029669850000573206,
0.00286469999991823,
0.0029579950000879762,
0.002895108999837248,
0.0029146589999982098,
0.0028995919997214514,
0.0029264989998409874,
0.002917576000072586,
0.002892857000006188,
0.0029039199998806,
0.0029408830000647868,
0.0028731369998240552,
0.0028851649999523943,
0.0029475999999704072,
0.0029016869998486072,
0.0028817430002163746,
0.002868591000151355,
0.0029315560000213736,
0.0028907370001434174,
0.0029075309998916055,
0.002934251000169752,
0.002868646000024455,
0.002855164000266086,
0.002916243000072427,
0.002932368000074348,
0.002953019999949902,
0.0028974829997423512,
0.002871989000141184,
0.0028969400000278256,
0.0028725369998028327,
0.0028685219999715628,
0.002882822000174201,
0.0028628009999920323,
0.002903945000070962,
0.002874650999729056,
0.0028549789999487984,
0.002895411999816133,
0.002909857000304328,
0.002890932000354951,
0.0028909790003126545,
0.0029580319996966864,
0.002926705999925616,
0.0028482709999479994,
0.0029170029997658276,
0.0028863389998150524,
0.0029131619999134273,
0.0029038419997959863,
0.0028997540002819733,
0.0029217269998298434,
0.0028786999996555096,
0.002862173000266921,
0.0028723229997922317,
0.002914742000029946,
0.0028662810000241734,
0.002944894999927783,
0.0029244299998936185,
0.002910850000262144,
0.002927687000010337,
0.002873086999898078,
0.002892797000185965,
0.0028511450000223704,
0.0029010960001869535,
0.0028727680000883993,
0.002919931999713299,
0.0029058400000394613,
0.00285833999987517,
0.0028653529998337035,
0.0028769610003109847,
0.0029619490001095983,
0.0029141359996174288,
0.002887861000090197,
0.0029104670002197963,
0.00288892400021723,
0.0029018630002610735,
0.002893723999932263,
0.0028572229998644616,
0.0028664900000876514,
0.002870327999971778,
0.0028809890000047744,
0.0028734219999932975,
0.0029014060000918107,
0.0028699780000351893,
0.0028879240003334417,
0.0029509450000659854,
0.0028561510002873547,
0.0028903930001433764,
0.002930598999682843,
0.0029214649998721143,
0.002884530999835988,
0.0029085149999446003,
0.0029177629999139754,
0.0028749399998559966,
0.0029075800002829055,
0.002900891000081174,
0.0029414850000648585,
0.0029087889997754246,
0.0029067800001030264,
0.002907620999849314,
0.002916720000030182,
0.002966865999951551,
0.0029323970002224087,
0.0029129430004104506,
0.002990519999912067,
0.002897269999721175,
0.002939499000149226
],
"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": 0.6053453230001651,
"max": 0.649710239000342,
"mean": 0.6201619198000723,
"stddev": 0.01181747442014062,
"rounds": 15,
"median": 0.6193783510002504,
"iqr": 0.012719283500018719,
"q1": 0.6133184307500414,
"q3": 0.6260377142500602,
"iqr_outliers": 1,
"stddev_outliers": 6,
"outliers": "6;1",
"ld15iqr": 0.6053453230001651,
"hd15iqr": 0.649710239000342,
"ops": 1.6124821084183625,
"total": 9.302428797001085,
"data": [
0.6193783510002504,
0.6278935300001649,
0.6076415459997406,
0.6156533170001239,
0.6204445719999967,
0.6195477340002071,
0.6053453230001651,
0.6054877309998119,
0.6172227510000994,
0.6330385220003336,
0.6153414169998541,
0.632609395000145,
0.6126441020001039,
0.620470266999746,
0.649710239000342
],
"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": 0.48979096199991545,
"max": 0.5548160580001422,
"mean": 0.518673673600036,
"stddev": 0.021161615874801448,
"rounds": 15,
"median": 0.5094587080002384,
"iqr": 0.028326028750029764,
"q1": 0.5050857244998497,
"q3": 0.5334117532498794,
"iqr_outliers": 0,
"stddev_outliers": 5,
"outliers": "5;0",
"ld15iqr": 0.48979096199991545,
"hd15iqr": 0.5548160580001422,
"ops": 1.9279945192883037,
"total": 7.7801051040005405,
"data": [
0.502453849000176,
0.48979096199991545,
0.5048492329997316,
0.49346053700037373,
0.5094587080002384,
0.5079915760002223,
0.5057951990002039,
0.5342258649998257,
0.5513415590003206,
0.5309694180000406,
0.5166011199999048,
0.5515564960001029,
0.5073710049996407,
0.5548160580001422,
0.5194235189997016
],
"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.06793589199969574,
"max": 0.07534415399959471,
"mean": 0.07125075479998486,
"stddev": 0.0023064816853370397,
"rounds": 15,
"median": 0.07117063999976381,
"iqr": 0.0034448364998524994,
"q1": 0.0696242040000925,
"q3": 0.073069040499945,
"iqr_outliers": 0,
"stddev_outliers": 5,
"outliers": "5;0",
"ld15iqr": 0.06793589199969574,
"hd15iqr": 0.07534415399959471,
"ops": 14.03493903758915,
"total": 1.068761321999773,
"data": [
0.07439167400025326,
0.06979890499997055,
0.07126715900039926,
0.0696843630003059,
0.06960415100002137,
0.0690945080000347,
0.06994984499988277,
0.07534415399959471,
0.07337164000000485,
0.07117063999976381,
0.0720914339999581,
0.07437493900033587,
0.07216124199976548,
0.06852077599978657,
0.06793589199969574
],
"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.4077168570001959,
"max": 0.4407244660001197,
"mean": 0.4223601358000148,
"stddev": 0.009707191301114325,
"rounds": 15,
"median": 0.42050321699980486,
"iqr": 0.014688700750070893,
"q1": 0.4145342512500747,
"q3": 0.4292229520001456,
"iqr_outliers": 0,
"stddev_outliers": 4,
"outliers": "4;0",
"ld15iqr": 0.4077168570001959,
"hd15iqr": 0.4407244660001197,
"ops": 2.3676476902959767,
"total": 6.335402037000222,
"data": [
0.4180436130000089,
0.41853230800006713,
0.4077168570001959,
0.4250867499999913,
0.41267377499980284,
0.4373994880002101,
0.43075933399995847,
0.42050321699980486,
0.42346273200018913,
0.41336446400009663,
0.4407244660001197,
0.4293226200002209,
0.4289239479999196,
0.4103334229998836,
0.4185550419997526
],
"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.043949068000074476,
"max": 0.05794334500023979,
"mean": 0.048267971105288826,
"stddev": 0.0033490754346597843,
"rounds": 19,
"median": 0.04731450600002063,
"iqr": 0.0037514514999656967,
"q1": 0.04603128425003433,
"q3": 0.04978273575000003,
"iqr_outliers": 1,
"stddev_outliers": 4,
"outliers": "4;1",
"ld15iqr": 0.043949068000074476,
"hd15iqr": 0.05794334500023979,
"ops": 20.717672135393066,
"total": 0.9170914510004877,
"data": [
0.04820867799980988,
0.04694883899992419,
0.04719536699985838,
0.05146668200040949,
0.05159486200000174,
0.04845950399976573,
0.04731450600002063,
0.04594820400006938,
0.04438558599986209,
0.0455026969998471,
0.04908638400002019,
0.05001485299999331,
0.05794334500023979,
0.05258355900014067,
0.04778837699996075,
0.047044619000189414,
0.046280524999929185,
0.04537579600037134,
0.043949068000074476
],
"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.09782830900030604,
"max": 0.10988550899992333,
"mean": 0.10073452506664277,
"stddev": 0.0029463850642109965,
"rounds": 15,
"median": 0.09974839699998483,
"iqr": 0.001427606999868658,
"q1": 0.09920952550010043,
"q3": 0.10063713249996908,
"iqr_outliers": 3,
"stddev_outliers": 1,
"outliers": "1;3",
"ld15iqr": 0.09782830900030604,
"hd15iqr": 0.1032440859999042,
"ops": 9.927083086344346,
"total": 1.5110178759996415,
"data": [
0.09922341399988,
0.10039047999998729,
0.10013963199980935,
0.098834775999876,
0.09974839699998483,
0.10344931200006613,
0.09971810799970626,
0.0992048960001739,
0.09782830900030604,
0.10988550899992333,
0.1032440859999042,
0.10071934999996301,
0.10005980500000078,
0.09968555100022058,
0.09888625099983983
],
"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.40123465799979385,
"max": 0.410157062000053,
"mean": 0.40480522899991533,
"stddev": 0.0022853755703795406,
"rounds": 15,
"median": 0.4048066159998598,
"iqr": 0.0025388900003235904,
"q1": 0.4036082362497382,
"q3": 0.4061471262500618,
"iqr_outliers": 1,
"stddev_outliers": 5,
"outliers": "5;1",
"ld15iqr": 0.40123465799979385,
"hd15iqr": 0.410157062000053,
"ops": 2.470323820842268,
"total": 6.07207843499873,
"data": [
0.40366379999977653,
0.4061565450001581,
0.40249992300005033,
0.40648672999986957,
0.4071279639997556,
0.40378612399990743,
0.4048535769998125,
0.4048066159998598,
0.40388421800025753,
0.40587758099991333,
0.4035897149997254,
0.401835052000024,
0.410157062000053,
0.40123465799979385,
0.40611886999977287
],
"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.027123573000153556,
"max": 0.030261607999818807,
"mean": 0.028249144923113187,
"stddev": 0.0007707938766081975,
"rounds": 26,
"median": 0.02805933249987902,
"iqr": 0.0005188039999666216,
"q1": 0.02786743100023159,
"q3": 0.028386235000198212,
"iqr_outliers": 3,
"stddev_outliers": 5,
"outliers": "5;3",
"ld15iqr": 0.027123573000153556,
"hd15iqr": 0.029812315999606653,
"ops": 35.39930156193186,
"total": 0.7344777680009429,
"data": [
0.030234589999963646,
0.030261607999818807,
0.029812315999606653,
0.02807187899998098,
0.028236951000053523,
0.028046785999777057,
0.02817304099971807,
0.027916455999729806,
0.027756520999901113,
0.027655765999952564,
0.02722490700034541,
0.027874465999957465,
0.027123573000153556,
0.028029302000049938,
0.02776600800007145,
0.02795392100006211,
0.028444849000152317,
0.028386235000198212,
0.028364079000311904,
0.027730028000405582,
0.028144982999947388,
0.02797093600020162,
0.028300243000103364,
0.02786743100023159,
0.028438778000236198,
0.028692115000012564
],
"iterations": 1
}
}
],
"datetime": "2026-08-05T05:05:51.275169+00:00",
"version": "5.2.3"
}