[PR #15838] Improve error message for unsupported model architectures #62020

Open
opened 2026-04-29 16:58:44 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/15838
Author: @gotnochill815-web
Created: 4/27/2026
Status: 🔄 Open

Base: mainHead: improve-arch-error-message


📝 Commits (1)

  • 7112c22 Improve unsupported model architecture error message

📊 Changes

2 files changed (+2 additions, -2 deletions)

View changed files

📝 llama/llama.cpp/src/llama-model.cpp (+1 -1)
📝 llama/llama.go (+1 -1)

📄 Description

Summary

Updates error wording when loading unsupported GGUF model architectures.

Changes:

  • unknown model architecture
    to
  • unsupported model architecture

Why

The previous message can be confusing and may imply corruption or detection failure.

This wording better communicates that the architecture was recognized from metadata but is not supported by the current Ollama runtime.

Related to issue #15824.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/ollama/ollama/pull/15838 **Author:** [@gotnochill815-web](https://github.com/gotnochill815-web) **Created:** 4/27/2026 **Status:** 🔄 Open **Base:** `main` ← **Head:** `improve-arch-error-message` --- ### 📝 Commits (1) - [`7112c22`](https://github.com/ollama/ollama/commit/7112c22298593beb9af4c484fc7e466156476370) Improve unsupported model architecture error message ### 📊 Changes **2 files changed** (+2 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `llama/llama.cpp/src/llama-model.cpp` (+1 -1) 📝 `llama/llama.go` (+1 -1) </details> ### 📄 Description ## Summary Updates error wording when loading unsupported GGUF model architectures. Changes: * `unknown model architecture` to * `unsupported model architecture` ## Why The previous message can be confusing and may imply corruption or detection failure. This wording better communicates that the architecture was recognized from metadata but is not supported by the current Ollama runtime. Related to issue #15824. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-04-29 16:58:44 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#62020