"unknown model architecture": which llama.cpp build and Ollama version a GGUF needs
"unknown model architecture: 'X'" means the llama.cpp inside your runtime is older than the commit that added X. The fix is a build at or above the number in the table below. For example, gemma4 needs llama.cpp b8637 (2026-04-02) and qwen35, used by Qwen 3.5 and 3.6, needs b7990 (2026-02-10). Ollama's bundled llama.cpp has both from 0.30.0. llama.cpp b12981 knows 185 architecture strings, 73 of them added in 2026. The latest Ollama, 0.40.21, bundles b12973.
In ComfyUI the message is "Unexpected text model architecture type in GGUF file" instead. That is a different list with different dates: see the ComfyUI-GGUF table, or paste the line below.
Which build does my GGUF need?
Paste the error line, or type the value of general.architecture. The two version fields are optional; fill them in to get a yes or no for your install.
Runs in your browser on the table below; nothing is sent anywhere. Build number: llama-server --version. Ollama version: ollama --version. Architecture of a file: gguf-dump --no-tensors model.gguf (pip install gguf).
Which llama.cpp build first supports each GGUF architecture?
Each row is one general.architecture string, with the first llama.cpp release tag that contains the commit adding it. Any later build also has it. Newest first; 185 rows. The Ollama column is the first release whose bundled llama.cpp has the string.
| general.architecture | llama.cpp from | Commit that added it | Ollama from (bundled llama.cpp) | Ollama's own engine | vLLM GGUF plugin |
|---|---|---|---|---|---|
ergo | b12938 | model: support Amazon-FMR/Ergo (#33485) 9b4a75c473 | 0.40.21 2026-12-04, bundles b12973 | – | – |
clef-omni | b12920 | model: add clef-omni (#33354) 94be107ac2 | 0.40.21 2026-12-04, bundles b12973 | – | – |
minicpm5_moe | b12847 | models : add MiniCPM5 MoE support (#32644) e18d1b2150 | 0.40.20 2026-12-03, bundles b12910 | – | – |
raon1 | b12758 | model : add RAON-1-mini-preview support (#32176) 5a09582d80 | 0.40.20 2026-12-03, bundles b12910 | – | – |
hy_v4_flash | b12755 | model : add hy_v4_flash on the DSA iSWA cache (#32960) c943331339 | 0.40.20 2026-12-03, bundles b12910 | – | – |
moshi | b12619 | mtmd: support kyutai/hibiki realtime full-duplex (#32491) c622f623fc | 0.40.18 2026-11-24, bundles b12651 | – | – |
inkling2_loop | b12600 | model : Inkling 2 Mini (#32694) 29b52d398b | 0.40.18 2026-11-24, bundles b12651 | – | – |
domynedge | b12568 | model: add Domyn Edge 4B Model (#32559) 55d323507d | 0.40.18 2026-11-24, bundles b12651 | – | – |
zaya1 | b12520 | model:add Zaya1 8B (Zyphra) (#32071) 98d67c8d53 | 0.40.18 2026-11-24, bundles b12651 | – | – |
tiny-voca | b12497 | mtmd: support tiny-voca (#32427) 3574df84b7 | 0.40.18 2026-11-24, bundles b12651 | – | – |
kokoro | b12494 | mtmd: add kokoro tts support (#32413) 307e3f1551 | 0.40.18 2026-11-24, bundles b12651 | – | – |
zonos3 | b12424 | mtmd: add zonos3-mini TTS model (#32020) 7ae3c6b231 | 0.40.18 2026-11-24, bundles b12651 | – | – |
inkling2 | b12406 | feat: add Inkling 2 support (text + vision) (#32217) 5c008e0008 | 0.40.18 2026-11-24, bundles b12651 | – | – |
kimi-k31 | b12180 | model: add Kimi-K3.1-Pro text model (#31779) bcb0152876 | 0.40.17 2026-11-21, bundles b12257 | – | – |
ricursive | b12158 | model : add Ripple (ricursiveai) (#31692) fecdc81eec | 0.40.16 2026-11-08, bundles b12177 | – | – |
xing4_0 | b12156 | model: Add support for the xing4_0 (#31589) 45b6604b20 | 0.40.16 2026-11-08, bundles b12177 | – | – |
metis16 | b12089 | model : Add support for Metis-1.6 models (#31134) 9309bf1bcf | 0.40.15 2026-11-05, bundles b12111 | – | – |
clover_moe | b12060 | model: add Clover support (#31306) e4b6c8ca6a | 0.40.15 2026-11-05, bundles b12111 | – | – |
mistral-large4 | b11998 | model: mistral le chonk (#31376) 78feec062d | 0.40.15 2026-11-05, bundles b12111 | – | – |
limite | b11988 | model : Support Limite 1B - Violetto (#29433) abb76ab380 | 0.40.15 2026-11-05, bundles b12111 | – | – |
lfm3 | b11938 | model : add LiquidAI/LFM3-1.7B and LiquidAI/LFM3-VL-2B (#31252) 19cce69199 | 0.40.13 2026-10-28, bundles b11963 | – | – |
deepseek41 | b11870 | model: DSV4.1 flash (#31086) 74bca39500 | 0.40.12 2026-10-27, bundles b11901 | – | – |
flint | b11803 | models : add Flint model (FlintForCausalLM) (#30928) a37cc46104 | 0.40.9 2026-10-22, bundles b11803 | – | – |
sensenova_u1 | b11801 | model: Add support for SenseNova U1 model (#28919) 7775ffb7e4 | 0.40.9 2026-10-22, bundles b11803 | – | – |
kolibri1 | b11709 | model : add Kolibri-1 (Aleph-Alpha) support (#30673) 62318cd57d | 0.40.7 2026-10-20, bundles b11738 | – | – |
beam | b11701 | model: add Beam (Reflection) (#30670) 01fc3aae84 | 0.40.7 2026-10-20, bundles b11738 | – | – |
muse-spark | b11671 | model: add Muse Spark Open (text, vision and audio) (#30616) ba3c05f71d | 0.40.7 2026-10-20, bundles b11738 | – | – |
maion-coder | b11658 | models : add maion-coder (#29778) 3e4dfa8f39 | 0.40.5 2026-10-15, bundles b11669 | – | – |
vllm-decision2 | b11571 | model: support vllm decision 2 model (#30378) 097cf33d94 | 0.40.5 2026-10-15, bundles b11669 | – | – |
k2-horizon | b11454 | model : add K2 Horizon dense and MoVA support (#29535) 4625240437 | 0.40.4 2026-10-13, bundles b11521 | – | – |
gemma-embedding2 | b11452 | model: support embeddinggemma2 (text+vision+audio) (#30054) 4fbc76dec5 | 0.40.4 2026-10-13, bundles b11521 | – | – |
clef | b11371 | model: add support for clef decision model (text-only) (#29831) 99b95488ca | 0.40.4 2026-10-13, bundles b11521 | – | – |
glm5-next | b11279 | add GLM-5.3-Flash (GLM5-Next) support (#27773) 649dcb1036 | 0.40.0 2026-10-06, bundles b11351 | – | – |
hrm_text | b11003 | model : add support for HrmTextForCausalLM (DFM Mimir 1B) (#27625) 7d6f5d02bb | 0.34.4 2026-09-23, bundles b11081 | – | – |
maple | b10964 | llama: add Maple 20B-A1B ternary MoE architecture (CPU) (#27000) 3d10bcd197 | 0.34.2 2026-09-17, bundles b10969 | – | – |
spark2_5 | b10828 | [Model] Support for Spark2_5ForCausalLM implementation (#27868) 3ad1ba7336 | 0.34.1 2026-09-15, bundles b10864 | – | – |
hy_v4 | b10813 | model : add Tencent Hy 4 (hy_v4) preview architecture support (#28127) 49c0dc82b8 | 0.34.1 2026-09-15, bundles b10864 | – | – |
qwen4exp | b10660 | model: add Qwen3.8-Flash-Next (qwen4exp) (#27742) 6c84c7d5d8 | 0.33.3 2026-09-02, bundles b10760 | – | – |
dots3note | b10569 | model: add dots3-note (#27060) 5a32f7b66e | 0.33.1 2026-08-26, bundles b10630 | – | – |
granite_swa | b10514 | model : GraniteSWAForCausalLM / GraniteMoeSWAForCausalLM (#25505) 7221e24f57 | 0.33.1 2026-08-26, bundles b10630 | – | – |
bailingmoe3 | b10470 | model : BailingMoE3 Support (#26608) 3733366720 | 0.32.15 2026-08-19, bundles b10488 | – | – |
kimi-k3 | b10448 | model: add Kimi-K3 text model (#26185) ad1de39e07 | 0.32.15 2026-08-19, bundles b10488 | – | – |
minimax-01 | b10437 | model : add support for MiniMaxText01ForCausalLM and MiniMaxM1ForCausalLM (#27018) 16d222fc5e | 0.32.15 2026-08-19, bundles b10488 | – | – |
pockettts | b10369 | mtmd: support pocket-tts (#26871) 6e62ba5384 | 0.32.10 2026-08-12, bundles b10380 | – | – |
muse-glimmer | b10353 | model: Muse Glimmer Support (#26841) 62bf73d25c | 0.32.8 2026-08-10, bundles b10353 | – | – |
graniteswitch | b10342 | model : Granite-Switch Architecture (#25107) 157b81fe6d | 0.32.8 2026-08-10, bundles b10353 | – | – |
qwen3tts | b10270 | mtmd: support Qwen3-TTS (note: breaking change to llama-tts binary) (#26254) 0713275082 | 0.32.8 2026-08-10, bundles b10353 | – | – |
nanbeige | b10153 | model: Add support for Nanbeige4.2 (#25994) b77d646751 | 0.32.6 2026-08-04, bundles b10242 | – | – |
minimax-m3 | b10141 | model: Add MiniMax-M3 (MSA: MiniMax Sparse Attention) support (#24908) b1d4c65524 | 0.32.6 2026-08-04, bundles b10242 | – | – |
laguna | b10087 | Add support for Laguna XS.2 & M.1 (#25165) 1f66c3ce1c | 0.30.1 2026-06-02, bundles b9479 + Ollama patch | 0.22.0–0.31.1 | – |
hy_v3 | b9993 | model: add Hy3 (hy_v3) support with MTP speculative decoding (#25395) 2969d6d15d | 0.32.2 2026-07-21, bundles b10069 | – | – |
deepseek4 | b9840 | DeepSeek V4 (#24162) 8c146a8366 | 0.31.0 2026-06-29, bundles b9840 | – | – |
dflash | b9831 | spec : add DFlash support (#22105) d1b34251bc | 0.31.0 2026-06-29, bundles b9840 | – | – |
cohere2moe | b9626 | Add arch support for cohere2-MoE (#24260) 4988f6e866 | 0.30.9 2026-06-16, bundles b9626 | – | – |
eagle3 | b9606 | spec: add EAGLE3 speculative decoding support (#18039) 88a39274ec | 0.30.9 2026-06-16, bundles b9626 | – | – |
gemma4-assistant | b9549 | llama : add Gemma4 MTP (#23398) 04eb4c446d | 0.30.9 2026-06-16, bundles b9626 | – | – |
mellum | b9482 | model: add Mellum architecture (#23966) 4fb16eccce | 0.30.4 2026-06-03, bundles b9493 | – | – |
deepseek32 | b9411 | model : support for DeepseekV32ForCausalLM with generic DeepSeek Sparse Attention (DSA) implementation (#23346) 1f0aa2a696 | 0.30.0 2026-06-01, bundles b9452 | – | – |
talkie | b9341 | model : add support for talkie-1930-13b (#22596) c9d98295a3 | 0.30.0 2026-06-01, bundles b9452 | – | – |
hunyuan_vl | b8885 | mtmd, llama : Update HunyuanVL vision-language model support (#22037) 7bfe60fdf9 | 0.30.0 2026-06-01, bundles b9452 | – | – |
gemma4 | b8637 | model, mtmd: fix gguf conversion for audio/vision mmproj (#21309) 63f8fe0ef4 | 0.30.0 2026-06-01, bundles b9452 | 0.20.0–0.31.1 | tested Gemma 4 |
deepseek2-ocr | b8530 | mtmd: Add DeepSeekOCR Support (#17400) a970515bdb | 0.30.0 2026-06-01, bundles b9452 | – | – |
mistral4 | b8388 | model: mistral small 4 support (#20649) d34ff7eb5b | 0.30.0 2026-06-01, bundles b9452 | – | – |
eurobert | b8161 | model : add Jina Embeddings v5 Nano (partial EuroBERT) support (#19826) 66287bdaac | 0.30.0 2026-06-01, bundles b9452 | – | – |
paddleocr | b8110 | model: Add PaddleOCR-VL model support (#18825) 237958db33 | 0.30.0 2026-06-01, bundles b9452 | – | – |
jais2 | b8106 | model : add JAIS-2 architecture support (#19488) 2bf318fd2f | 0.30.0 2026-06-01, bundles b9452 | – | – |
glm-dsa | b8036 | model: support GLM MoE DSA arch (NOTE: indexer is not yet supported) (#19460) 752584d5f5 | 0.30.0 2026-06-01, bundles b9452 | – | – |
qwen35 | b7990 | models : support qwen3.5 series (#19468) fc0fe40049 | 0.30.0 2026-06-01, bundles b9452 | 0.17.1–0.24.0 | tested Qwen 3.5 / 3.6 |
qwen35moe | b7990 | models : support qwen3.5 series (#19468) fc0fe40049 | 0.30.0 2026-06-01, bundles b9452 | 0.17.1–0.24.0 | – |
step35 | b7964 | model : support Step3.5-Flash (#19283) b83111815e | 0.30.0 2026-06-01, bundles b9452 | – | – |
kimi-linear | b7957 | Kimi-Linear support (backend agnostic + MLA KV cache) (#18755) 3688c4f504 | 0.30.0 2026-06-01, bundles b9452 | – | – |
exaone-moe | b7727 | model : add EXAONE MoE (#18543) 60591f01d4 | 0.30.0 2026-06-01, bundles b9452 | – | – |
maincoder | b7614 | model : Maincoder-1B support (#18534) 5755e52d15 | 0.30.0 2026-06-01, bundles b9452 | – | – |
plamo3 | b7563 | model : Plamo3 support (#17304) 9c675c7140 | 0.30.0 2026-06-01, bundles b9452 | – | – |
mimo2 | b7536 | model: support MiMo-V2-Flash (#18328) 4cbafad4f0 | 0.30.0 2026-06-01, bundles b9452 | – | – |
llama-embed | b7531 | model : support for LlamaBidirectionalModel architecture (#18220) 54132f1b1f | 0.30.0 2026-06-01, bundles b9452 | – | – |
modern-bert | b7515 | model : Granite Embedding support (#15641) dfc959b886 | 0.30.0 2026-06-01, bundles b9452 | – | – |
nemotron_h_moe | b7418 | llama : add support for NVIDIA Nemotron 3 Nano (#18058) 2995341730 | 0.13.4 2025-12-16, bundles b7345 + Ollama patch | 0.17.1–0.24.0 | – |
mistral3 | b7216 | model: support Ministral3 (#17644) cd3c118908 | 0.13.3 2025-12-12, bundles b7345 also 0.6.5–0.6.8 (Ollama patch) | 0.6.5–0.24.0 | – |
qwen3next | b7186 | model : Qwen3 Next (#16095) ff55414c42 | 0.13.2 2025-12-08, bundles b7209 | 0.15.5–0.24.0 | – |
rnd1 | b7140 | models : Added support for RND1 Diffusion Language Model (#17433) 4902eebe33 | 0.13.2 2025-12-08, bundles b7209 | – | – |
afmoe | b7061 | model : add AfmoeForCausalLM support (#16477) e1fcf8b09b | 0.13.2 2025-12-08, bundles b7209 | – | – |
pangu-embedded | b6955 | model : add openPangu-Embedded (#16941) 9f052478c2 | 0.13.2 2025-12-08, bundles b7209 | – | – |
minimax-m2 | b6906 | model : Minimax M2 (#16831) 0de0a01576 | 0.13.2 2025-12-08, bundles b7209 | – | – |
qwen3vl | b6887 | model: add support for qwen3vl series (#16780) d261223d24 | 0.13.2 2025-12-08, bundles b7209 | 0.12.7–0.24.0 | – |
qwen3vlmoe | b6887 | model: add support for qwen3vl series (#16780) d261223d24 | 0.13.2 2025-12-08, bundles b7209 | 0.12.7–0.24.0 | – |
cogvlm | b6885 | model: Add support for CogVLM model (#15002) bacddc049a | 0.13.2 2025-12-08, bundles b7209 | – | – |
bailingmoe2 | b6810 | model : add BailingMoeV2 support (#16063) 84bf3c6778 | 0.12.11 2025-11-13, bundles b6840 | – | – |
clip | b6768 | llama-quant: add support for mmproj (#16592) 3e3cb19f64 | 0.12.11 2025-11-13, bundles b6840 | – | – |
lfm2moe | b6709 | llama : support LiquidAI LFM2-MoE hybrid model (#16464) aeaf8a36f0 | 0.12.6 2025-10-16, bundles b6752 | 0.17.1–0.24.0 | – |
apertus | b6671 | model : Apertus model implementation (#15852) 34fcc5a4ac | 0.12.6 2025-10-16, bundles b6752 | – | – |
grovemoe | b6586 | model : add GroveMoE support (#15510) 835b2b915c | 0.12.4 2025-10-09, bundles b6646 | – | – |
llada-moe | b6483 | Add LLaDA-7b-MoE diffusion model (#16003) 6d758839ff | 0.12.4 2025-10-09, bundles b6646 | – | – |
gemma-embedding | b6384 | llama : add support for EmbeddingGemma 300m (#15798) fb15d649ed | 0.12.4 2025-10-09, bundles b6646 | – | – |
nemotron_h | b6315 | nvidia nemotron nano v2 (nemotronh) (#15507) e8d99dd0b6 | 0.12.4 2025-10-09, bundles b6646 | 0.17.1–0.24.0 | – |
jina-bert-v3 | b6309 | model : jina-embeddings-v3 support (#13693) 84ab83cc0b | 0.12.4 2025-10-09, bundles b6646 | – | – |
seed_oss | b6257 | model : add support for Seed-OSS (#15490) b1afcab804 | 0.12.4 2025-10-09, bundles b6646 | – | – |
gpt-oss | b6096 | llama : add gpt-oss (#15091) fd1234cb46 | 0.11.5 2025-08-19, bundles b6121 | 0.12.0–0.24.0 | – |
glm4moe | b6085 | model: support GLM 4.5 family of models (#14939) ef0144c087 | 0.11.5 2025-08-19, bundles b6121 | – | – |
hunyuan-dense | b6058 | model : add hunyuan dense (#14878) 0f5ccd6fd1 | 0.11.5 2025-08-19, bundles b6121 | – | – |
llada | b6042 | Add LLaDA 8b Diffusion model (#14771) 8a4a856277 | 0.11.5 2025-08-19, bundles b6121 | – | – |
smallthinker | b6012 | model : add support for SmallThinker series (#14898) 6c6e397aff | 0.11.5 2025-08-19, bundles b6121 | – | – |
exaone4 | b5932 | model : add EXAONE 4.0 support (#14630) e0cb5c5cb8 | 0.11.5 2025-08-19, bundles b6121 | – | – |
ernie4_5-moe | b5924 | model: add Ernie 4.5 MoE support (#14658) cb887f1bc1 | 0.11.5 2025-08-19, bundles b6121 | – | – |
dream | b5912 | Support diffusion models: Add Dream 7B (#14644) ab14019821 | 0.11.5 2025-08-19, bundles b6121 | – | – |
plamo2 | b5899 | model : add PLaMo-2 support (#14560) 68e37a61a7 | 0.11.5 2025-08-19, bundles b6121 | – | – |
lfm2 | b5873 | model : support LiquidAI LFM2 hybrid family (#14620) f5e96b368f | 0.11.5 2025-08-19, bundles b6121 | 0.14.3–0.24.0 | – |
granitehybrid | b5868 | model : Granite Four (#13550) 0aedae00e6 | 0.11.5 2025-08-19, bundles b6121 | – | – |
jamba | b5856 | llama : support Jamba hybrid Transformer-Mamba models (#7531) 4a5686da22 | 0.11.5 2025-08-19, bundles b6121 | – | – |
falcon-h1 | b5851 | model : add support for Falcon-H1 family (#14534) 04655063c4 | 0.11.5 2025-08-19, bundles b6121 | – | – |
smollm3 | b5847 | model : add SmolLM3 (#14581) 08382869a2 | 0.11.5 2025-08-19, bundles b6121 | – | – |
hunyuan-moe | b5843 | model : add hunyuan moe (#14425) 8f22dc0a53 | 0.11.5 2025-08-19, bundles b6121 | – | – |
mamba2 | b5812 | llama : initial Mamba-2 support (#9126) 5d46babdc2 | 0.11.5 2025-08-19, bundles b6121 | – | – |
ernie4_5 | b5771 | model : add support for ERNIE 4.5 0.3B model (#14408) 566c16fcce | 0.11.5 2025-08-19, bundles b6121 | – | – |
gemma3n | b5769 | model : gemma3n text-only (#14400) 8846aace49 | 0.11.5 2025-08-19, bundles b6121 | 0.9.3–0.24.0 | – |
neo-bert | b5682 | model : add NeoBERT (#14164) ad590be98c | 0.11.5 2025-08-19, bundles b6121 | – | – |
arcee | b5674 | model : Add support for Arcee AI's upcoming AFM model (#14185) d7da8dc83a | 0.11.5 2025-08-19, bundles b6121 | – | – |
dots1 | b5668 | model : add dots.llm1 architecture support (#14044) (#14118) 9ae4143bc6 | 0.11.5 2025-08-19, bundles b6121 | – | – |
nomic-bert-moe | b5215 | model : Nomic Embed Text V2 with Mixture-of-Experts (MoE) architecture (#12466) 5f5e39e1ba | 0.6.8 2025-05-03, bundles b5237 | 0.13.4–0.24.0 | – |
glm4 | b5115 | llama-model : add Glm4Model implementation for GLM-4-0414 (#12867) 06bb53ad9b | 0.6.6 2025-04-19, bundles b5125 | – | – |
qwen3 | b5092 | llama : Support Qwen3 and Qwen3MoE (#12828) d3bd7193ba | 0.6.6 2025-04-19, bundles b5125 | 0.7.1–0.24.0 | tested Qwen 3 |
qwen3moe | b5092 | llama : Support Qwen3 and Qwen3MoE (#12828) d3bd7193ba | 0.6.6 2025-04-19, bundles b5125 | 0.7.1–0.24.0 | – |
llama4 | b5074 | llama : Support llama 4 text-only (#12791) 1466621e73 | 0.6.6 2025-04-19, bundles b5125 | 0.6.7–0.24.0 | – |
bailingmoe | b5002 | llama : support BailingMoE (Ling) (#12634) 2c3f8b850a | 0.6.6 2025-04-19, bundles b5125 | – | – |
plm | b4977 | llama : add PLM GGUF Conversion & Inference Support (#12457) f125b8dccf | 0.6.6 2025-04-19, bundles b5125 | – | – |
arwkv7 | b4907 | llama: Add support for RWKV v7 architecture (#12412) 7dfad387e3 | 0.6.6 2025-04-19, bundles b5125 | – | – |
rwkv7 | b4907 | llama: Add support for RWKV v7 architecture (#12412) 7dfad387e3 | 0.6.6 2025-04-19, bundles b5125 | – | – |
gemma3 | b4875 | llama : Add Gemma 3 support (+ experimental vision capability) (#12343) 7841fc723e | 0.6.2 2025-03-17, bundles b4778 + Ollama patch | 0.6.0–0.24.0 | tested Gemma 3 |
rwkv6qwen2 | b4457 | llama: add support for QRWKV6 model architecture (#11001) ee7136c6d1 | 0.5.13 2025-03-04, bundles b4778 | – | – |
phimoe | b4453 | model: Add support for PhiMoE arch (#11003) f8feb4b01a | 0.5.13 2025-03-04, bundles b4778 | – | – |
cohere2 | b4415 | llama : add support for the cohere2 model architecture (#10900) 46be942214 | 0.5.5 2025-01-11, bundles b4419 | – | – |
deci | b4380 | llama : support for Llama-3_1-Nemotron-51B (#10669) 6f0c9e034b | 0.5.5 2025-01-11, bundles b4419 | – | – |
wavtokenizer-dec | b4357 | tts : add OuteTTS support (#10784) 0bf2d10c55 | 0.5.5 2025-01-11, bundles b4419 | – | – |
deepseek | b4333 | llama : add Deepseek MoE v1 & GigaChat models (#10827) a0974156f3 | 0.5.5 2025-01-11, bundles b4419 | – | – |
qwen2vl | b4327 | llama : add Qwen2VL support + multimodal RoPE (#10361) ba1cb19cdd | 0.5.3 2024-12-17, bundles b4327 | – | – |
olmo2 | b4168 | Rename Olmo1124 to Olmo2 (#10500) 80acb7b430 | 0.5.2 2024-12-13, bundles b4260 | – | – |
chameleon | b3834 | llama : add support for Chameleon (#8543) 9a913110cf | 0.3.14 2024-10-17, bundles b3861 | – | – |
granitemoe | b3823 | llama : add IBM Granite MoE architecture (#9438) 3d6bf6919f | 0.3.14 2024-10-17, bundles b3861 | – | – |
granite | b3774 | llama : support IBM Granite architecture (#9412) 0d2ec43833 | 0.3.14 2024-10-17, bundles b3861 | – | – |
olmoe | b3766 | llama : support OLMoE (#9462) 0aadac10c7 | 0.3.14 2024-10-17, bundles b3861 | – | tested OLMoE |
minicpm3 | b3765 | llama : support MiniCPM3 (#9322) 95ca85168b | 0.3.14 2024-10-17, bundles b3861 | – | – |
rwkv6 | b3651 | llama : support RWKV v6 models (#8980) 8f1d81a0b6 | 0.3.10 2024-09-07, bundles b3661 | – | – |
exaone | b3595 | llama : add EXAONE model support (#9025) c679e0cb5c | 0.3.10 2024-09-07, bundles b3661 | – | – |
nemotron | b3592 | Add Nemotron/Minitron GGUF Conversion & Inference Support (#8922) 2a24c8caa6 | 0.3.10 2024-09-07, bundles b3661 | – | – |
t5encoder | b3563 | Add support for encoder-only T5 models (#8900) 7c3f55c100 | 0.3.10 2024-09-07, bundles b3661 | – | – |
chatglm | b3333 | llama : support glm3 and glm4 (#8031) 905942abdb | 0.2.0 2024-07-07, bundles b3334 | – | – |
openelm | b3305 | llama : add OpenELM support (#7359) d7fd29fff1 | 0.2.0 2024-07-07, bundles b3334 | – | – |
jais | b3282 | Add `JAIS` model(s) (#8118) 968967376d | 0.2.0 2024-07-07, bundles b3334 | – | – |
gemma2 | b3259 | llama: Add support for Gemma2ForCausalLM (#8156) e57dc62057 | 0.1.47 2024-06-27, bundles b3171 + Ollama patch | 0.6.0–0.24.0 | – |
t5 | b3229 | llama : implement Unigram tokenizer needed by T5 and FLAN-T5 model families (#5763) 6fcbf68235 | 0.2.0 2024-07-07, bundles b3334 | – | – |
bitnet | b3208 | llama : add support for BitnetForCausalLM (#7931) e112b610a1 | 0.2.0 2024-07-07, bundles b3334 | – | – |
deepseek2 | b3023 | Add support for DeepseekV2ForCausalLM (#7519) ee3dff6b8e | 0.1.40 2024-06-01, bundles b3051 | 0.12.3–0.24.0 | – |
arctic | b2988 | Add support for ArcticForCausalLM (#7020) fbca2f27fc | 0.1.40 2024-06-01, bundles b3051 | – | – |
jina-bert-v2 | b2845 | llama : add Jina Embeddings architecture (#6826) b83cc3f5b3 | 0.1.39 2024-05-28, bundles b2986 | – | – |
phi3 | b2717 | llama : add phi3 support (#6852) c8297c6af5 | 0.1.33 2024-05-02, bundles b2769 | – | tested Phi 3.5 |
olmo | b2697 | Implement the OLMo architecture (#6741) 9958c81b79 | 0.1.33 2024-05-02, bundles b2769 | – | – |
qwen2moe | b2683 | llama : add qwen2moe (#6074) f4dea7da18 | 0.1.33 2024-05-02, bundles b2769 | – | – |
dbrx | b2665 | model: support arch `DbrxForCausalLM` (#6515) 4bd0f93e4a | 0.1.32 2024-04-16, bundles b2679 | – | – |
xverse | b2576 | [Model] Add support for xverse (#6301) 069574775c | 0.1.32 2024-04-16, bundles b2679 | – | – |
grok | b2514 | llama : add grok-1 support (#6204) 476b0251b2 | 0.1.30 2024-03-27, bundles b2527 | – | – |
command-r | b2440 | llama : add Command-R support (#6033) 12247f4c69 | 0.1.30 2024-03-27, bundles b2527 | – | – |
mamba | b2366 | llama : support Mamba Selective State Space Models (#5328) c2101a2e90 | 0.1.30 2024-03-27, bundles b2527 | – | – |
starcoder2 | b2308 | llama : add StarCoder2 support (#5795) c29af7e225 | 0.1.28 2024-03-01, bundles b2308 | – | – |
gemma | b2223 | llama : add `gemma` model (#5631) 580111d42b | 0.1.26 2024-02-21, bundles b2223 | – | – |
nomic-bert | b2144 | llama : add support for Nomic Embed (#5468) ea9c8e1143 | 0.1.25 2024-02-15, bundles b2144 | 0.13.0–0.24.0 | – |
bert | b2127 | Add support for BERT embedding models (#5423) 2891c8aa9a | 0.1.25 2024-02-15, bundles b2144 | 0.12.0–0.24.0 | – |
minicpm | b2087 | llama : add MiniCPM support (#5346) 316c7faf77 | 0.1.25 2024-02-15, bundles b2144 | – | – |
internlm2 | b2038 | llama : support InternLM2 (#5184) ce32060198 | 0.1.24 2024-02-08, bundles b2081 | – | – |
orion | b1990 | llama : add support for Orion-14B (#5118) f2e69d28c0 | 0.1.23 2024-02-02, bundles b1999 | – | – |
codeshell | b1939 | llama : add CodeShell support (#5016) 2b3b999cac | 0.1.21 2024-01-25, bundles b1964 | – | – |
qwen2 | b1939 | llama : support upcoming Qwen2 (#5037) 9b75cb2b3c | 0.1.21 2024-01-25, bundles b1964 | 0.7.1–0.24.0 | tested Qwen 2.5 |
plamo | b1698 | llama : add PLaMo model (#3557) 753be377b6 | 0.1.21 2024-01-25, bundles b1964 | – | – |
phi2 | b1658 | llama : add phi-2 + fix NeoX rope + ggml_mul_mat_set_prec (#4490) b9e74f9bca | 0.1.18 or earlier | – | – |
qwen | b1596 | llama : add Qwen support (#4281) 37c746d687 | 0.1.18 or earlier | – | – |
stablelm | b1515 | stablelm : StableLM support (#3586) 36eed0c42c | 0.1.18 or earlier | – | tested StableLM |
bloom | b1363 | llm : add bloom models (#3553) 02d2875def | 0.1.18 or earlier | – | – |
refact | b1320 | llm : add Refact model (#3329) f8c90cdbaa | 0.1.18 or earlier | – | – |
starcoder | b1245 | llama : add support for StarCoder model architectures (#3187) 4fe09dfe66 | 0.1.18 or earlier | – | – |
baichuan | b1223 | feature : support Baichuan serial models (#3009) 4c8643dd6e | 0.1.18 or earlier | – | – |
falcon | b1046 | llm : add Falcon support (#2717) cf658adc83 | 0.1.18 or earlier | – | – |
gpt2 | b1046 | llm : add Falcon support (#2717) cf658adc83 | 0.1.18 or earlier | – | tested GPT-2 |
gptj | b1046 | llm : add Falcon support (#2717) cf658adc83 | 0.1.18 or earlier | – | – |
gptneox | b1046 | llm : add Falcon support (#2717) cf658adc83 | 0.1.18 or earlier | – | – |
llama | b1046 | llm : add Falcon support (#2717) cf658adc83 | 0.1.18 or earlier | 0.5.12–0.24.0 | – |
mpt | b1046 | llm : add Falcon support (#2717) cf658adc83 | 0.1.18 or earlier | – | – |
- llama.cpp from
- The lowest
bNNNNtag that contains the commit which first put this string into llama.cpp's architecture table (LLM_ARCH_NAMES, insrc/llama-arch.cppsince January 2025 and inllama.cpp/src/llama.cppbefore that). The date is the tag's commit date. - Ollama from (bundled llama.cpp)
- The first Ollama release whose bundled llama.cpp, including Ollama's own patches, has the string, and from which every later release has it. "or earlier" marks architectures already present in the llama.cpp pinned by 0.1.18, the oldest release whose pin resolves to a build.
- Ollama's own engine
- The releases in which Ollama's Go engine registered a model under exactly this name (
model.Registerinmodel/models). That engine existed from 0.5.12 to 0.31.1. See the note below before relying on it. - vLLM GGUF plugin
- "tested" means the family is in the "Tested model coverage" table of
vllm-gguf-pluginv0.0.5. A dash means untested there, not known to fail.
The same data as JSON: archs.json, licensed CC BY 4.0.
Which llama.cpp build is inside each Ollama release?
Ollama 0.40.21 bundles llama.cpp b12973. From 0.30.0 the pin is a release tag in the file LLAMA_CPP_VERSION; before that it is a commit. Consecutive releases with the same pin are merged into one row. Where the pinned commit sits between two tags, the row shows the last tag before it.
| Ollama releases | First released | Bundled llama.cpp |
|---|---|---|
| 0.40.21 | 2026-12-04 | b12973 |
| 0.40.20 | 2026-12-03 | b12910 |
| 0.40.19 | 2026-11-26 | b12734 |
| 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–0.40.14 (2 releases) | 2026-10-28 | b11963 |
| 0.40.12 | 2026-10-27 | b11901 |
| 0.40.11 | 2026-10-23 | b11845 |
| 0.40.9–0.40.10 (2 releases) | 2026-10-22 | b11803 |
| 0.40.7–0.40.8 (2 releases) | 2026-10-20 | b11738 |
| 0.40.5–0.40.6 (2 releases) | 2026-10-15 | b11669 |
| 0.40.4 | 2026-10-13 | b11521 |
| 0.40.0–0.40.3 (4 releases) | 2026-10-06 | b11351 |
| 0.35.1 | 2026-10-02 | b11232 |
| 0.34.4–0.35.0 (2 releases) | 2026-09-23 | b11081 |
| 0.34.2–0.34.3 (2 releases) | 2026-09-17 | b10969 |
| 0.34.1 | 2026-09-15 | b10864 |
| 0.33.3–0.34.0 (2 releases) | 2026-09-02 | b10760 |
| 0.33.1–0.33.2 (2 releases) | 2026-08-26 | b10630 |
| 0.32.15–0.33.0 (2 releases) | 2026-08-19 | b10488 |
| 0.32.14 | 2026-08-15 | b10434 |
| 0.32.10–0.32.13 (4 releases) | 2026-08-12 | b10380 |
| 0.32.8–0.32.9 (2 releases) | 2026-08-10 | b10353 |
| 0.32.6–0.32.7 (2 releases) | 2026-08-04 | b10242 |
| 0.32.3–0.32.5 (3 releases) | 2026-07-23 | b10091 |
| 0.32.2 | 2026-07-21 | b10069 |
| 0.31.2–0.32.1 (3 releases) | 2026-07-07 | b9888 |
| 0.31.0–0.31.1 (2 releases) | 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–0.30.8 (4 releases) | 2026-06-04 | b9509 |
| 0.30.4 | 2026-06-03 | b9493 |
| 0.30.1–0.30.3 (3 releases) | 2026-06-02 | b9479 |
| 0.30.0 | 2026-06-01 | b9452 |
| 0.13.5–0.24.0 (48 releases) | 2025-12-18 | b7437 |
| 0.13.3–0.13.4 (2 releases) | 2025-12-12 | b7345 |
| 0.13.2 | 2025-12-08 | b7209 |
| 0.12.11–0.13.1 (3 releases) | 2025-11-13 | b6840 |
| 0.12.6–0.12.10 (5 releases) | 2025-10-16 | b6752 |
| 0.12.4–0.12.5 (2 releases) | 2025-10-09 | b6646 |
| 0.11.5–0.12.3 (11 releases) | 2025-08-19 | b6121 |
| 0.7.0–0.11.4 (17 releases) | 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–0.6.5 (7 releases) | 2025-03-04 | b4778 + later commits (d7cfe1ffe) |
| 0.5.5–0.5.12 (8 releases) | 2025-01-11 | b4419 |
| 0.5.3–0.5.4 (2 releases) | 2024-12-17 | b4327 |
| 0.5.2 | 2024-12-13 | b4260 |
| 0.3.14–0.5.1 (11 releases) | 2024-10-17 | b3861 + later commits (3f1ae2e32) |
| 0.3.10–0.3.13 (4 releases) | 2024-09-07 | b3661 |
| 0.3.4–0.3.9 (6 releases) | 2024-08-07 | b3535 |
| 0.3.1–0.3.3 (3 releases) | 2024-07-31 | b3485 |
| 0.2.8–0.3.0 (2 releases) | 2024-07-22 | b3440 |
| 0.2.0–0.2.7 (8 releases) | 2024-07-07 | b3334 + later commits (a8db2a9ce) |
| 0.1.45–0.1.48 (4 releases) | 2024-06-20 | b3171 |
| 0.1.40–0.1.44 (5 releases) | 2024-06-01 | b3051 |
| 0.1.39 | 2024-05-28 | b2986 |
| 0.1.33–0.1.38 (6 releases) | 2024-05-02 | b2769 + later commits (952d03dbe) |
| 0.1.32 | 2024-04-16 | b2679 |
| 0.1.30–0.1.31 (2 releases) | 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 + later commits (c14f72db9) |
| 0.1.25 | 2024-02-15 | b2144 + later commits (6c00a0669) |
| 0.1.24 | 2024-02-08 | b2081 |
| 0.1.23 | 2024-02-02 | b1999 |
| 0.1.21–0.1.22 (2 releases) | 2024-01-25 | b1964 |
| 0.1.18–0.1.20 (3 releases) | 2024-01-05 | b1662 |
Check any release yourself: https://github.com/ollama/ollama/blob/v<version>/LLAMA_CPP_VERSION. Releases before 0.1.18 pin llama.cpp in ways this page did not resolve.
Why did Ollama say "unknown model architecture" for a model it listed as supported?
Between 0.5.12 and 0.31.1 Ollama had two loaders, and a file that its own engine could not take fell back to the older bundled llama.cpp. In that period 9 architectures were registered in Ollama's own engine before the bundled llama.cpp knew them. gemma4 is the clearest case: the own engine has it from 0.20.0, while the bundled llama.cpp stayed at b7437 until 0.30.0.
The loader at the v0.24.0 tag tries the own engine for a fixed list of architectures, refuses models that come with a separate projector file ("split vision models aren't supported"), and on any failure switches to the bundled llama.cpp. So a model pulled from the Ollama library worked, while a Hugging Face GGUF with a separate mmproj file, or with a layout the own engine did not expect, reported "unknown model architecture" from the old llama.cpp. From 0.31.2 the own-engine model code is gone and the bundled llama.cpp column is the whole answer.
Ollama's own engine also used its own names in places: it registered gptoss first and added the upstream spelling gpt-oss later. The column above only counts exact matches with the upstream string.
ComfyUI: "Unexpected text model architecture type in GGUF file". Which loader accepts it?
That message comes from the ComfyUI-GGUF custom node, not from llama.cpp. The node compares general.architecture with a fixed list in its own loader.py, so no llama.cpp or Ollama update changes it. For qwen35 (Qwen 3.5 and 3.6): city96/ComfyUI-GGUF, the original node, does not list it as of its latest commit (2026-01-12, registry 1.1.10); the fork leejet/ComfyUI-GGUF has listed it since 2026-11-12; the fork ChrisColeTech/ComfyUI-GGUF-Loader has listed it since 2026-08-12 (registry 1.0.0).
There are two lists and two messages. CLIPLoader (GGUF) and its dual, triple and quadruple variants check TXT_ARCH_LIST and raise "Unexpected text model architecture type in GGUF file: 'X'" (wording from 2025-05-07). Unet Loader (GGUF) checks IMG_ARCH_LIST and raises "Unexpected architecture type in GGUF file: 'X'"; until 2025-03-14 that line ended "expected one of flux, sd1, sdxl, t5encoder but got 'X'". A text encoder put into the Unet loader, or the reverse, gets the other loader's message.
| general.architecture | List | city96/ComfyUI-GGUF | leejet/ComfyUI-GGUF (fork) | ChrisColeTech/ComfyUI-GGUF-Loader (fork) |
|---|---|---|---|---|
minimax_music3 | text encoder | not listed | not listed | 2026-08-14 registry 1.2.0 |
clip | text encoder | not listed | not listed | 2026-08-12 registry 1.0.0 |
gemma4 | text encoder | not listed | not listed | 2026-08-12 registry 1.0.0 |
gemma4_unified | text encoder | not listed | not listed | 2026-08-12 registry 1.0.0 |
mistral3 | text encoder | not listed | not listed | 2026-08-12 registry 1.0.0 |
qwen2 | text encoder | not listed | not listed | 2026-08-12 registry 1.0.0 |
qwen35 | text encoder | not listed | 2026-11-12 | 2026-08-12 registry 1.0.0 |
gemma3 | text encoder | 2026-01-12 registry 1.1.10 | listed inherited from city96 | listed inherited from city96 |
qwen3vl | text encoder | 2025-12-01 registry 1.1.10 | listed inherited from city96 | listed inherited from city96 |
qwen3 | text encoder | 2025-11-26 registry 1.1.7 | listed inherited from city96 | listed inherited from city96 |
qwen2vl | text encoder | 2025-08-05 registry 1.1.3 | listed inherited from city96 | listed inherited from city96 |
llama | text encoder | 2024-12-20 registry 1.0.0 | listed inherited from city96 | listed inherited from city96 |
t5 | text encoder | 2024-09-03 registry 1.0.0 | listed inherited from city96 | listed inherited from city96 |
t5encoder | text encoder | 2024-09-03 registry 1.0.0 | listed inherited from city96 | listed inherited from city96 |
qwen_image21 | image / video model | not listed | 2026-09-21 | not listed |
sensenova_u15 | image / video model | not listed | not listed | 2026-09-11 registry 2.17.0 |
minimax | image / video model | not listed | 2026-08-30 | not listed |
minimax_h3 | image / video model | not listed | not listed | 2026-08-17 registry 1.3.8 |
minimax_music3 | image / video model | not listed | not listed | 2026-08-14 registry 1.2.0 |
diffusion_model | image / video model | not listed | not listed | 2026-08-12 registry 1.0.0 |
flux1 | image / video model | not listed | not listed | 2026-08-12 registry 1.0.0 |
flux2 | image / video model | not listed | not listed | 2026-08-12 registry 1.0.0 |
zimage | image / video model | not listed | not listed | 2026-08-12 registry 1.0.0 |
ideogram4 | image / video model | not listed | 2026-07-12 | 2026-08-12 registry 1.0.0 |
krea2 | image / video model | not listed | 2026-07-12 | 2026-08-12 registry 1.0.0 |
lumina2 | image / video model | 2025-08-05 registry 1.1.2 | listed inherited from city96 | listed inherited from city96 |
qwen_image | image / video model | 2025-08-05 registry 1.1.2 | listed inherited from city96 | listed inherited from city96 |
cosmos | image / video model | 2025-06-14 registry 1.1.1 | listed inherited from city96 | listed inherited from city96 |
hidream | image / video model | 2025-04-15 registry 1.0.0 | listed inherited from city96 | listed inherited from city96 |
wan | image / video model | 2025-02-26 registry 1.0.0 | listed inherited from city96 | listed inherited from city96 |
hyvid | image / video model | 2024-12-17 registry 1.0.0 | listed inherited from city96 | listed inherited from city96 |
ltxv | image / video model | 2024-12-07 registry 1.0.0 | listed inherited from city96 | listed inherited from city96 |
aura | image / video model | 2024-11-23 registry 1.0.0 | listed inherited from city96 | listed inherited from city96 |
sd3 | image / video model | 2024-10-22 registry 1.0.0 | listed inherited from city96 | listed inherited from city96 |
flux | image / video model | 2024-09-03 registry 1.0.0 | listed inherited from city96 | listed inherited from city96 |
sd1 | image / video model | 2024-09-03 registry 1.0.0 | listed inherited from city96 | listed inherited from city96 |
sdxl | image / video model | 2024-09-03 registry 1.0.0 | listed inherited from city96 | listed inherited from city96 |
- Dates
- The UTC date of the first commit on the repository's default branch whose list contains the name. Text encoders first (14 names), then image and video models (23), newest first.
- registry N
- The first numbered release on the Comfy Registry whose list contains the name. Both repositories publish a release when
pyproject.tomlchanges; for city96 that happens on thestablebranch. A git or nightly install follows the date, not the release. - inherited from city96
- The fork has the name because it carries the original commit; it did not add it.
Being listed is the first gate, not a promise that the file works. After the list, the loader renames the GGUF tensors to the names ComfyUI's own model classes expect, and ComfyUI itself has to know the model. For Qwen 3.5 the two forks differ at the commits read here: leejet ff8d486 adds a tensor-name map and weight corrections written for the Qwen 3.5 layers, while ChrisColeTech 109a281 sends qwen35 through the same map as llama. Neither was run for this page.
- Check which node you have. The folder under
ComfyUI/custom_nodesand the traceback path name the repository. The lists differ between the three. - If city96 lists the name, update the node. The date and registry release in the table say how new it has to be.
- If only a fork lists it, updating the original changes nothing. The choice is that fork or a non-GGUF file.
- The safetensors text encoder never reaches this list. It goes through ComfyUI's built-in loader; ComfyUI has had Qwen 3.5 text encoder code since 404d7b9 (2026-03-26, first in v0.19.0).
- Vision projector files are exempt. A GGUF whose
general.typeisclip-vision(from 2025-08-19) ormmproj(from 2025-11-04) skips the text-encoder list.
Read from git history, nothing was run: city96/ComfyUI-GGUF 6ea2651 (2026-01-12), leejet/ComfyUI-GGUF ff8d486 (2026-11-12), ChrisColeTech/ComfyUI-GGUF-Loader 109a281 (2026-10-22). Other loader nodes that carry their own copy of the list are not covered.
The build is new enough and the model still fails. What else is there?
- The app did not actually update its runtime. Desktop apps ship llama.cpp as a separate runtime package that can stay on an old version after the app updates. Check the runtime version the app reports, not the app version.
- The file was re-uploaded for a newer build. Converters change, and uploaders replace files. A GGUF published today can need tensors or metadata that the first supporting build did not read. Use the newest build before debugging anything else.
- Extra blocks in the file. GGUFs that embed multi-token-prediction (
nextn) layers or a vision projector need support for that feature in addition to the base architecture. - A fork-only architecture. If the lookup says the name is not in upstream llama.cpp, the file targets a fork or a pull request that is not merged. The model card usually names it.
- The file is incomplete. A truncated download fails earlier, with a magic-number or tensor-data error instead of an architecture error.
Does vLLM read the same architecture strings?
No. vLLM does not use llama.cpp; it maps GGUF tensors onto its own PyTorch model classes, so a GGUF that llama.cpp loads can still fail in vLLM. GGUF loading moved out of vLLM into vllm-gguf-plugin in v0.24.0 (2026-06-27). The plugin's README lists the families covered by its generation tests: Qwen 2.5, Qwen 3, Phi 3.5, GPT-2, StableLM, Gemma 3, OLMoE, Gemma 4, Qwen 3.5 and Qwen 3.6. It states that other vLLM-supported architectures may work when their tensor names map to the Hugging Face model, and that being a vLLM-supported model does not guarantee GGUF compatibility.
uv pip install vllm-gguf-plugin
vllm serve unsloth/Qwen3-0.6B-GGUF:Q4_K_M --tokenizer Qwen/Qwen3-0.6B
On vLLM older than v0.24.0 the built-in loader relied on the Transformers GGUF parser, and the message was "GGUF model with architecture ... is not supported yet".
How was this table built?
- Architecture strings: every
{ LLM_ARCH_*, "name" }entry at llama.cpp b12981 (2026-12-04). - Introducing commit: the oldest commit whose diff adds the entry, following the table through the January 2025 file split back to its first appearance in August 2023.
- First build:
git describe --contains --match "b*"on that commit. - Ollama pin: at each of 278 release tags,
LLAMA_CPP_VERSION, orFETCH_HEADinMakefile.sync, orLLAMACPP_BASE_COMMITinllama/vendoring, or thellm/llama.cppsubmodule commit, resolved against the llama.cpp history. 239 tags resolve. - Ollama patches: the architecture table in the vendored, already patched source at 0.3.13 to 0.24.0, and added
LLM_ARCHentries in the patch directories of the other releases. This moves 5 rows earlier than the pin alone would. - Own engine:
model.Register("...")calls undermodel/modelsat each tag. - ComfyUI-GGUF:
IMG_ARCH_LISTandTXT_ARCH_LISTparsed fromloader.py(nodes.pybefore 2024-12-20) at every first-parent commit of the three repositories; registry releases from thepyproject.tomlversion at the commit that set it. - vLLM: the plugin README at v0.0.5 and the vLLM commit that moved GGUF out of the main repository.
What this page does not cover
- No model was loaded for this page. It reports when a name entered the source, which is the condition for the "unknown model architecture" error and nothing more.
- Ollama carries patches on top of its pinned llama.cpp. For releases that keep the patched source in the repository (0.3.13 to 0.24.0) the table reads that source, and for the others it reads the architecture entries in Ollama's patch files; rows marked "Ollama patch" come from there. Other effects of those patches were not examined.
- The ComfyUI table covers the original ComfyUI-GGUF node and two forks. It reports the allowlist only; no file was loaded in ComfyUI.
- LM Studio, Jan, KoboldCpp, llama-cpp-python and other bundlers are not mapped. Each bundles some llama.cpp build; once you know that build number, the first table applies.
- Architectures removed from llama.cpp before b12981, and names that exist only in forks, are not listed.
- Regenerated when new architectures land; the "as of" date at the top says how current it is.
Questions
- What does "unknown model architecture" mean when loading a GGUF?
- The file's
general.architecturevalue is a name the llama.cpp build inside your runtime does not have in its architecture table. The file is usually fine. The runtime is older than the commit that added that architecture; the table above gives the first build that has it. - Which llama.cpp build do I need for Gemma 4 GGUF files?
gemma4first appears in build b8637 (2026-04-02). Ollama's bundled llama.cpp has it from 0.30.0; Ollama's own engine registeredgemma4from 0.20.0 to 0.31.1.- Which llama.cpp build do I need for Qwen 3.5 and Qwen 3.6 GGUF files?
- Both families use the architecture string
qwen35(MoE variants useqwen35moe).qwen35first appears in build b7990 (2026-02-10), and Ollama's bundled llama.cpp has it from 0.30.0. - How do I find which llama.cpp version my Ollama uses?
- From Ollama 0.30.0 the repository has a
LLAMA_CPP_VERSIONfile at each release tag holding the llama.cpp tag, for example b12973 for Ollama 0.40.21. Older releases pin a commit inMakefile.sync,llama/vendoringor a git submodule; the second table on this page resolves all of them to build numbers. - How do I read the architecture string of a GGUF file?
- Run
gguf-dump --no-tensors model.gguffrom theggufPython package and readgeneral.architecture. llama.cpp also prints it while loading, and the Hugging Face file viewer shows it in the metadata panel of a .gguf file. - My build is new enough and the model still fails to load. Why?
- A known architecture name is necessary, not sufficient. Later commits add tensors, metadata keys, tokenizer types or multimodal projectors for the same architecture, and re-uploaded GGUF files can depend on them. Use the newest build first; if it still fails, the cause is in the file or a missing feature, not the architecture table.
- What does "Unexpected text model architecture type in GGUF file" mean in ComfyUI?
- The ComfyUI-GGUF custom node raises it when the file's
general.architectureis not in the node's own list of text encoders (TXT_ARCH_LISTinloader.py). llama.cpp is not involved, so the build numbers on this page do not apply. Forqwen35: city96/ComfyUI-GGUF, the original node, does not list it as of its latest commit (2026-01-12, registry 1.1.10); the fork leejet/ComfyUI-GGUF has listed it since 2026-11-12; the fork ChrisColeTech/ComfyUI-GGUF-Loader has listed it since 2026-08-12 (registry 1.0.0). The ComfyUI table on this page has every name and the date each loader added it. - Can vLLM load any GGUF architecture?
- No. From vLLM v0.24.0 GGUF loading lives in the separate
vllm-gguf-plugin, which maps GGUF tensors onto vLLM's own model classes. Its README lists the families covered by tests (9 architecture strings in the table above) and says other models may or may not work.
Related: vLLM compatibility matrix: PyTorch, CUDA and driver by release · minimum Transformers and vLLM version for a model architecture · ptxas "sm_121a is not defined for option gpu-name": Triton, PyTorch and vLLM versions · vLLM MoE backend on SM120/SM121 · LoraConfig "unexpected keyword argument": which PEFT release an adapter needs · llama.cpp "error: invalid argument": which build removed each option.
Sources
- llama.cpp: src/llama-arch.cpp, releases
- Ollama: LLAMA_CPP_VERSION, llama/README.md, releases, llm/server.go at v0.24.0
- vLLM: GGUF page, vllm-gguf-plugin, issue #36456
- ComfyUI-GGUF: city96 loader.py, leejet loader.py, ChrisColeTech loader.py, reports leejet #6 and city96 #368
- Reports of the error: unsloth/Qwen3.6-27B-GGUF discussions, LM Studio bug tracker #1728, Ollama #16282