Datasets:

Modalities:
Image
Libraries:
Datasets
tokenizers-bench / python-baseline.json
ArthurZ's picture
ArthurZ HF Staff
Upload python-baseline.json with huggingface_hub
4a3554f verified
Raw
History Blame
48.4 kB
{
"machine_info": {
"node": "aws-general-8-plus-use1-public-80-b9nl2-runner-29b2n",
"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": 48,
"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.5034 GHz",
"hz_advertised": [
2900000000,
0
],
"hz_actual": [
3503369000,
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": 31457280,
"l1_data_cache_size": "1.1 MiB",
"l1_instruction_cache_size": 786432,
"l2_cache_line_size": 256,
"l2_cache_associativity": 6
}
},
"commit_info": {
"id": "ddba55e16bfbac02b18c6ec3d296b29cd7aa5f00",
"time": "2026-08-05T04:00:11+02:00",
"author_time": "2026-08-05T04:00:11+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.239452578000055,
"max": 2.2979066940006305,
"mean": 2.2735317709336718,
"stddev": 0.01749061536273718,
"rounds": 15,
"median": 2.274187757000618,
"iqr": 0.02183995149925977,
"q1": 2.264976982749886,
"q3": 2.2868169342491456,
"iqr_outliers": 0,
"stddev_outliers": 6,
"outliers": "6;0",
"ld15iqr": 2.239452578000055,
"hd15iqr": 2.2979066940006305,
"ops": 0.43984430426029625,
"total": 34.102976564005075,
"data": [
2.2957084630015743,
2.2979066940006305,
2.274187757000618,
2.280627710000772,
2.2917062530013936,
2.2740782190012396,
2.2648286599996936,
2.287948437999148,
2.283422422999138,
2.2733606780002447,
2.2761376180005755,
2.2473882529993716,
2.239452578000055,
2.250800869000159,
2.2654219510004623
],
"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.590781725000852,
"max": 0.6552125720008917,
"mean": 0.6270396544667165,
"stddev": 0.01815211536470306,
"rounds": 15,
"median": 0.6325341329993535,
"iqr": 0.023039872998197097,
"q1": 0.6140401810012008,
"q3": 0.6370800539993979,
"iqr_outliers": 0,
"stddev_outliers": 5,
"outliers": "5;0",
"ld15iqr": 0.590781725000852,
"hd15iqr": 0.6552125720008917,
"ops": 1.5947954692761468,
"total": 9.405594817000747,
"data": [
0.6380298490003042,
0.6082342330009851,
0.6116797040012898,
0.590781725000852,
0.6220547119992261,
0.6375907029996597,
0.6552125720008917,
0.6355481069986126,
0.621121612000934,
0.6325341329993535,
0.6329226340003515,
0.6537597740007186,
0.6005413379989477,
0.6314517659993726,
0.6341319549992477
],
"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.5918449029995827,
"max": 0.6550677870000072,
"mean": 0.6258502204664789,
"stddev": 0.021244633885266904,
"rounds": 15,
"median": 0.6253641710009106,
"iqr": 0.03709021274926272,
"q1": 0.6092346049999833,
"q3": 0.646324817749246,
"iqr_outliers": 0,
"stddev_outliers": 6,
"outliers": "6;0",
"ld15iqr": 0.5918449029995827,
"hd15iqr": 0.6550677870000072,
"ops": 1.597826392478775,
"total": 9.387753306997183,
"data": [
0.6084151920003933,
0.6550677870000072,
0.6174454070005595,
0.5918449029995827,
0.653801858999941,
0.5931833479990019,
0.6116928439987532,
0.6535391659999732,
0.6305796890010242,
0.6193743999992876,
0.6081928419989708,
0.6302131219999865,
0.6409082299996953,
0.6481303469990962,
0.6253641710009106
],
"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.879891061998933,
"max": 3.0288313860000926,
"mean": 2.9666200736669754,
"stddev": 0.04315944048615316,
"rounds": 15,
"median": 2.9738484019999305,
"iqr": 0.05409628150073331,
"q1": 2.938576210500287,
"q3": 2.99267249200102,
"iqr_outliers": 0,
"stddev_outliers": 5,
"outliers": "5;0",
"ld15iqr": 2.879891061998933,
"hd15iqr": 3.0288313860000926,
"ops": 0.337083945759162,
"total": 44.49930110500463,
"data": [
2.879891061998933,
2.9621163150004577,
2.9063416509998206,
2.99006283000017,
2.9716246580010193,
2.9695969210006297,
2.9953541949998908,
2.904096083000695,
3.0288313860000926,
2.990276812000957,
3.019635255999674,
2.93072950900023,
2.9738484019999305,
2.9934710520010412,
2.9834249730010924
],
"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.6763390010000876,
"max": 0.7355172669995227,
"mean": 0.7102923577330027,
"stddev": 0.018977063199915517,
"rounds": 15,
"median": 0.7126498079996963,
"iqr": 0.02585854249946351,
"q1": 0.6993542502500532,
"q3": 0.7252127927495167,
"iqr_outliers": 0,
"stddev_outliers": 5,
"outliers": "5;0",
"ld15iqr": 0.6763390010000876,
"hd15iqr": 0.7355172669995227,
"ops": 1.407870983142265,
"total": 10.65438536599504,
"data": [
0.6897919479997654,
0.7346667979982158,
0.7185934690005524,
0.6770782399999007,
0.6979044620002242,
0.7263642960006109,
0.7251781509985449,
0.7252243399998406,
0.7059567719988991,
0.7046323579997988,
0.7355172669995227,
0.7037036149995402,
0.6763390010000876,
0.7126498079996963,
0.7207848409998405
],
"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.5543322030007403,
"max": 0.6045595699997648,
"mean": 0.5739414862667521,
"stddev": 0.017155987557110425,
"rounds": 15,
"median": 0.5707131330000266,
"iqr": 0.020227735000389657,
"q1": 0.560860971999773,
"q3": 0.5810887070001627,
"iqr_outliers": 0,
"stddev_outliers": 5,
"outliers": "5;0",
"ld15iqr": 0.5543322030007403,
"hd15iqr": 0.6045595699997648,
"ops": 1.7423378931963593,
"total": 8.609122294001281,
"data": [
0.5543322030007403,
0.6012150560000009,
0.5727478839999094,
0.5813144559997454,
0.5757647530008398,
0.5626242460002686,
0.5548354879992985,
0.5635665879999578,
0.5602732139996078,
0.6031464789994061,
0.5804114600014145,
0.6045595699997648,
0.5707131330000266,
0.5597535800006881,
0.5638641839996126
],
"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.6774068360009551,
"max": 0.7503850520006381,
"mean": 0.7260484426002222,
"stddev": 0.017903355666220727,
"rounds": 15,
"median": 0.7271693590009818,
"iqr": 0.01302712175038323,
"q1": 0.723471929000425,
"q3": 0.7364990507508082,
"iqr_outliers": 2,
"stddev_outliers": 4,
"outliers": "4;2",
"ld15iqr": 0.7224186370003736,
"hd15iqr": 0.7503850520006381,
"ops": 1.3773185662635206,
"total": 10.890726639003333,
"data": [
0.7377173910008423,
0.7224186370003736,
0.7271693590009818,
0.7251233789993421,
0.7302969559987105,
0.7229422250002244,
0.7503850520006381,
0.6774068360009551,
0.6986103760009428,
0.732844030000706,
0.7318009110003914,
0.7256526029996166,
0.7455215909994877,
0.7377762519990938,
0.7250610410010268
],
"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.002879065999877639,
"max": 0.0032883460007724352,
"mean": 0.0029858900000734466,
"stddev": 5.8763455196182125e-05,
"rounds": 311,
"median": 0.0029800070005876478,
"iqr": 7.29639991732256e-05,
"q1": 0.0029441729998325172,
"q3": 0.003017136999005743,
"iqr_outliers": 8,
"stddev_outliers": 90,
"outliers": "90;8",
"ld15iqr": 0.002879065999877639,
"hd15iqr": 0.0031309179994423175,
"ops": 334.9085197295956,
"total": 0.9286117900228419,
"data": [
0.0030632529997092206,
0.0030418059996009106,
0.0030243949986470398,
0.0029448200002661906,
0.003034503000890254,
0.002988999000081094,
0.00300230900029419,
0.0029696229994442547,
0.0029591420006909175,
0.002969830000438378,
0.0029219640000519576,
0.002947594999568537,
0.002905814000769169,
0.0029847170007997192,
0.0029898289994889637,
0.0029399390004982706,
0.0030152790004649432,
0.00301985800069815,
0.0030309159992611967,
0.003005140000823303,
0.0029908640008216025,
0.0029848909998690942,
0.002975445999254589,
0.0030262990003393497,
0.0030354460013768403,
0.003037137999854167,
0.003045524999834015,
0.003143294999972568,
0.0030592160001106095,
0.0030562890005967347,
0.0031104690006031888,
0.0030057029998715734,
0.002989303000504151,
0.0029596540007332806,
0.0030271720006567193,
0.0029445449999911943,
0.0029346330011321697,
0.0030745679996471154,
0.0030478820008283947,
0.0032883460007724352,
0.0030063160011195578,
0.003023470999323763,
0.0030299599984573433,
0.0030566129989892943,
0.003000272999997833,
0.0029093819994159276,
0.002917153000453254,
0.0029674680008611176,
0.0029359480013226857,
0.002949198998976499,
0.0029530270003306214,
0.0029365150003286544,
0.002997843999764882,
0.0028985459994146368,
0.0029582979987026192,
0.002978686001370079,
0.0029542339998442912,
0.0029578310004581,
0.0029931609988125274,
0.002933987998403609,
0.002988707999975304,
0.0030123300002742326,
0.002913197000452783,
0.0030875129996275064,
0.0030558779999410035,
0.00300345399955404,
0.003119312999842805,
0.0029598230012197746,
0.002936654000222916,
0.003008084999237326,
0.0030004580003151204,
0.0029955549998703646,
0.0029800070005876478,
0.0030413229997066082,
0.003011961998709012,
0.002950868998595979,
0.0029869610007153824,
0.0029218290001153946,
0.002925246000813786,
0.003043070999410702,
0.002980658000524272,
0.002991991999806487,
0.002999153000928345,
0.0030898320001142565,
0.0031309179994423175,
0.0030087909999565454,
0.0030511419990943978,
0.0030997630001365906,
0.0030140069993649377,
0.002937469000244164,
0.002930390000983607,
0.002956550000817515,
0.002879065999877639,
0.0029265960001794156,
0.0030865280004945816,
0.003055631999814068,
0.0029974970002513146,
0.0030209590004233178,
0.0029557630005001556,
0.0029734330000792397,
0.0030239169991546078,
0.002946992999568465,
0.0029381950007518753,
0.0029734830004599644,
0.00299475599967991,
0.0028813839999202173,
0.0029187310010456713,
0.0029794539987051394,
0.002968826000142144,
0.0029559559989138506,
0.002957135000542621,
0.002946118000181741,
0.0029199209984653862,
0.002918721998867113,
0.0028953649998584297,
0.002922996998677263,
0.0029269709993968718,
0.0030472529997496167,
0.0030094569992797915,
0.0029278349993546726,
0.002979986000354984,
0.0029248710015963297,
0.002939416999652167,
0.0029930290002084803,
0.0029302219991222955,
0.0030379090003407327,
0.0029281090010044863,
0.002966918000311125,
0.0029900690005888464,
0.0030259689992817584,
0.0030522040015057428,
0.0030304800002340926,
0.0029690730007132515,
0.0029564169999503065,
0.0030033710008865455,
0.0029700440009037266,
0.003035191000890336,
0.0030324889994517434,
0.0030056230007176055,
0.003043796001293231,
0.0030889700010447996,
0.003085520000240649,
0.003019228999619372,
0.0030832689990347717,
0.00313590999940061,
0.003017206998265465,
0.0029446389999066014,
0.0029746330001216847,
0.0029648529998667073,
0.0030105349997029407,
0.00295780699889292,
0.003114193999863346,
0.002988609001477016,
0.0029763169986836147,
0.003068504000111716,
0.003019667999978992,
0.0029464379986166023,
0.0029130660004739184,
0.0029567210003733635,
0.002933935000328347,
0.0029800550000800285,
0.002933853998911218,
0.0029454539999278495,
0.0029699430015170947,
0.0029985599994688528,
0.002957165001134854,
0.003001345001393929,
0.002909462000388885,
0.002929412001321907,
0.0029257339992909692,
0.002949729001556989,
0.0030051679987082025,
0.002953698000055738,
0.003006029999596649,
0.0029567540004791226,
0.0029608069999085274,
0.0029317690004972974,
0.0029512909986806335,
0.0028826489997300087,
0.0029264559998409823,
0.002954739999040612,
0.0029684940000151983,
0.002942145998531487,
0.0029119249993527774,
0.0029902690002927557,
0.003075433000049088,
0.002998709000166855,
0.0029814829995302716,
0.002982690000862931,
0.0029424479998851893,
0.0030001960003573913,
0.002969703000417212,
0.003000445998623036,
0.002991400000610156,
0.002999660000568838,
0.0030486380001093494,
0.0029495519993361086,
0.0030411719999392517,
0.0030693539993080776,
0.0030969280014687683,
0.003116235999186756,
0.003203588999895146,
0.0030798750012763776,
0.002978873000756721,
0.0030117850001261104,
0.0029538910002884222,
0.002987071000461583,
0.0030161280010361224,
0.003046064999580267,
0.0029856250002922025,
0.0030417130001296755,
0.003110705998551566,
0.0030412350006372435,
0.0030370889999176143,
0.003016769000169006,
0.0029707100002269726,
0.0029291219998413,
0.0029762730009679217,
0.002947412000139593,
0.0029173120001360076,
0.0029806200000166427,
0.0030496900017169537,
0.002998205998665071,
0.0029526980015361914,
0.002926414001194644,
0.0029046449999441393,
0.0029138620011508465,
0.0029482099998858757,
0.0029024249997746665,
0.0029396970003290335,
0.002936119999503717,
0.0030080379983701278,
0.0029861040002288064,
0.0029277679986989824,
0.002948391000245465,
0.002900282999689807,
0.0029866170007153414,
0.0030132649990264326,
0.003047644000616856,
0.0029220310007076478,
0.0028796320002584253,
0.002924996000729152,
0.0030291229995782487,
0.0030879429996275576,
0.003146478000417119,
0.003023182000106317,
0.002985892000651802,
0.0029595239993795985,
0.0029496400002244627,
0.0029389350002020365,
0.00295964399992954,
0.0030220930002542445,
0.002987514999404084,
0.002985776000059559,
0.003139521000775858,
0.003051643001526827,
0.0030430400001932867,
0.0030236900001909817,
0.002998316000230261,
0.0030586970005970215,
0.0029751090005447622,
0.003004734999194625,
0.0029452670005412074,
0.002889684999900055,
0.0029702070005441783,
0.002979053999297321,
0.002971821000755881,
0.00293014800081437,
0.002979356999276206,
0.0029268880007293774,
0.002892395999879227,
0.00292357299986179,
0.0029711090010096086,
0.0029917589999968186,
0.002995304001160548,
0.002982627000164939,
0.0029218300005595665,
0.0029514680009015137,
0.0029700909999519354,
0.002944048999779625,
0.002933428999313037,
0.003016927001226577,
0.002909613998781424,
0.0029316510008357,
0.002997992000018712,
0.0029182100006437395,
0.0029317759999685222,
0.0029020910005783662,
0.0029536620004364522,
0.0029181270001572557,
0.0029993010011821752,
0.003018542000063462,
0.00297775600120076,
0.002933619000032195,
0.0029596799995488254,
0.002988666999954148,
0.0029050719986116746,
0.002935532000265084,
0.003005410000696429,
0.002934353000455303,
0.002904782000769046,
0.0030035559993848437,
0.002981806001116638,
0.002957093998702476,
0.0029620810000778874,
0.00289878599869553,
0.0029107320006005466,
0.003140514998449362,
0.0030105969999567606,
0.002961799998956849,
0.002994562000822043
],
"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.6814327129995945,
"max": 0.7938862040009553,
"mean": 0.7146788193999479,
"stddev": 0.03305455753014784,
"rounds": 15,
"median": 0.7115226130008523,
"iqr": 0.029168661000312568,
"q1": 0.6893563002499832,
"q3": 0.7185249612502957,
"iqr_outliers": 2,
"stddev_outliers": 3,
"outliers": "3;2",
"ld15iqr": 0.6814327129995945,
"hd15iqr": 0.7731949980006902,
"ops": 1.3992299377776591,
"total": 10.720182290999219,
"data": [
0.6927340290003485,
0.6890022640000097,
0.6814327129995945,
0.7181225130007078,
0.7128961049984355,
0.7185071420008171,
0.7115226130008523,
0.718530901000122,
0.7731949980006902,
0.7938862040009553,
0.7455063769994013,
0.6872134009990987,
0.7012418279991834,
0.6859727939990989,
0.6904184089999035
],
"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.5576616930011369,
"max": 0.6122304959990288,
"mean": 0.5845288372000748,
"stddev": 0.01612276011278377,
"rounds": 15,
"median": 0.5838748980004311,
"iqr": 0.023372214248411183,
"q1": 0.5759317457509496,
"q3": 0.5993039599993608,
"iqr_outliers": 0,
"stddev_outliers": 6,
"outliers": "6;0",
"ld15iqr": 0.5576616930011369,
"hd15iqr": 0.6122304959990288,
"ops": 1.710779582389904,
"total": 8.767932558001121,
"data": [
0.6122304959990288,
0.5949846460007393,
0.5756097040011809,
0.577124453999204,
0.5955351619995781,
0.5849427969988028,
0.5838748980004311,
0.5781898889999866,
0.6005602259992884,
0.561166122000941,
0.566588600000614,
0.5576616930011369,
0.5768978710002557,
0.6011211780005397,
0.6014448219993938
],
"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.09805982099896937,
"max": 0.11745095399965066,
"mean": 0.10652234066643966,
"stddev": 0.006549060242237453,
"rounds": 15,
"median": 0.10859921900009795,
"iqr": 0.010334164499454346,
"q1": 0.09991768999998385,
"q3": 0.1102518544994382,
"iqr_outliers": 0,
"stddev_outliers": 7,
"outliers": "7;0",
"ld15iqr": 0.09805982099896937,
"hd15iqr": 0.11745095399965066,
"ops": 9.387702089004645,
"total": 1.5978351099965948,
"data": [
0.10237606299961044,
0.10330678799982707,
0.09858830000121088,
0.09955436999916856,
0.09805982099896937,
0.09962459300004411,
0.10079698099980305,
0.11745095399965066,
0.10859921900009795,
0.11556103799921402,
0.10971308899934229,
0.11400993399911385,
0.10997848700026225,
0.11034297699916351,
0.10987249600111682
],
"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.48460708699894894,
"max": 0.5532960460004688,
"mean": 0.5191817095333439,
"stddev": 0.016980689972003242,
"rounds": 15,
"median": 0.5259459130011237,
"iqr": 0.02466154299918344,
"q1": 0.5043707415002245,
"q3": 0.529032284499408,
"iqr_outliers": 0,
"stddev_outliers": 2,
"outliers": "2;0",
"ld15iqr": 0.48460708699894894,
"hd15iqr": 0.5532960460004688,
"ops": 1.9261079148932847,
"total": 7.787725643000158,
"data": [
0.5532960460004688,
0.5297860119990219,
0.5263803210000333,
0.5315260250008578,
0.5117496149996441,
0.5048349329990742,
0.5028026740001224,
0.5259459130011237,
0.5041661459999887,
0.5341440489992237,
0.5263217090014223,
0.5267711020005663,
0.521177999999054,
0.504216011000608,
0.48460708699894894
],
"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.0756878609990963,
"max": 0.08068740399903618,
"mean": 0.07808182493342125,
"stddev": 0.0015653714951202958,
"rounds": 15,
"median": 0.07774429799974314,
"iqr": 0.0022134532496238535,
"q1": 0.07731926950054913,
"q3": 0.07953272275017298,
"iqr_outliers": 0,
"stddev_outliers": 7,
"outliers": "7;0",
"ld15iqr": 0.0756878609990963,
"hd15iqr": 0.08068740399903618,
"ops": 12.807077714342347,
"total": 1.1712273740013188,
"data": [
0.07824984400031099,
0.07755657100096869,
0.07612300700020569,
0.08068740399903618,
0.07774429799974314,
0.0756878609990963,
0.07739440300065326,
0.07729422500051442,
0.08026443299968378,
0.07805690600071102,
0.0759741120000399,
0.0776725779996923,
0.07980624300034833,
0.08000332700066792,
0.07871216199964692
],
"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.14925236199997016,
"max": 0.17378394300067157,
"mean": 0.15975912906663628,
"stddev": 0.006830444461261654,
"rounds": 15,
"median": 0.1568969339987234,
"iqr": 0.010417670000151702,
"q1": 0.15501727400032905,
"q3": 0.16543494400048075,
"iqr_outliers": 0,
"stddev_outliers": 3,
"outliers": "3;0",
"ld15iqr": 0.14925236199997016,
"hd15iqr": 0.17378394300067157,
"ops": 6.259423206938586,
"total": 2.396386935999544,
"data": [
0.162967498999933,
0.1663101270005427,
0.16601350900054967,
0.163699249000274,
0.15520758200000273,
0.16930716899878462,
0.17378394300067157,
0.1568969339987234,
0.153987703999519,
0.15689584100073262,
0.15434024199930718,
0.15553956300027494,
0.15495383800043783,
0.1572313739998208,
0.14925236199997016
],
"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.4701845580002555,
"max": 0.4863886729999649,
"mean": 0.4803527324669024,
"stddev": 0.004905424300390856,
"rounds": 15,
"median": 0.4813524820001476,
"iqr": 0.007669176498893648,
"q1": 0.47624836900058654,
"q3": 0.4839175454994802,
"iqr_outliers": 0,
"stddev_outliers": 6,
"outliers": "6;0",
"ld15iqr": 0.4701845580002555,
"hd15iqr": 0.4863886729999649,
"ops": 2.0818035006575144,
"total": 7.205290987003536,
"data": [
0.48208150200116506,
0.48497430399947916,
0.4863855780004087,
0.4701845580002555,
0.48201115899973956,
0.4806084970005031,
0.4807083400010015,
0.47445965299993986,
0.47479499300061434,
0.4863886729999649,
0.48452955999891856,
0.4813524820001476,
0.47358495100161235,
0.48120611000013014,
0.4820206269996561
],
"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.029326730000320822,
"max": 0.033267230001001735,
"mean": 0.030510624863547327,
"stddev": 0.0012929920311165691,
"rounds": 22,
"median": 0.029884311999012425,
"iqr": 0.0012713480009551859,
"q1": 0.02964829999837093,
"q3": 0.030919647999326116,
"iqr_outliers": 2,
"stddev_outliers": 4,
"outliers": "4;2",
"ld15iqr": 0.029326730000320822,
"hd15iqr": 0.033082408999689505,
"ops": 32.775467709111176,
"total": 0.6712337469980412,
"data": [
0.033082408999689505,
0.033267230001001735,
0.030897290000211797,
0.029355964001297252,
0.029909073999078828,
0.02983637899887981,
0.02968903300097736,
0.029994811999131343,
0.029859549998946022,
0.02937875099996745,
0.02972943100030534,
0.030652575000203797,
0.030919647999326116,
0.031205943998429575,
0.02964829999837093,
0.029326730000320822,
0.02946030200109817,
0.029542865000621532,
0.029847621999579133,
0.03015721600058896,
0.03265834900048503,
0.03281427299953066
],
"iterations": 1
}
}
],
"datetime": "2026-08-05T02:04:42.088058+00:00",
"version": "5.2.3"
}