[GH-ISSUE #8948] Error: an error was encountered while running the model: unexpected EOF #52316

Closed
opened 2026-04-28 22:58:22 -05:00 by GiteaMirror · 2 comments
Owner

Originally created by @bestz123 on GitHub (Feb 8, 2025).
Original GitHub issue: https://github.com/ollama/ollama/issues/8948

What is the issue?

When using ollama to run deepseek-r1-671b-1.58bit:latest, I encounter the following error when inputting a large amount of text or generating excessive thinking content. How can I resolve this?

Error: an error was encountered while running the model: unexpected EOF

Relevant log output


OS

No response

GPU

No response

CPU

No response

Ollama version

No response

Originally created by @bestz123 on GitHub (Feb 8, 2025). Original GitHub issue: https://github.com/ollama/ollama/issues/8948 ### What is the issue? When using ollama to run deepseek-r1-671b-1.58bit:latest, I encounter the following error when inputting a large amount of text or generating excessive thinking content. How can I resolve this? Error: an error was encountered while running the model: unexpected EOF ### Relevant log output ```shell ``` ### OS _No response_ ### GPU _No response_ ### CPU _No response_ ### Ollama version _No response_
GiteaMirror added the bug label 2026-04-28 22:58:22 -05:00
Author
Owner

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

#5975

<!-- gh-comment-id:2644738116 --> @rick-github commented on GitHub (Feb 8, 2025): #5975
Author
Owner

@DechinPhy commented on GitHub (Feb 13, 2025):

I got the same issue when running deepseek-r1-32B_Q2_K, which is generated by llama.cpp. But it only occurs in the long answer. I'm wandering if some parameter is set incorrect?

<!-- gh-comment-id:2655462895 --> @DechinPhy commented on GitHub (Feb 13, 2025): I got the same issue when running deepseek-r1-32B_Q2_K, which is generated by llama.cpp. But it only occurs in the long answer. I'm wandering if some parameter is set incorrect?
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#52316