[GH-ISSUE #8863] When I call deepseek using ollama, the output is empty(当我使用ollama调用deepseek时输出为空) #67800

Closed
opened 2026-05-04 11:44:06 -05:00 by GiteaMirror · 6 comments
Owner

Originally created by @von63 on GitHub (Feb 6, 2025).
Original GitHub issue: https://github.com/ollama/ollama/issues/8863

What is the issue?

Image

Relevant log output

(llm) a@zmarm:~$ ollama run qwen:0.5b
>>> 1+1
2

>>> 请介绍一下自己
你好,我是来自中国的AI模型。我会根据你的输入和要求,提供准确、有用的信息。

>>> 6+9
15

>>> 
(llm) a@zmarm:~$ ollama run deepseek-r1:1.5b
>>> 1+1


>>> 请计算1+1


>>> 介绍一下自己


>>> Send a message (/? for help)

OS

Linux

GPU

Nvidia

CPU

Intel

Ollama version

0.1.44

Originally created by @von63 on GitHub (Feb 6, 2025). Original GitHub issue: https://github.com/ollama/ollama/issues/8863 ### What is the issue? ![Image](https://github.com/user-attachments/assets/6848955c-384b-4b9f-81a8-99bb8ef83d64) ### Relevant log output ```shell (llm) a@zmarm:~$ ollama run qwen:0.5b >>> 1+1 2 >>> 请介绍一下自己 你好,我是来自中国的AI模型。我会根据你的输入和要求,提供准确、有用的信息。 >>> 6+9 15 >>> (llm) a@zmarm:~$ ollama run deepseek-r1:1.5b >>> 1+1 >>> 请计算1+1 >>> 介绍一下自己 >>> Send a message (/? for help) ``` ### OS Linux ### GPU Nvidia ### CPU Intel ### Ollama version 0.1.44
GiteaMirror added the bug label 2026-05-04 11:44:06 -05:00
Author
Owner

@Victor384 commented on GitHub (Feb 6, 2025):

Same problem here. test multi-version of deep seek r1 distill models (7b,1.5b), first query is able to answer my question, rest of query answers are both empty.

<!-- gh-comment-id:2638735280 --> @Victor384 commented on GitHub (Feb 6, 2025): Same problem here. test multi-version of deep seek r1 distill models (7b,1.5b), first query is able to answer my question, rest of query answers are both empty.
Author
Owner

@fenghan0430 commented on GitHub (Feb 6, 2025):

这不是ollama的bug,这其实是deepseek模型的问题。请看https://huggingface.co/deepseek-ai/DeepSeek-R1中readme的6. How to Run Locally的Usage Recommendations。

<!-- gh-comment-id:2638756395 --> @fenghan0430 commented on GitHub (Feb 6, 2025): 这不是ollama的bug,这其实是deepseek模型的问题。请看[https://huggingface.co/deepseek-ai/DeepSeek-R1](https://huggingface.co/deepseek-ai/DeepSeek-R1)中readme的6. How to Run Locally的Usage Recommendations。
Author
Owner

@Victor384 commented on GitHub (Feb 6, 2025):

这不是ollama的bug,这其实是deepseek模型的问题。请看https://huggingface.co/deepseek-ai/DeepSeek-R1中readme的6. How to Run Locally的Usage Recommendations。

I used the recommendations parameters to set the r1 distill model(7b), but the answer was still empty. I think you are right, this is not Ollama's problem. other models I used in Ollama don't have this kind of problem.

Image

<!-- gh-comment-id:2638946345 --> @Victor384 commented on GitHub (Feb 6, 2025): > 这不是ollama的bug,这其实是deepseek模型的问题。请看https://huggingface.co/deepseek-ai/DeepSeek-R1中readme的6. How to Run Locally的Usage Recommendations。 I used the recommendations parameters to set the r1 distill model(7b), but the answer was still empty. I think you are right, this is not Ollama's problem. other models I used in Ollama don't have this kind of problem. ![Image](https://github.com/user-attachments/assets/4e4db4cc-1dd6-4221-8e6e-f3cdcc556a41)
Author
Owner

@fenghan0430 commented on GitHub (Feb 6, 2025):

I misread the question. It's not that the think tag is empty, it's that ollama is not producing any output. You are advised to enable the debug mode on ollama to view logs to troubleshoot faults.

<!-- gh-comment-id:2639289132 --> @fenghan0430 commented on GitHub (Feb 6, 2025): I misread the question. It's not that the think tag is empty, it's that ollama is not producing any output. You are advised to enable the debug mode on ollama to view logs to troubleshoot faults.
Author
Owner

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

Ollama version
0.1.44

Upgrade ollama.

<!-- gh-comment-id:2639435679 --> @rick-github commented on GitHub (Feb 6, 2025): > Ollama version > 0.1.44 [Upgrade](https://github.com/ollama/ollama/blob/main/docs/faq.md#how-can-i-upgrade-ollama) ollama.
Author
Owner

@von63 commented on GitHub (Feb 7, 2025):

Ollama version
0.1.44

Upgrade ollama.

Thank you, the upgrade is effective

<!-- gh-comment-id:2641849963 --> @von63 commented on GitHub (Feb 7, 2025): > > Ollama version > > 0.1.44 > > [Upgrade](https://github.com/ollama/ollama/blob/main/docs/faq.md#how-can-i-upgrade-ollama) ollama. Thank you, the upgrade is effective
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#67800