[GH-ISSUE #9026] encounter issue when run deepseek-coder-v2:16b #5870

Closed
opened 2026-04-12 17:12:30 -05:00 by GiteaMirror · 2 comments
Owner

Originally created by @ZZH-Finalize on GitHub (Feb 12, 2025).
Original GitHub issue: https://github.com/ollama/ollama/issues/9026

What is the issue?

when I run "ollama run deepseek-coder-v2:16b", ollama reports an error
"msg="error loading llama server" error="llama runner process has terminated: error:Invalid range in bracket expression."

but deepseek-r1:1.5b is OK, and it can be executed by ROCm, both model is downloaded by "ollama pull"

Relevant log output


OS

Linux, Windows

GPU

AMD

CPU

AMD

Ollama version

0.5.4

Originally created by @ZZH-Finalize on GitHub (Feb 12, 2025). Original GitHub issue: https://github.com/ollama/ollama/issues/9026 ### What is the issue? when I run "ollama run deepseek-coder-v2:16b", ollama reports an error "msg="error loading llama server" error="llama runner process has terminated: error:Invalid range in bracket expression." but deepseek-r1:1.5b is OK, and it can be executed by ROCm, both model is downloaded by "ollama pull" ### Relevant log output ```shell ``` ### OS Linux, Windows ### GPU AMD ### CPU AMD ### Ollama version 0.5.4
GiteaMirror added the bug label 2026-04-12 17:12:30 -05:00
Author
Owner

@rick-github commented on GitHub (Feb 12, 2025):

Works fine here:

$ ollama run deepseek-coder-v2:16b
>>> hello
 Hello! How can I assist you today? If you have any questions or need information, feel free to ask.

llama runner process has terminated sounds like a problem with the runner, have your tried upgrading? If the problem persists, server logs with OLLAMA_DEBUG=1 might aid in debugging.

<!-- gh-comment-id:2653235182 --> @rick-github commented on GitHub (Feb 12, 2025): Works fine here: ```console $ ollama run deepseek-coder-v2:16b >>> hello Hello! How can I assist you today? If you have any questions or need information, feel free to ask. ``` `llama runner process has terminated` sounds like a problem with the runner, have your tried [upgrading](https://github.com/ollama/ollama/blob/main/docs/faq.md#how-can-i-upgrade-ollama)? If the problem persists, [server logs](https://github.com/ollama/ollama/blob/main/docs/troubleshooting.md#how-to-troubleshoot-issues) with `OLLAMA_DEBUG=1` might aid in debugging.
Author
Owner

@rick-github commented on GitHub (Feb 15, 2025):

Might be a repeat of a problem that was fixed with https://github.com/ollama/ollama/pull/7369.

How did you import the deepseek-moe-16b-base model?

<!-- gh-comment-id:2661133385 --> @rick-github commented on GitHub (Feb 15, 2025): Might be a repeat of a problem that was fixed with https://github.com/ollama/ollama/pull/7369. How did you import the deepseek-moe-16b-base model?
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#5870