Free | No tracking | Every fact with a source|German and English

Error / Models and files

GGUF: unknown model architecture (program too old for the model)

The model uses a new architecture that your installed llama.cpp version doesn’t know yet.

The message

error loading model architecture: unknown model architecture: 'gemma4'

Affects: LM Studio, llama.cpp, KoboldCpp, Jan, Ollama, TextGen (text-generation-webui)

Why is this happening?

New model families (for example Gemma 4 or Qwen successors) need code that only gets added in a certain llama.cpp version. Programs like LM Studio, KoboldCpp, or Jan include llama.cpp and only recognize the model after an update. Less often, the GGUF file comes from an unofficial llama.cpp fork and therefore won’t run anywhere else.

How to fix it

  1. LM Studio: Open Runtimes with Strg+Umschalt+R and update the llama.cpp runtime to the latest version. Also update LM Studio itself through the update notification or lmstudio.ai. Then reload the model.
  2. llama.cpp: Download the current version, for example with winget upgrade llama.cpp (if installed via winget) or the latest release from the GitHub page of ggml-org/llama.cpp.
  3. KoboldCpp and Jan: Install the latest version from the official site (GitHub releases or jan.ai).
  4. Ollama: Use the taskbar icon to choose “Restart to update” or install the latest version from ollama.com.
  5. If even the latest version doesn’t help, read the model description on Hugging Face. If it says the file was built for a specific fork, use a GGUF variant created for official llama.cpp.
  6. If the model is only a few days old, wait a few days: support often arrives shortly after release.

Better not: Don’t keep downloading the model file again and again: the file is usually fine, the program is just too old.

Set up from scratch again

If it still doesn’t work after that, a fresh setup step by step often helps:

Terms for this

Similar errors

Sources

Checked on Oct 21, 2026. Didn't help? Ask in the forum and name the graphics card, program, and the full message.