mirror of
https://github.com/kvcache-ai/ktransformers.git
synced 2026-11-05 01:07:28 +00:00
[GH-ISSUE #1462] [Bug] AssertionError: [Smallthinker config sanitizer] rope_layout must have the same length as num_hidden_layers #975
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
kvcache-ai/ktransformers#975
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 @dhr613 on GitHub (Jul 29, 2025).
Original GitHub issue: https://github.com/kvcache-ai/ktransformers/issues/1462
Checklist
Describe the bug
python ktransformers/server/main.py
--model_path /home/dhr/projects/dhr/kf/ktransformers/deepseek_v3
--gguf_path /home/dhr/projects/dhr/kf/ktransformers/deepseek_v3_q4_gguf
--cpu_infer 15
--optimize_config_path ktransformers/optimize/optimize_rules/DeepSeek-V3-Chat-serve.yaml
--port 10002
--chunk_size 256
--max_new_tokens 1024
--max_batch_size 4
--port 10002
--cache_lens 3000
--backend_type balance_serve
是我模型下错了吗?但是我使用local_chat的时候是可行的
python3 -m ktransformers.local_chat
--model_path "/home/dhr/projects/dhr/kf/ktransformers/deepseek_v3"
--gguf_path "/home/dhr/projects/dhr/kf/ktransformers/deepseek_v3_q4_gguf"
Reproduction
deepseek-v3
Environment
按照install.md中的步骤创建的环境
@luzamm commented on GitHub (Jul 30, 2025):
添加 --architectures DeepseekV3ForCausalLM
@dhr613 commented on GitHub (Aug 1, 2025):
@
好的,已跑通,感谢
@wxtt522 commented on GitHub (Sep 19, 2025):
同样的问题出现在/Qwen3-Next-80B-A3B模型上,使用--architectures Qwen3NextForCausalLM 没有用
@ruralharry commented on GitHub (Sep 25, 2025):
我也遇到了,加了--architectures DeepseekV3ForCausalLM,也没用。使用的模型是deepseek-v3.1-terminus-gguf