"BPE pre-tokenizer was not recognized" and "unknown pre-tokenizer type": which llama.cpp build fixes it
Both errors usually mean your llama.cpp is older than the commit that added your tokenizer. When converting, look up the chkhsh printed above the error; when loading, look up the tokenizer.ggml.pre name in the error. Use a build at or above the one in the table. For example, the chkhsh 1444df51289c... that a fine-tuned Qwen3.5-4B printed is recognized from b9049 (2026-05-06), and a GGUF with qwen35 loads from b7990 (2026-02-10), Ollama 0.30.0 and llama-cpp-python 0.3.17. llama.cpp b12754 knows 104 hashes and 101 names; 34 of the names were added in 2026.
Which build fixes my error?
Paste the warning block from convert_hf_to_gguf.py, the load error, a 64-character chkhsh or a pre-tokenizer name. The version fields are optional; fill one in to get a yes or no for your install.
Runs in your browser on the tables below; nothing is sent anywhere. Build number: llama-server --version. The name inside a file: gguf-dump --no-tensors model.gguf | grep tokenizer.ggml.pre (pip install gguf).
Two errors, one list each
| When | What you see | What it checks | Look up |
|---|---|---|---|
Converting (convert_hf_to_gguf.py) | WARNING: The BPE pre-tokenizer was not recognized! … chkhsh: <64 hex>, then NotImplementedError: BPE pre-tokenizer was not recognized - update get_vocab_base_pre() | The converter encodes a fixed test string with your Hugging Face tokenizer and hashes the token ids. The hash must be in get_vocab_base_pre(); the match decides the name it writes to tokenizer.ggml.pre. | chkhsh table |
| Loading (llama.cpp, Ollama, LM Studio, llama-cpp-python...) | error loading model vocabulary: unknown pre-tokenizer type: 'qwen35' | The loader compares tokenizer.ggml.pre with the names it knows and picks the split rules for that name. | name table |
| Loading an old file | missing pre-tokenizer type, using: 'default' … GENERATION QUALITY WILL BE DEGRADED! | A BPE vocabulary without tokenizer.ggml.pre: converted before b2761 (2024-04-29, PR #6920), when the key was introduced. | Re-convert, or download a newer conversion |
Only BPE vocabularies have a pre-tokenizer. SentencePiece (llama) and WordPiece (bert) files never show these errors. Names written by the converter but not checked by the loader, because those models use WordPiece: bert-bge-large, jina-v2-en. A few model classes skip the hash and write a fixed name (for example whitespace, tekken-num3, zonos3); they never raise the converter error but can still raise the load error.
Which llama.cpp build recognizes each chkhsh?
Each row is one hash in get_vocab_base_pre(), with the name it writes and the first release tag whose converter contains it. Newest first; 105 rows. The model column is the # ref: comment in the source, the tokenizer the hash was taken from. The list lives in conversion/base.py from b9169, in convert_hf_to_gguf.py from b3303, and in convert-hf-to-gguf.py before that.
| chkhsh | Writes tokenizer.ggml.pre | Converter from | Tokenizer it was taken from |
|---|---|---|---|
ffdae2f611dc6903980be2fbb108467cb97376d7d03cd332bb7e2602f87fa1f1 | raon | after b12754 | KRAFTON/Raon-1-mini-preview |
5635e1c8d621dff7b4825f41f2f97b6ceb39bcf2d5c541db28577080d6efd5e5 | inkling2 | b12406 | thinkingmachines/Inkling-2-Small |
df1bc34a6366466bcb36a9a1b1cc0afdb08cfe21c9250602c930f159085390a9 | gpt-2 | b12089 | Lernex/Metis-1.6-Logos |
6e4d72c6e5260b90606e26a0931fa15e4b42ec6e97719d12919f2b1f93478262 | domyn-small | b11819 | domyn/Domyn-Small-v1.0 |
d5420e601e979078c670bc503d9ac411c311fa76b76a76267c31e0d6ba816637 | flint | b11803 | RecursiveSI/flint |
6e040dfe72e4b85855588c53acf4909ac4e98e55bc3a33cd7db499180dc42a78 | qwen2 | b11709 | Aleph-Alpha/Kolibri-1 |
f5c965e4198da6e7525072d87d1ecf4c51d981fd486c7c4ec728ef9cec7e03fc | gpt-4o | b11671 | meta-models/Muse-Spark-Open-816B-A42B |
a9af07a84191f55098b248ae6f3dfe9e32d3190bebe8eafd91c1ddec9bc3449f | k2-horizon | b11454 | IFM/K2-Horizon-36B |
1f9825a388f700a6b591722f17d470cbbcf10973ece35d2fd14239a14110ae1a | k2-horizon | b11454 | IFM/K2-Horizon-0.9B |
4b05e02dad1c5ae07d266fd3342ddb644c6f6be058d728bc0a33af31a1d6ee66 | mmbert | b11361 | jhu-clsp/mmBERT-base |
653660222fb704f61cbf2b618a8ae6502b7f8b20c980f9a5de07ed78e13319cd | ufakzeka | b11034 | ufakai/ufakzeka-1 |
846deafc5b0fa786186fa4ae6c7b49903cf2f1d1895bdb80b9120d60be135252 | gemma4 | b11003 | danish-foundation-models/DFM-Mimir |
0a766d034107bc736a3f2dc4968fd62e54a3570f1454443e0c5a4cc6bd7941ed | spark2_5 | b10828 | XHToken/Spark-X2.5-1.7B |
e6ddf9c6686791c12d698d34c31ab9be1fea9af5a3d9a6909783ab382198ae1c | hy_v4 | b10813 | tencent/Hy4-preview |
972da7b59cec44d1f0a490a86c96df53859e486e481563e5dddac155013d87ac | laguna | b10087 | poolside/Laguna-XS.2 |
52df12b4c8d4176e7481aab4b6e8454d1fd0a210a04a574f6d4e067d10e23c3e | cohere2moe | b9626 | CohereLabs/North-Mini-Code-1.0 |
9dcf830ee9990cdbf78cc523a5f7bd9ad8f3f9890c2d3581d2785ad10f07049d | mellum2 | b9482 | JetBrains/Mellum2-12B-A2.5B-Base |
f241072145675bf8322086f115aebad05e9f869557a238bf2150a2a417d1bf60 | granite-embed-multi-97m | b9481 | ibm-granite/granite-embedding-97m-multilingual-r2 |
789696f5946cc0fc59371f39f6097cafed196b3acded6140432f26bbb1ae1669 | granite-embed-multi-311m | b9481 | ibm-granite/granite-embedding-311m-multilingual-r2 |
9e454714343b69b99b71795c1d27a68c2a1d15dab111f4d353109f966af29da7 | lfm2 | b9426 | LiquidAI/LFM2.5-8B-A1B |
36f3066e97b7f3994b379aaacde306c1444c6ae84e81a5ae3cd2b7ed3b8c42d4 | minicpm5 | b9354 | openbmb/MiniCPM5-1B |
f728162c1315c26e40249849799b4ba3fe584c32084b4795b03eb295e63cb5af | talkie | b9341 | lewtun/talkie-1930-13b-it-hf |
62f6fb0a6fd5098caeabb19b07a5c1099cafc8b9c40eab6ea89ece4ec02fbc57 | sarvam-moe | b9093 | sarvamai/sarvam-30b |
1444df51289cfa8063b96f0e62b1125440111bc79a52003ea14b6eac7016fd5f | qwen35 | b9049 | openbmb/MiniCPM-V-4_6 |
0fe1cf6eda062318a1af7270f3331a85c539a01778ff948e24388e949c5282f4 | gpt-2 | b8545 | evilfreelancer/ruGPT3XL |
862f827721df956049dff5ca81a57f29e575280bc622e290d3bf4e35eca29015 | f2llmv2 | b8526 | codefuse-ai/F2LLM-v2-4B |
a023e9fdc5a11f034d3ef515b92350e56fb2af1f66c6b6811a4444ea9bf8763d | jina-v5-nano | b8161 | jinaai/jina-embeddings-v5-text-nano |
e4d54df1ebc1f2b91acd986c5b51aa50837d5faf7c7398e73c1f9e9ee5d19869 | kanana2 | b8128 | kakaocorp/kanana-2-30b-a3b-instruct-2601 |
bc5108ee1eb6a3d600cadd065f63190fbd0554dbc9e4bbd6a0d977970afc8d2a | jais-2 | b8106 | inceptionai/Jais-2-8B-Chat |
b4b8ca1f9769494fbd956ebc4c249de6131fb277a4a3345a7a92c7dd7a55808d | joyai-llm | b8077 | jdopensource/JoyAI-LLM-Flash |
d772b220ace2baec124bed8cfafce0ead7d6c38a4b65ef11261cf9d5d62246d1 | tiny_aya | b8073 | CohereLabs/tiny-aya-base |
d30d75d9059f1aa2c19359de71047b3ae408c70875e8a3ccf8c5fba56c9d8af4 | qwen35 | b7990 | Qwen/Qwen3.5-9B-Instruct |
cdf5f35325780597efd76153d4d1c16778f766173908894c04afc20108536267 | glm4 | b7779 | zai-org/GLM-4.7-Flash |
6c81ce329e0802883b22eabab0d3fa48357337ef1ecb45443828bf1f6254833f | exaone-moe | b7727 | LGAI-EXAONE/K-EXAONE-236B-A23B |
9d70134b369a70e5735009b6de918f7581b5211f7c074d1f89f753aea8248af1 | youtu | b7607 | tencent/Youtu-LLM-2B |
b3d1dd861f1d4c5c0d2569ce36baf3f90fe8a102db3de50dd71ff860d91be3df | jina-v2-de | b7605 | aari1995/German_Semantic_V3 |
16389f0a1f51ee53e562ffd51c371dc508639ab0e4261502071836e50e223e91 | solar-open | b7603 | upstage/Solar-Open-100B |
a0b64b4385f123663873756336c085744376d015ff328bb1d901598f63c44152 | modern-bert | b7515 | answerdotai/ModernBERT-base |
4a2e2abae11ca2b86d570fc5b44be4d5eb5e72cc8f22dd136a94b37da83ab665 | kormo | b7414 | KORMo-Team/KORMo-tokenizer |
49fc0303c9e0d2c2c565c510f64b2d9b271276acdcdadff733249eda9f7d59df | afmoe | b7061 | arcee-ai/Trinity-Tokenizer |
f4f37b6c8eb9ea29b3eac6bb8c8487c5ab7885f8d8022e67edc1c68ce8403e95 | minimax-m2 | b6906 | MiniMaxAI/MiniMax-M2 |
53e325976a6e142379c19b09afcae354f2f496f147afa8f9e189a33fe4e3024e | granite-docling | b6692 | ibm-granite/granite-docling-258M |
9b1be57e70d20d9501b2b3186e792d81181ae36ada3903c26f9fea418cf87206 | bailingmoe2 | b6483 | inclusionAI/Ling-mini-base-2.0 |
66b8d4e19ab16c3bfd89bce5d785fb7e0155e8648708a1f42077cb9fe002c273 | grok-2 | b6475 | alvarobartt/grok-2-tokenizer |
9ca2dd618e8afaf09731a7cf6e2105b373ba6a1821559f258b272fe83e6eb902 | glm4 | b6085 | zai-org/GLM-4.5-Air |
a1e163ecab2e718a4c829d1148b6e86824ec36163bb71941c3dca9cd5ac25756 | mellum | b6078 | JetBrains/Mellum-4b-base |
d4540891389ea895b53b399da6ac824becc30f2fba0e9ddbb98f92e55ca0e97c | qwen2 | b6063 | Qwen/Qwen3-Embedding-0.6B |
bba3b3366b646dbdded5dbc42d59598b849371afc42f7beafa914afaa5b70aa6 | hunyuan-dense | b6058 | tencent/Hunyuan-4B-Instruct |
2085e1638f6c377a0aa4ead21b27bb4cb941bf800df86ed391011769c1758dfb | exaone4 | b5932 | LGAI-EXAONE/EXAONE-4.0-32B |
81212dc7cdb7e0c1074ca62c5aeab0d43c9f52b8a737be7b12a777c953027890 | kimi-k2 | b5902 | moonshotai/Kimi-K2-Base |
169bf0296a13c4d9b7672313f749eb36501d931022de052aad6e36f2bf34dd51 | lfm2 | b5873 | LiquidAI/LFM2.5-350M |
f6791d196f87ce6b56a7d234be618e0d58f8cda3549416635b2bebcd22cd95c4 | midm-2.0 | b5869 | K-intelligence/Midm-2.0-Base-Instruct |
b0a6b1c0bd5998ebd9df08611efde34a4ff03faed45ae09c43e6b31ebd4b94cf | a.x-4.0 | b5853 | skt/A.X-4.0 |
a6b57017d60e6edb4d88ecc2845188e0eb333a70357e45dcc9b53964a73bbae6 | falcon-h1 | b5851 | tiiuae/Falcon-H1-0.5B-Base |
60476e1243776c4fb1b993dbd7a5f15ac22f83c80afdf425fa5ae01c8d44ef86 | falcon-h1 | b5851 | tiiuae/Falcon-H1-1B-Base |
48f8e02c0359c0bbdd82f26909171fac1c18a457bb47573ed1fe3bbb2c1cfd4b | falcon-h1 | b5851 | tiiuae/Falcon-H1-34B-Base |
3eda48b4c4dc7de733d1a8b3e3b4a85243dbbf704da2ee9d42c6beced8897896 | falcon-h1 | b5851 | tiiuae/Falcon-H1-7B-Base |
7e57df22b1fe23a7b1e1c7f3dc4e3f96d43a4eb0836d0c6bdc3436d7b2f1c664 | hunyuan | b5843 | tencent/Hunyuan-A13B-Instruct |
d5f1dd6f980fec569fb218a81a7658ac45fc56b38c5a0adeb1c232fbe04ef5ec | seed-coder | b5341 | ByteDance-Seed/Seed-Coder-8B-Base |
0e9433cbbb161f89e264eb32e8e64bfe69e834973ffca5d41d3948a604a3e2a3 | pixtral | b5173 | mistral-community/pixtral-12b |
a1336059768a55c99a734006ffb02203cd450fed003e9a71886c88acf24fdbc2 | glm4 | b5115 | THUDM/glm-4-9b-hf |
d353350c764d8c3b39c763113960e4fb4919bea5fbf208a0e3b22e8469dc7406 | llama4 | b5074 | meta-llama/Llama-4-Scout-17B-16E-Instruct |
96a5f08be6259352137b512d4157e333e21df7edd3fcd152990608735a65b224 | bailingmoe | b5002 | inclusionAI/Ling-lite |
1994ffd01900cfb37395608534236ecd63f2bd5995d6cb1004dda1af50240f15 | trillion | b5001 | trillionlabs/Trillion-7B-preview |
7dec86086fcc38b66b7bc1575a160ae21cf705be7718b9d5598190d7c12db76f | superbpe | b4948 | UW/OLMo2-8B-SuperBPE-t180k |
ccc2ef013c104be7bae2965776d611e1d7a8a2a9c547dd93a682c9a9fc80352e | gpt-4o | b4792 | Xenova/gpt-4o |
81d72c7348a9f0ebe86f23298d37debe0a5e71149e29bd283904c02262b27516 | chatglm-bpe | b4613 | THUDM/glm-4-9b-chat |
b3f499bb4255f8ca19fccd664443283318f2fd2414d5e0b040fbdd0cc195d6c5 | deepseek-r1-qwen | b4514 | deepseek-ai/DeepSeek-R1-Distill-Qwen-1.5B |
877081d19cf6996e2c4ff0e1236341e9b7bde288f5311a56a937f0afbbb3aeb5 | deepseek-v3 | b4417 | deepseek-ai/DeepSeek-V3 |
d4c8f286ea6b520b3d495c4455483cfa2302c0cfcd4be05d781b6a8a0a7cdaf1 | megrez | b4381 | Infinigence/Megrez-3B-Instruct |
9d032fcbd5501f4a38150912590928bfb36091efb5df11b8e2124b0390e3fb1e | falcon3also present b4341 to before b4351 | b4376 | tiiuae/Falcon3-7B-Base |
ad851be1dba641f2e3711822f816db2c265f788b37c63b4e1aeacb9ee92de8eb | gigachat | b4333 | ai-sage/GigaChat-20B-A3B-instruct |
8b5a93ed704057481f240da0be7e7dca721d7f8f4755263b6807227a2cbeae65 | roberta-bpe | b4279 | sentence-transformers/stsb-roberta-base |
1431a23e583c97432bc230bff598d103ddb5a1f89960c8f1d1051aaa944d0b35 | minerva-7b | b4272 | sapienzanlp/Minerva-7B-base-v1.0 |
8e62295832751ca1e8f92f2226f403dea30dc5165e448b5bfa05af5340c64ec7 | bert-bge-large | b3975 | BAAI/bge-large-zh-v1.5 |
c7699093ba4255a91e702aa38a596aa81669f3525dae06c2953267dde580f448 | jina-v1-en | b3841 | jinaai/jina-reranker-v1-tiny-en |
60824e3c0d9401f89943cbb2fff727f0e2d4c545ba4df2d6e4f09a6db0f5b450 | chameleon | b3834 | facebook/chameleon-7b |
fcace8b9cac38ce847670c970cd5892031a753a1ef381abd1d9af00f713da085 | phi-2 | b3743 | microsoft/phi-2 |
4e2b24cc4770243d65a2c9ec19770a72f08cffc161adbb73fcbb6b7dd45a0aae | exaone | b3595 | LGAI-EXAONE/EXAONE-3.0-7.8B-Instruct |
bc01ce58980e1db43859146dc51b1758b3b88729b217a74792e9f8d43e479d21 | gpt3-finnish | b3587 | TurkuNLP/gpt3-finnish-small |
3c30d3ad1d6b64202cd222813e7736c2db6e1bd6d67197090fc1211fbc612ae7 | bloom | b3587 | bigscience/bloom |
7b3e7548e4308f52a76e8229e4e6cc831195d0d1df43aed21ac6c93da05fec5f | codeshell | b3441 | WisdomShell/CodeShell-7B |
855059429035d75a914d1eda9f10a876752e281a054a7a3d421ef0533e5b6249 | smollm | b3440 | HuggingFaceTB/SmolLM-135M |
63b97e4253352e6f357cc59ea5b583e3a680eaeaf2632188c2b952de2588485e | tekken | b3426 | mistralai/Mistral-Nemo-Base-2407 |
b6e8e1518dc4305be2fe39c313ed643381c4da5db34a98f6a04c093f8afbe99b | chatglm-bpe | b3333 | THUDM/glm-4-9b-chat |
b53802fb28e26d645c3a310b34bfe07da813026ec7c7716883404d5e0f8b1901 | jais | b3282 | core42/jais-13b |
7fc505bd3104ca1083b150b17d088b59534ede9bde81f0dd2090967d7fe52cee | viking | b3248 | LumiOpen/Viking-7B |
c7ea5862a53e4272c035c8238367063e2b270d51faa48c0f09e9d5b54746c360 | poro-chat | b3146 | LumiOpen/Poro-34B-chat |
7967bfa498ade6b757b064f31e964dddbb80f8f9a4d68d4ba7998fcf281c531a | jina-v2-code | b3130 | jinaai/jina-embeddings-v2-base-code |
c136ed14d01c2745d4f60a9596ae66800e2b61fa45643e72436041855ad4089d | smaug-bpe | b3001 | abacusai/Smaug-Llama-3-70B-Instruct |
32d85c31273f8019248f2559fed492d929ea28b17e51d81d3bb36fff23ca72b3 | domyn-edgealso listed for stablelm2; the last entry wins | b2933 | domyn/Domyn-Edge-Teacher-IF |
27949a2493fc4a9f53f5b9b029c82689cfbe5d3a1929bb25e043089e28466de6 | jina-v2-de | b2845 | jinaai/jina-embeddings-v2-base-de |
171aeeedd6fb548d418a7461d053f11b6f1f1fc9b387bd66640d28a4b9f5c643 | jina-v2-es | b2845 | jinaai/jina-embeddings-v2-base-es |
e636dc30a262dcc0d8c323492e32ae2b70728f4df7dfe9737d9f920a282b8aea | qwen2 | b2813 | Qwen/Qwen1.5-7B |
a8594e3edff7c29c003940395316294b2c623e09894deebbc65f33f1515df79e | dbrx | b2811 | databricks/dbrx-base |
9c2227e4dd922002fb81bde4fc02b0483ca4f12911410dee2255e4987644e3f8 | command-r | b2791 | CohereForAI/c4ai-command-r-v01 |
6221ad2852e85ce96f791f476e0b390cf9b474c9e3d1362f53a24a06dc8220ff | refact | b2785 | smallcloudai/Refact-1_6-base |
b6dc8df998e1cfbdc4eac8243701a65afe638679230920b50d6f17d81c098166 | olmoalso listed for mpt; the last entry wins | b2761 | allenai/OLMo-1.7-7B-hf |
8aeee3860c56296a157a1fe2fad249ec40aa59b1bb5709f4ade11c4e6fe652ed | falcon | b2761 | tiiuae/falcon-7b |
3ce83efda5659b07b1ad37ca97ca5797ea4285d9b9ab0dc679e4a720c9da7454 | gpt-2 | b2761 | openai-community/gpt2 |
35d91631860c815f952d711435f48d356ebac988362536bed955d43bfa436e34 | starcoder | b2761 | bigcode/starcoder2-3b |
347715f544604f9118bb75ed199f68779f423cabb20db6de6f31b908d04d7821 | deepseek-coder | b2761 | deepseek-ai/deepseek-coder-6.7b-base |
0ef9807a4087ebef797fc749390439009c3b9eda9ad1a097abbe738f486c01e5 | llama-bpe | b2761 | meta-llama/Meta-Llama-3-8B |
0876d13b50744004aa9aeae05e7b0647eac9d801b5ba4668afc01e709c15e19f | jina-v2-enalso listed for bert-bge; the last entry wins | b2761 | jinaai/jina-embeddings-v2-base-en |
049ecf7629871e3041641907f3de7c733e4dbfdc736f57d882ba0b0845599754 | deepseek-llm | b2761 | deepseek-ai/deepseek-llm-7b-base |
Which llama.cpp, Ollama and llama-cpp-python release loads each tokenizer.ggml.pre name?
Each row is one name the loader accepts, with the first llama.cpp release tag that has it and the first Ollama and llama-cpp-python release whose bundled llama.cpp has it. Any later release also has it. Newest first; 102 rows. "Same handling as" lists the names the current loader treats identically (same split rules and flags).
| tokenizer.ggml.pre | llama.cpp from | Commit that added it | Ollama from | llama-cpp-python from | Same handling as |
|---|---|---|---|---|---|
raon | after b12754 | model : add RAON-1-mini-preview support (#32176) 5a09582d80 | |||
domyn-edge | b12568 | model: add Domyn Edge 4B Model (#32559) 55d323507d | 0.40.18 | 0.3.38 | qwen2, deepseek-r1-qwen, kormo, f2llmv2 |
zonos3 | b12424 | mtmd: add zonos3-mini TTS model (#32020) 7ae3c6b231 | 0.40.18 | 0.3.38 | |
inkling2 | b12406 | feat: add Inkling 2 support (text + vision) (#32217) 5c008e0008 | 0.40.18 | 0.3.38 | |
tekken-num3 | b11998 | model: mistral le chonk (#31376) 78feec062d | 0.40.15 | 0.3.37 | |
soprano | b11850 | mtmd : add Soprano TTS support (#28607) 9ae73e68f5 | 0.40.12 | 0.3.37 | |
nemotron-3.5-embed | b11833 | vocab : fix Nemotron-3.5-Embed tokenization (#30974) f9599d0cc8 | 0.40.11 | 0.3.37 | |
domyn-small | b11819 | nemotron : support non-standard GQA, BPE tokenizer and domyn-small pre-type (#23343) 0693dbfb91 | 0.40.11 | 0.3.37 | |
flint | b11803 | models : add Flint model (FlintForCausalLM) (#30928) a37cc46104 | 0.40.9 | 0.3.37 | |
k2-horizon | b11454 | model : add K2 Horizon dense and MoVA support (#29535) 4625240437 | 0.40.4 | 0.3.37 | |
mmbert | b11361 | llama, server: add /v1/systemone API (models: laya, julia-1, lev, openjev, kev) (#29818) a4cb4c61fd | 0.40.4 | 0.3.37 | |
glm5 | b11279 | add GLM-5.3-Flash (GLM5-Next) support (#27773) 649dcb1036 | 0.40.0 | 0.3.36 | glm4 |
ufakzeka | b11034 | vocab : add ufakzeka pre-tokenizer (#29033) dc85f89c7e | 0.34.4 | 0.3.36 | |
spark2_5 | b10828 | [Model] Support for Spark2_5ForCausalLM implementation (#27868) 3ad1ba7336 | 0.34.1 | 0.3.36 | |
hy_v4 | b10813 | model : add Tencent Hy 4 (hy_v4) preview architecture support (#28127) 49c0dc82b8 | 0.34.1 | 0.3.36 | |
laguna | b10087 | Add support for Laguna XS.2 & M.1 (#25165) 1f66c3ce1c | 0.32.3 | 0.3.35 | |
cohere2moe | b9630 | Add cohere2moe to llama-vocab for TINY_AYA (#24601) 8ed274ef46 | 0.30.10 | 0.3.30 | tiny_aya |
mellum2 | b9482 | model: add Mellum architecture (#23966) 4fb16eccce | 0.30.4 | 0.3.26 | |
granite-embed-multi-97m | b9481 | model : support granite multilingual embeddings R2 (ibm-granite/granite-embedding-{97,311}m-multilingual-r2) (#22716) bfb4308b05 | 0.30.4 | 0.3.26 | |
granite-embed-multi-311m | b9481 | model : support granite multilingual embeddings R2 (ibm-granite/granite-embedding-{97,311}m-multilingual-r2) (#22716) bfb4308b05 | 0.30.4 | 0.3.26 | gemma4 |
whitespace | b9442 | vocab : add tokenizer support for jina-embeddings-v2-base-zh (#18756) d4c8e2c29c | 0.30.0 | 0.3.24 | |
minicpm5 | b9354 | convert: add MiniCPM5 tokenizer support (#23384) 9777256c31 | 0.30.0 | 0.3.24 | |
talkie | b9341 | model : add support for talkie-1930-13b (#22596) c9d98295a3 | 0.30.0 | 0.3.24 | gpt-4o, llama4, kanana2 |
sarvam-moe | b9093 | model : add sarvam_moe architecture support (#20275) 1e5ad35d56 | 0.30.0 | 0.3.23 | |
gemma4 | b8648 | vocab: fix Gemma4 tokenizer (#21343) b069b10ab4 | 0.30.0 | 0.3.21 | granite-embed-multi-311m |
f2llmv2 | b8526 | model: codefuse-ai/F2LLM-v2 support 80322ebdaf | 0.30.0 | 0.3.19 | qwen2, deepseek-r1-qwen, kormo, domyn-edge |
jina-v5-nano | b8161 | model : add Jina Embeddings v5 Nano (partial EuroBERT) support (#19826) 66287bdaac | 0.30.0 | 0.3.17 | llama3, llama-v3, llama-bpe, falcon3, falcon-h1, midm-2.0 |
kanana2 | b8128 | model : add Kanana-2 model support (#19803) ae2368e74e | 0.30.0 | 0.3.17 | gpt-4o, llama4, talkie |
jais-2 | b8106 | model : add JAIS-2 architecture support (#19488) 2bf318fd2f | 0.30.0 | 0.3.17 | |
joyai-llm | b8077 | convert : add JoyAI-LLM-Flash (#19651) 05fa625eac | 0.30.0 | 0.3.17 | |
tiny_aya | b8073 | model: Add support for Tiny Aya Models (#19611) 5f28c53d11 | 0.30.0 | 0.3.17 | cohere2moe |
qwen35 | b7990 | models : support qwen3.5 series (#19468) fc0fe40049 | 0.30.0 | 0.3.17 | |
exaone-moe | b7727 | model : add EXAONE MoE (#18543) 60591f01d4 | 0.30.0 | 0.3.17 | |
youtu | b7607 | model: support youtu-vl model (#18479) ced765be44 | 0.30.0 | 0.3.17 | |
solar-open | b7603 | model: add Solar Open model (#18511) f4f5019254 | 0.30.0 | 0.3.17 | |
modern-bert | b7515 | model : Granite Embedding support (#15641) dfc959b886 | 0.30.0 | 0.3.17 | gpt-2, phi-2, jina-es, jina-de, gigachat, jina-v2-es, jina-v2-de, a.x-4.0, mellum |
kormo | b7414 | model : add KORMo model (#18032) 9d52f17ae3 | 0.13.5 | 0.3.17 | qwen2, deepseek-r1-qwen, f2llmv2, domyn-edge |
afmoe | b7061 | model : add AfmoeForCausalLM support (#16477) e1fcf8b09b | 0.13.2 | 0.3.17 | |
minimax-m2 | b6906 | model : Minimax M2 (#16831) 0de0a01576 | 0.13.2 | 0.3.17 | |
bailingmoe2 | b6810 | model : add BailingMoeV2 support (#16063) 84bf3c6778 | 0.12.11 | 0.3.17 | bailingmoe, llada-moe |
granite-docling | b6692 | model : Granite docling + Idefics3 preprocessing (SmolVLM) (#16206) ca71fb9b36 | 0.12.6 | 0.3.17 | |
llada-moe | b6483 | Add LLaDA-7b-MoE diffusion model (#16003) 6d758839ff | 0.12.4 | 0.3.17 | bailingmoe, bailingmoe2 |
grok-2 | b6475 | model : add grok-2 support (#15539) b8e09f08b9 | 0.12.4 | 0.3.17 | |
mellum | b6078 | vocab : JetBrains Mellum pre-tokenizer (#15045) 97366dc6ab | 0.11.5 | 0.3.15 | gpt-2, phi-2, jina-es, jina-de, gigachat, jina-v2-es, jina-v2-de, a.x-4.0, modern-bert |
hunyuan-dense | b6058 | model : add hunyuan dense (#14878) 0f5ccd6fd1 | 0.11.5 | 0.3.15 | |
exaone4 | b5932 | model : add EXAONE 4.0 support (#14630) e0cb5c5cb8 | 0.11.5 | 0.3.15 | |
kimi-k2 | b5902 | model : add Kimi-K2 support (#14654) 4a4f426944 | 0.11.5 | 0.3.14 | |
lfm2 | b5873 | model : support LiquidAI LFM2 hybrid family (#14620) f5e96b368f | 0.11.5 | 0.3.13 | |
midm-2.0 | b5869 | vocab : add midm-2.0 model pre-tokenizer (#14626) 576c82eda2 | 0.11.5 | 0.3.13 | llama3, llama-v3, llama-bpe, falcon3, falcon-h1, jina-v5-nano |
a.x-4.0 | b5853 | model : add skt/A.X-4.0 model vocabulary (#14589) ffd59e7d18 | 0.11.5 | 0.3.13 | gpt-2, phi-2, jina-es, jina-de, gigachat, jina-v2-es, jina-v2-de, mellum, modern-bert |
falcon-h1 | b5851 | model : add support for Falcon-H1 family (#14534) 04655063c4 | 0.11.5 | 0.3.13 | llama3, llama-v3, llama-bpe, falcon3, midm-2.0, jina-v5-nano |
hunyuan | b5843 | model : add hunyuan moe (#14425) 8f22dc0a53 | 0.11.5 | 0.3.13 | |
seed-coder | b5341 | vocab : add ByteDance-Seed/Seed-Coder (#13423) d2a4ef05c6 | 0.7.0 | 0.3.10 | |
pixtral | b5173 | mtmd : Support Pixtral 12B (#13065) ecda2ec4b3 | 0.6.8 | 0.3.9 | tekken |
glm4 | b5115 | llama-model : add Glm4Model implementation for GLM-4-0414 (#12867) 06bb53ad9b | 0.6.6 | 0.3.9 | glm5 |
llama4 | b5074 | llama : Support llama 4 text-only (#12791) 1466621e73 | 0.6.6 | 0.3.9 | gpt-4o, kanana2, talkie |
bailingmoe | b5002 | llama : support BailingMoE (Ling) (#12634) 2c3f8b850a | 0.6.6 | 0.3.9 | bailingmoe2, llada-moe |
trillion | b5001 | llama : add Trillion 7B model support (#12556) b3de7cac73 | 0.6.6 | 0.3.9 | |
superbpe | b4948 | llama-vocab : add SuperBPE pre-tokenizer (#12532) 00d53800e0 | 0.6.6 | 0.3.9 | |
gpt-4o | b4792 | llama : add Phi-4-mini support (supersede #12099) (#12108) c43a3e7996 | 0.5.13 | 0.3.8 | llama4, kanana2, talkie |
deepseek-r1-qwen | b4514 | llama : add support for Deepseek-R1-Qwen distill model (#11310) ec7f3ac9ab | 0.5.13 | 0.3.7 | qwen2, kormo, f2llmv2, domyn-edge |
deepseek-v3 | b4417 | llama : Add support for DeepSeek V3 (#11049) 9394bbd484 | 0.5.5 | 0.3.6 | |
megrez | b4381 | llama : support InfiniAI Megrez 3b (#10893) b92a14a841 | 0.5.5 | 0.3.6 | |
falcon3 | b4376 also b4341 to before b4351 (reverted) | llama : add Falcon3 support (#10883) 7ae33a616f | 0.5.5 | 0.3.6 | llama3, llama-v3, llama-bpe, falcon-h1, midm-2.0, jina-v5-nano |
roberta-bpe | b4362 | llama : fix Roberta embeddings (#10856) 2fffc52b50 | 0.5.5 | 0.3.6 | jina-v1-en, jina-v2-code |
gigachat | b4333 | llama : add Deepseek MoE v1 & GigaChat models (#10827) a0974156f3 | 0.5.5 | 0.3.6 | gpt-2, phi-2, jina-es, jina-de, jina-v2-es, jina-v2-de, a.x-4.0, mellum, modern-bert |
minerva-7b | b4272 | llama : add Minerva 7B model support (#10673) 6fe6247831 | 0.5.3 | 0.3.3 | |
jina-v1-en | b3841 | llama : add reranking support (#9510) f4d2b8846a | 0.3.14 | 0.3.1 | jina-v2-code, roberta-bpe |
chameleon | b3834 | llama : add support for Chameleon (#8543) 9a913110cf | 0.3.14 | 0.3.1 | |
exaone | b3595 | llama : add EXAONE model support (#9025) c679e0cb5c | 0.3.10 | 0.2.89 | |
gpt3-finnish | b3587 | llama : add pre-tokenizer regexes for BLOOM and gpt3-finnish (#8850) 6bda7ce6c3 | 0.3.10 | 0.2.89 | |
bloom | b3587 | llama : add pre-tokenizer regexes for BLOOM and gpt3-finnish (#8850) 6bda7ce6c3 | 0.3.10 | 0.2.89 | |
codeshell | b3441 | llama : fix codeshell support (#8599) 081fe431aa | 0.3.1 | 0.2.83 | |
smollm | b3440 | llama : add support for SmolLm pre-tokenizer (#8609) d94c6e0ccb | 0.2.8 | 0.2.83 | |
tekken | b3426 | llama : add support for Tekken pre-tokenizer (#8579) 940362224d | 0.2.8 | 0.2.83 | pixtral |
chatglm-bpe | b3333 | llama : support glm3 and glm4 (#8031) 905942abdb | 0.2.0 | 0.2.82 | |
phi-2 | b3324 | Detokenizer fixes (#8039) 213701b51a | 0.2.0 | 0.2.82 | gpt-2, jina-es, jina-de, gigachat, jina-v2-es, jina-v2-de, a.x-4.0, mellum, modern-bert |
jais | b3282 | Add `JAIS` model(s) (#8118) 968967376d | 0.2.0 | 0.2.81 | |
viking | b3248 | Added support for Viking pre-tokenizer (#8135) f675b20a3b | 0.2.0 | 0.2.80 | |
poro-chat | b3146 | convert : add Poro-34B-chat tokenizer support (#7713) 41b9260f18 | 0.1.45 | 0.2.79 | |
jina-v2-code | b3130 | llama : add jina v2 base code (#7596) f5d7b268ec | 0.1.45 | 0.2.78 | jina-v1-en, roberta-bpe |
smaug-bpe | b3001 | llama : add Smaug 70B support (#7402) c429b33beb | 0.1.40 | 0.2.77 | |
stablelm2 | b2933 | Add StableLM2 pre-tokenizer (#7349) 6aade19ee7 | 0.1.39 | 0.2.76 | |
jina-v2-es | b2867 | llama : rename jina tokenizers to v2 (#7249) 9aa672490c | 0.1.39 | 0.2.75 | gpt-2, phi-2, jina-es, jina-de, gigachat, jina-v2-de, a.x-4.0, mellum, modern-bert |
jina-v2-de | b2867 | llama : rename jina tokenizers to v2 (#7249) 9aa672490c | 0.1.39 | 0.2.75 | gpt-2, phi-2, jina-es, jina-de, gigachat, jina-v2-es, a.x-4.0, mellum, modern-bert |
jina-es | b2845 | llama : add Jina Embeddings architecture (#6826) b83cc3f5b3 | 0.1.39 | 0.2.74 | gpt-2, phi-2, jina-de, gigachat, jina-v2-es, jina-v2-de, a.x-4.0, mellum, modern-bert |
jina-de | b2845 | llama : add Jina Embeddings architecture (#6826) b83cc3f5b3 | 0.1.39 | 0.2.74 | gpt-2, phi-2, jina-es, gigachat, jina-v2-es, jina-v2-de, a.x-4.0, mellum, modern-bert |
qwen2 | b2813 | llama : add BPE pre-tokenization for Qwen2 (#7114) 229ffff872 | 0.1.39 | 0.2.71 | deepseek-r1-qwen, kormo, f2llmv2, domyn-edge |
dbrx | b2811 | convert : add BPE pre-tokenization for DBRX (#7132) 4cd621c26d | 0.1.39 | 0.2.71 | |
olmo | b2803 | Fix OLMo HF to GGUF conversion (#6910) b6aa670203 | 0.1.39 | 0.2.70 | |
command-r | b2791 | command-r : add BPE pre-tokenization (#7063) 889bdd7686 | 0.1.39 | 0.2.70 | |
refact | b2785 | tests : add test-tokenizer-0.sh + fix some tokenizers (#7036) 92139b90af | 0.1.39 | 0.2.70 | |
starcoder | b2761 | llama : fix BPE pre-tokenization (#6920) f4ab2a4147 | 0.1.33 | 0.2.66 | |
mpt | b2761 | llama : fix BPE pre-tokenization (#6920) f4ab2a4147 | 0.1.33 | 0.2.66 | |
llama3 | b2761 | llama : fix BPE pre-tokenization (#6920) f4ab2a4147 | 0.1.33 | 0.2.66 | llama-v3, llama-bpe, falcon3, falcon-h1, midm-2.0, jina-v5-nano |
llama-v3 | b2761 | llama : fix BPE pre-tokenization (#6920) f4ab2a4147 | 0.1.33 | 0.2.66 | llama3, llama-bpe, falcon3, falcon-h1, midm-2.0, jina-v5-nano |
llama-bpe | b2761 | llama : fix BPE pre-tokenization (#6920) f4ab2a4147 | 0.1.33 | 0.2.66 | llama3, llama-v3, falcon3, falcon-h1, midm-2.0, jina-v5-nano |
gpt-2 | b2761 | llama : fix BPE pre-tokenization (#6920) f4ab2a4147 | 0.1.33 | 0.2.66 | phi-2, jina-es, jina-de, gigachat, jina-v2-es, jina-v2-de, a.x-4.0, mellum, modern-bert |
falcon | b2761 | llama : fix BPE pre-tokenization (#6920) f4ab2a4147 | 0.1.33 | 0.2.66 | |
default | b2761 | llama : fix BPE pre-tokenization (#6920) f4ab2a4147 | 0.1.33 | 0.2.66 | |
deepseek-llm | b2761 | llama : fix BPE pre-tokenization (#6920) f4ab2a4147 | 0.1.33 | 0.2.66 | |
deepseek-coder | b2761 | llama : fix BPE pre-tokenization (#6920) f4ab2a4147 | 0.1.33 | 0.2.66 |
My chkhsh is not in the table. What now?
Then no llama.cpp version recognizes your tokenizer yet, and upgrading does not help. The hash changes whenever the token ids for the test string change. Common causes:
- You changed the tokenizer while fine-tuning: added tokens, a different normalizer or pre-tokenizer, or a
tokenizer.jsonre-saved by another transformers version. If you did not mean to, copy the base model'stokenizer.json,tokenizer_config.jsonandspecial_tokens_map.jsoninto the folder and convert again. - The model family is new and llama.cpp has no entry yet. Wait for the model support PR, or add the model to
convert_hf_to_gguf_update.pyand regenerate, which is what that PR does. - Your tokenizer is a known one with a small difference. If you are sure the split rules are the same as a listed model's, you can add your hash to your local copy of
get_vocab_base_pre()with that model's name. A wrong choice gives a file that loads and tokenizes slightly differently from Transformers, so compare token ids on a few strings afterwards.
The tool above answers in the same way: a hash that is not listed gets "not recognized by any build up to b12754".
Can I rename the pre-tokenizer instead of upgrading?
Sometimes. The current loader treats some names identically, so a file tagged with a new name can be re-tagged with an older name that your runtime already knows. For example, glm5 (b11279) has the same handling as glm4 (b5115):
pip install gguf
gguf-new-metadata --pre-tokenizer glm4 model.gguf model-glm4pre.gguf
Three conditions: the target name must be in the "same handling as" column; your build must know the target name; and your build must also know the model architecture, which is often the real blocker (see the architecture lookup). "Same handling" is read from the current source; an older build may have had different rules for the same name. Compare the token ids with Transformers on a few strings after re-tagging.
Two names for one hash: the last entry wins
A few tokenizers give the same chkhsh as another model. get_vocab_base_pre() is a list of plain if statements, so the last matching entry decides the name. At b12754:
0876d13b5074...:bert-bge(BAAI/bge-small-en-v1.5), thenjina-v2-en(jinaai/jina-embeddings-v2-base-en); the converter writesjina-v2-enb6dc8df998e1...:mpt(mosaicml/mpt-7b), thenolmo(allenai/OLMo-1.7-7B-hf); the converter writesolmo32d85c31273f...:stablelm2(stabilityai/stablelm-2-zephyr-1_6b), thendomyn-edge(domyn/Domyn-Edge-Teacher-IF); the converter writesdomyn-edge
The newest case matters for StableLM 2: since b12568 (2026-11-20), converting a StableLM 2 checkpoint writes domyn-edge instead of stablelm2. Runtimes older than b12568 then refuse the file with unknown pre-tokenizer type: 'domyn-edge'; Ollama has the name from 0.40.18 and llama-cpp-python from 0.3.38. The split rules are the same, but domyn-edge is handled like qwen2 (spaces are not cleaned up when decoding), not like stablelm2. To keep the old behaviour: gguf-new-metadata --pre-tokenizer stablelm2 in.gguf out.gguf. This is read from the source; we did not convert a StableLM 2 model.
Which llama.cpp build is inside Ollama and llama-cpp-python?
Both ship a fixed llama.cpp, so the name must be in that build. The latest Ollama, 0.40.18, bundles b12651; the latest llama-cpp-python, 0.3.38, bundles b12651. Below: every release where the bundled build changed, newest first.
Ollama (70 changes)
| Ollama | Date | Bundled llama.cpp |
|---|---|---|
| 0.40.18 | 2026-11-24 | b12651 |
| 0.40.17 | 2026-11-21 | b12257 |
| 0.40.16 | 2026-11-08 | b12177 |
| 0.40.15 | 2026-11-05 | b12111 |
| 0.40.13 | 2026-10-28 | b11963 |
| 0.40.12 | 2026-10-27 | b11901 |
| 0.40.11 | 2026-10-23 | b11845 |
| 0.40.9 | 2026-10-22 | b11803 |
| 0.40.7 | 2026-10-20 | b11738 |
| 0.40.5 | 2026-10-15 | b11669 |
| 0.40.4 | 2026-10-13 | b11521 |
| 0.40.0 | 2026-10-06 | b11351 |
| 0.35.1 | 2026-10-02 | b11232 |
| 0.34.4 | 2026-09-23 | b11081 |
| 0.34.2 | 2026-09-17 | b10969 |
| 0.34.1 | 2026-09-15 | b10864 |
| 0.33.3 | 2026-09-02 | b10760 |
| 0.33.1 | 2026-08-26 | b10630 |
| 0.32.15 | 2026-08-19 | b10488 |
| 0.32.14 | 2026-08-15 | b10434 |
| 0.32.10 | 2026-08-12 | b10380 |
| 0.32.8 | 2026-08-10 | b10353 |
| 0.32.6 | 2026-08-04 | b10242 |
| 0.32.3 | 2026-07-23 | b10091 |
| 0.32.2 | 2026-07-21 | b10069 |
| 0.31.2 | 2026-07-07 | b9888 |
| 0.31.0 | 2026-06-29 | b9840 |
| 0.30.11 | 2026-06-26 | b9781 |
| 0.30.10 | 2026-06-17 | b9672 |
| 0.30.9 | 2026-06-16 | b9626 |
| 0.30.5 | 2026-06-04 | b9509 |
| 0.30.4 | 2026-06-03 | b9493 |
| 0.30.1 | 2026-06-02 | b9479 |
| 0.30.0 | 2026-06-01 | b9452 |
| 0.13.5 | 2025-12-18 | b7437 |
| 0.13.3 | 2025-12-12 | b7345 |
| 0.13.2 | 2025-12-08 | b7209 |
| 0.12.11 | 2025-11-13 | b6840 |
| 0.12.6 | 2025-10-16 | b6752 |
| 0.12.4 | 2025-10-09 | b6646 |
| 0.11.5 | 2025-08-19 | b6121 |
| 0.7.0 | 2025-05-14 | b5359 |
| 0.6.8 | 2025-05-03 | b5237 |
| 0.6.7 | 2025-05-01 | b5162 |
| 0.6.6 | 2025-04-19 | b5125 |
| 0.5.13 | 2025-03-04 | b4778 |
| 0.5.5 | 2025-01-11 | b4419 |
| 0.5.3 | 2024-12-17 | b4327 |
| 0.5.2 | 2024-12-13 | b4260 |
| 0.3.14 | 2024-10-17 | b3861 |
| 0.3.10 | 2024-09-07 | b3661 |
| 0.3.4 | 2024-08-07 | b3535 |
| 0.3.1 | 2024-07-31 | b3485 |
| 0.2.8 | 2024-07-22 | b3440 |
| 0.2.0 | 2024-07-07 | b3334 |
| 0.1.45 | 2024-06-20 | b3171 |
| 0.1.40 | 2024-06-01 | b3051 |
| 0.1.39 | 2024-05-28 | b2986 |
| 0.1.33 | 2024-05-02 | b2769 |
| 0.1.32 | 2024-04-16 | b2679 |
| 0.1.30 | 2024-03-27 | b2527 |
| 0.1.29 | 2024-03-14 | b2356 |
| 0.1.28 | 2024-03-01 | b2308 |
| 0.1.27 | 2024-02-22 | b2248 |
| 0.1.26 | 2024-02-21 | b2223 |
| 0.1.25 | 2024-02-15 | b2144 |
| 0.1.24 | 2024-02-08 | b2081 |
| 0.1.23 | 2024-02-02 | b1999 |
| 0.1.21 | 2024-01-25 | b1964 |
| 0.1.18 | 2024-01-05 | b1662 |
llama-cpp-python (118 changes)
| llama-cpp-python | Date | Bundled llama.cpp |
|---|---|---|
| 0.3.38 | 2026-11-23 | b12651 |
| 0.3.37 | 2026-11-15 | b12387 |
| 0.3.36 | 2026-10-01 | b11312 |
| 0.3.35 | 2026-08-17 | b10454 |
| 0.3.34 | 2026-07-12 | b9976 |
| 0.3.33 | 2026-07-05 | b9874 |
| 0.3.32 | 2026-06-29 | b9837 |
| 0.3.31 | 2026-06-20 | b9733 |
| 0.3.30 | 2026-06-16 | b9665 |
| 0.3.29 | 2026-06-13 | b9625 |
| 0.3.28 | 2026-06-07 | b9553 |
| 0.3.27 | 2026-06-07 | b9547 |
| 0.3.26 | 2026-06-05 | b9518 |
| 0.3.25 | 2026-06-02 | b9466 |
| 0.3.24 | 2026-06-01 | b9445 |
| 0.3.23 | 2026-05-11 | b9102 |
| 0.3.22 | 2026-05-02 | b9006 |
| 0.3.21 | 2026-04-27 | b8941 |
| 0.3.20 | 2026-04-03 | b8643 |
| 0.3.19 | 2026-03-25 | b8531 |
| 0.3.17 | 2026-03-23 | b8475 |
| 0.3.16 | 2025-08-15 | b6153 |
| 0.3.15 | 2025-08-07 | b6109 |
| 0.3.14 | 2025-07-18 | b5904 |
| 0.3.13 | 2025-07-15 | b5897 |
| 0.3.12 | 2025-07-06 | b5833 |
| 0.3.10 | 2025-07-03 | b5760 |
| 0.3.9 | 2025-05-08 | b5308 |
| 0.3.8 | 2025-03-12 | b4875 |
| 0.3.7 | 2025-01-29 | b4576 |
| 0.3.6 | 2025-01-08 | b4447 |
| 0.3.5 | 2024-12-09 | b4295 |
| 0.3.3 | 2024-12-09 | b4291 |
| 0.3.2 | 2024-11-16 | b4094 |
| 0.3.1 | 2024-09-29 | b3848 |
| 0.3.0 | 2024-09-25 | b3825 |
| 0.2.90 | 2024-08-29 | b3639 |
| 0.2.89 | 2024-08-19 | b3604 |
| 0.2.88 | 2024-08-13 | b3579 |
| 0.2.87 | 2024-08-07 | b3541 |
| 0.2.86 | 2024-08-07 | b3537 |
| 0.2.85 | 2024-07-31 | b3496 |
| 0.2.84 | 2024-07-28 | b3484 |
| 0.2.83 | 2024-07-22 | b3441 |
| 0.2.82 | 2024-07-09 | b3347 |
| 0.2.81 | 2024-07-02 | b3282 |
| 0.2.80 | 2024-07-02 | b3280 |
| 0.2.79 | 2024-06-19 | b3184 |
| 0.2.78 | 2024-06-10 | b3092 |
| 0.2.77 | 2024-06-04 | b3078 |
| 0.2.76 | 2024-05-24 | b2986 |
| 0.2.75 | 2024-05-16 | b2894 |
| 0.2.74 | 2024-05-12 | b2860 |
| 0.2.73 | 2024-05-10 | b2840 |
| 0.2.71 | 2024-05-09 | b2815 |
| 0.2.70 | 2024-05-08 | b2806 |
| 0.2.69 | 2024-05-02 | b2781 |
| 0.2.68 | 2024-04-30 | b2773 |
| 0.2.66 | 2024-04-30 | b2769 |
| 0.2.65 | 2024-04-26 | b2737 |
| 0.2.64 | 2024-04-23 | b2716 |
| 0.2.63 | 2024-04-20 | b2699 |
| 0.2.62 | 2024-04-18 | b2690 |
| 0.2.61 | 2024-04-10 | b2638 |
| 0.2.60 | 2024-04-06 | b2615 |
| 0.2.59 | 2024-04-03 | b2590 |
| 0.2.58 | 2024-04-01 | b2578 |
| 0.2.57 | 2024-03-18 | b2456 |
| 0.2.56 | 2024-03-09 | b2366 |
| 0.2.55 | 2024-03-03 | b2321 |
| 0.2.54 | 2024-03-01 | b2306 |
| 0.2.53 | 2024-02-28 | b2282 |
| 0.2.52 | 2024-02-26 | b2275 |
| 0.2.51 | 2024-02-26 | b2267 |
| 0.2.48 | 2024-02-23 | b2249 |
| 0.2.47 | 2024-02-22 | b2234 |
| 0.2.46 | 2024-02-21 | b2231 |
| 0.2.45 | 2024-02-21 | b2230 |
| 0.2.42 | 2024-02-13 | b2144 |
| 0.2.41 | 2024-02-13 | b2135 |
| 0.2.40 | 2024-02-12 | b2128 |
| 0.2.39 | 2024-02-06 | b2082 |
| 0.2.38 | 2024-01-31 | b2037 |
| 0.2.37 | 2024-01-30 | b2022 |
| 0.2.36 | 2024-01-29 | b2005 |
| 0.2.35 | 2024-01-29 | b1999 |
| 0.2.34 | 2024-01-27 | b1988 |
| 0.2.33 | 2024-01-25 | b1966 |
| 0.2.30 | 2024-01-19 | b1893 |
| 0.2.29 | 2024-01-15 | b1878 |
| 0.2.28 | 2024-01-10 | b1804 |
| 0.2.27 | 2024-01-04 | b1768 |
| 0.2.26 | 2023-12-27 | b1708 |
| 0.2.25 | 2023-12-22 | b1691 |
| 0.2.24 | 2023-12-18 | b1660 |
| 0.2.23 | 2023-12-14 | b1634 |
| 0.2.22 | 2023-12-11 | b1621 |
| 0.2.21 | 2023-11-28 | b1575 |
| 0.2.20 | 2023-11-28 | b1573 |
| 0.2.19 | 2023-11-21 | b1547 |
| 0.2.18 | 2023-11-14 | b1516 |
| 0.2.17 | 2023-11-10 | b1502 |
| 0.2.16 | 2023-11-10 | b1500 |
| 0.2.15 | 2023-11-08 | b1497 |
| 0.2.14 | 2023-11-06 | b1492 |
| 0.2.13 | 2023-11-02 | b1476 |
| 0.2.12 | 2023-11-01 | b1457 |
| 0.2.8 | 2023-09-30 | b1298 |
| 0.2.7 | 2023-09-25 | b1269 |
| 0.2.6 | 2023-09-15 | b1226 |
| 0.2.3 | 2023-09-13 | b1221 |
| 0.1.85 | 2023-09-12 | b1215 |
| 0.1.84 | 2023-09-09 | b1204 |
| 0.1.83 | 2023-08-29 | b1119 |
| 0.1.82 | 2023-08-28 | b1103 |
| 0.1.81 | 2023-08-27 | b1095 |
| 0.1.80 | 2023-08-27 | b1083 |
| 0.1.79 | 2023-08-25 | b1069 |
Ollama: the build named by LLAMA_CPP_VERSION, Makefile.sync or the submodule, or the vendored source itself where Ollama kept a patched copy in the repository. Some Ollama releases from 2025 to 2026 ran certain models on Ollama's own Go engine, which does its own tokenization; for those models this table does not apply. LM Studio, Jan and KoboldCpp also embed llama.cpp; compare the llama.cpp version their release notes give with the table.
How was this built?
From the llama.cpp repository: every first-parent commit since 2024-04 that touched the converter (convert-hf-to-gguf.py, convert_hf_to_gguf.py, conversion/base.py) or the loader's name list (llama.cpp, src/llama.cpp, src/llama-model.cpp, src/llama-vocab.cpp), 1175 commits. For each commit we parsed the full list of hashes (including if chkhsh == A or chkhsh == B) and names, so a hash that was added, removed and added again is dated from its last addition. The first release is the first bNNNN tag that contains the commit (git describe --contains). As a check, the lists implied by the history were compared with the source of 55 sampled release tags; all matched. Ollama and llama-cpp-python: the llama.cpp commit each release pins, tested with git merge-base --is-ancestor against the commit that added the name. Download: pretok.json.
What this page does not cover
- Whether tokenization matches Transformers token for token. A recognized name only means llama.cpp picked a split rule; bugs in that rule are separate issues.
- Models whose GGUF vocabulary is not BPE.
- Forks and apps with their own patches, beyond Ollama's vendored copies.
- Commits after b12754:
raonis on master but in no release yet.
Questions
- What does "BPE pre-tokenizer was not recognized - update get_vocab_base_pre()" mean?
- The converter encodes a fixed test string with your tokenizer, hashes the token ids (the chkhsh) and looks the hash up in a list. Your hash is not in the list of the convert_hf_to_gguf.py you ran. If the hash is in the table on this page, a newer llama.cpp checkout knows it; if it is not, your tokenizer differs from every tokenizer llama.cpp has registered.
- What does "unknown pre-tokenizer type" mean when loading a GGUF?
- The file's tokenizer.ggml.pre value is a name your llama.cpp build does not accept. Use a build at or above the one listed for that name, or the Ollama or llama-cpp-python release listed next to it.
- I fine-tuned a model and now the chkhsh is unknown. Why?
- The hash covers the whole tokenizer behaviour, so added tokens, a changed normalizer or pre-tokenizer, or a tokenizer.json saved by a different transformers version can change it. Convert with the base model's tokenizer files if you did not mean to change the tokenizer.
- Can I rename tokenizer.ggml.pre instead of upgrading?
- Only to a name that the current loader handles identically, listed in the "same handling as" column, and only if your build knows that name. gguf_new_metadata.py --pre-tokenizer writes a copy of the file with the new value. Check the tokenization afterwards.
- What does "missing pre-tokenizer type, using: 'default'" mean?
- The GGUF has a BPE vocabulary but no tokenizer.ggml.pre, usually because it was converted before b2761 (PR #6920). llama.cpp falls back to a generic split and warns that quality will be degraded. Re-convert or download a newer conversion.
Related
- "unknown model architecture": which llama.cpp build and Ollama version a GGUF needs
- Model does not stop generating: which token each engine stops on
- llama-server and llama-cli arguments removed by build
Sources
- llama.cpp: conversion/base.py (
get_vocab_base_pre), convert_hf_to_gguf_update.py, src/llama-vocab.cpp, gguf_new_metadata.py, PR #6920, releases - Ollama: LLAMA_CPP_VERSION, releases
- llama-cpp-python: vendor/llama.cpp, releases
- Reports of the errors: Hugging Face forum, fine-tuned Qwen3.5-4B, Ollama #4529 (qwen2), aya-23 GGUF (command-r), grok-2 GGUF, mradermacher model_requests #2467