[PR #5419] [CLOSED] fix: add unsupported architecture message for linux/windows #11773

Closed
opened 2026-04-12 23:38:37 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/5419
Author: @joshyan1
Created: 7/1/2024
Status: Closed

Base: mainHead: jyan/v0.146


📝 Commits (10+)

📊 Changes

20 files changed (+706 additions, -137 deletions)

View changed files

📝 README.md (+3 -2)
📝 cmd/cmd.go (+23 -19)
📝 cmd/interactive.go (+1 -9)
📝 docs/api.md (+1 -1)
📝 docs/faq.md (+14 -0)
📝 docs/gpu.md (+1 -1)
📝 docs/openai.md (+0 -1)
📝 envconfig/config.go (+8 -8)
📝 gpu/amd_windows.go (+3 -2)
📝 gpu/types.go (+5 -0)
📝 llm/ext_server/server.cpp (+37 -9)
📝 llm/ggml.go (+12 -3)
llm/patches/07-gemma.diff (+305 -0)
📝 llm/server.go (+6 -10)
📝 llm/status.go (+1 -0)
📝 server/model.go (+38 -19)
server/model_test.go (+92 -0)
📝 server/routes.go (+5 -0)
📝 server/sched.go (+100 -24)
📝 server/sched_test.go (+51 -29)

📄 Description

Running unsupported models on linux/windows outputs
Error: llama runner process has terminated: signal: aborted (core dumped)

Added context if error was because of unsupported models.
Error: llama runner process has terminated: signal: aborted (core dumped) error: unknown model architecture: 'chatglm' Your current version of Ollama doesn't support this model architecture. Consider upgrading.


🔄 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/5419 **Author:** [@joshyan1](https://github.com/joshyan1) **Created:** 7/1/2024 **Status:** ❌ Closed **Base:** `main` ← **Head:** `jyan/v0.146` --- ### 📝 Commits (10+) - [`5d76e78`](https://github.com/ollama/ollama/commit/5d76e78c2ff0bb8769885a91105aef077fb2b4cc) add error message for unsupported arch - [`a562b90`](https://github.com/ollama/ollama/commit/a562b9069f3a2e25153825fde73684eb4d960dd3) refactor error - [`bd8d680`](https://github.com/ollama/ollama/commit/bd8d680e267ec9f3b88ad603932d088b2fb3495d) refactor error - [`161229a`](https://github.com/ollama/ollama/commit/161229a1537af061249f54e39d30a59e1f28c3ad) llm: architecture patch (#5316) - [`b7ce14c`](https://github.com/ollama/ollama/commit/b7ce14c764492e8d78eda4e94817d48ef2006581) zip: prevent extracting files into parent dirs (#5314) - [`d90b27a`](https://github.com/ollama/ollama/commit/d90b27a57f1a286456c605836214d989651c886f) update readme for gemma 2 (#5333) - [`3af1c58`](https://github.com/ollama/ollama/commit/3af1c5814660c163b38047da888379691b30baf5) gemma2 graph - [`2024092`](https://github.com/ollama/ollama/commit/20240927f86ecefb947cc75e4a66b4e705af0c53) Update docs (#5312) - [`7bd7e11`](https://github.com/ollama/ollama/commit/7bd7e113e3c633d8262c8655fb9369863d9b4f2e) Ollama Show: Check for Projector Type (#5307) - [`42574d3`](https://github.com/ollama/ollama/commit/42574d3b11bc690c0d5bf19892fc72d3d24e7184) Include Show Info in Interactive (#5342) ### 📊 Changes **20 files changed** (+706 additions, -137 deletions) <details> <summary>View changed files</summary> 📝 `README.md` (+3 -2) 📝 `cmd/cmd.go` (+23 -19) 📝 `cmd/interactive.go` (+1 -9) 📝 `docs/api.md` (+1 -1) 📝 `docs/faq.md` (+14 -0) 📝 `docs/gpu.md` (+1 -1) 📝 `docs/openai.md` (+0 -1) 📝 `envconfig/config.go` (+8 -8) 📝 `gpu/amd_windows.go` (+3 -2) 📝 `gpu/types.go` (+5 -0) 📝 `llm/ext_server/server.cpp` (+37 -9) 📝 `llm/ggml.go` (+12 -3) ➕ `llm/patches/07-gemma.diff` (+305 -0) 📝 `llm/server.go` (+6 -10) 📝 `llm/status.go` (+1 -0) 📝 `server/model.go` (+38 -19) ➕ `server/model_test.go` (+92 -0) 📝 `server/routes.go` (+5 -0) 📝 `server/sched.go` (+100 -24) 📝 `server/sched_test.go` (+51 -29) </details> ### 📄 Description Running unsupported models on linux/windows outputs `Error: llama runner process has terminated: signal: aborted (core dumped)` Added context if error was because of unsupported models. `Error: llama runner process has terminated: signal: aborted (core dumped) error: unknown model architecture: 'chatglm' Your current version of Ollama doesn't support this model architecture. Consider upgrading.` --- <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-12 23:38:37 -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#11773