mirror of
https://github.com/kvcache-ai/ktransformers.git
synced 2026-11-05 01:07:28 +00:00
[GH-ISSUE #129] DeepSeek-R1 not outputting initial <think> token #70
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
kvcache-ai/ktransformers#70
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @RodriMora on GitHub (Feb 10, 2025).
Original GitHub issue: https://github.com/kvcache-ai/ktransformers/issues/129
I've been testing the latest update and it seems like it's not outputting the initial token in the output. It does output the final token though.
It used to work fine but I cannot reproduce it now. Tested with the same model files using llama.cpp and it works fine.
@Atream commented on GitHub (Feb 11, 2025):
We have conducted tests. Although we did not see the token in the output, the model actually did perform thinking in its output. This is likely due to an incomplete template or the failure to successfully output the token. We are currently investigating this issue. Please wait a moment.
@KMSorSMS commented on GitHub (Feb 11, 2025):
The newest commit now supports an arg
--force_think trueto make sure the R1 thinking. The detail@iammeizu commented on GitHub (Feb 13, 2025):
met the same problem,using sglang on 8*h20,any solution?
@ArYuZzz commented on GitHub (Feb 13, 2025):
Is there any way to solve the problem under server mode?
@vibe-Chen commented on GitHub (Apr 13, 2025):
If you meant to use
.\server\main.pyto initial a local server, just add the--force_thinkargument on startup.answered with sha:
github.com/kvcache-ai/ktransformers@6cbe044aae