mirror of
https://github.com/kvcache-ai/ktransformers.git
synced 2026-11-05 01:07:28 +00:00
[GH-ISSUE #611] How to run DeepSeek-R1-Distill-Qwen-32B on ktransformers? #452
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
kvcache-ai/ktransformers#452
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 @Kinny2000 on GitHub (Feb 23, 2025).
Original GitHub issue: https://github.com/kvcache-ai/ktransformers/issues/611
I tried to run DeepSeek-R1-Distill-Qwen-32B but failed
report error:
'Qwen2Config' object has no attribute 'output_router_logits'
Should I implement new Qwen2Model myself?
Anyone has comment on this issue?
@lusipad commented on GitHub (Feb 23, 2025):
From what I know, KTransformer is mainly for optimizing MoE models (Mixture-of-Experts), so it doesn’t work with regular models like deepseek-r1-qwen2.5-32b-distill.
If you want to know which models are compatible, check out the 'Suggested Model' section in their docs here: https://github.com/kvcache-ai/ktransformers/blob/main/doc/en/install.md
@ubergarm commented on GitHub (Feb 23, 2025):
Yes, as @lusipad says, ktransformers is mainly for running big MoE models like DeepSeek-R1 671B unsloth GGUFs or Mixtral 8x22B GGUF.
For dense models like most 70B and Qwen 2.5 32B models (that distill you mention is simply Qwen 2.5 32B fine-tuned on output from R1 and has totally different architecture than R1).
If you have enough VRAM to hold the entire model, then consider quants other than GGUF and engines like vllm / exllamv2 / aphrodite-engine / etc. and all those which are optimized for that use case.
If you want to partial offload a dense model between VRAM and RAM for now I'd suggest using llama.cpp and offload as much of the model into VRAM as possible e.g.
@ubergarm commented on GitHub (Feb 28, 2025):
你正在尝试运行的是稠密型Llama/Qwen模型架构,而非真正的R1 MoE模型架构。我建议你尝试使用llama.cpp来运行稠密模型。祝你好运!
https://github.com/kvcache-ai/ktransformers/issues/642#issuecomment-2679436553
@ErvinXie commented on GitHub (Dec 11, 2025):
This issue has been automatically closed due to inactivity for 60 days.
If you believe this issue is still relevant, please feel free to reopen it with additional information or context.
Thank you for your contribution to KTransformers!
此 issue 因超过 60 天无活动而被自动关闭。
如果您认为此问题仍然存在,请随时重新打开并提供更多信息或上下文。
感谢您对 KTransformers 的贡献!