mirror of
https://github.com/kvcache-ai/ktransformers.git
synced 2026-11-05 01:07:28 +00:00
[GH-ISSUE #788] [Bug] AttributeError: 'Qwen2MoeConfig' object has no attribute 'kv_lora_rank' #571
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
kvcache-ai/ktransformers#571
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 @zivenyang on GitHub (Mar 4, 2025).
Original GitHub issue: https://github.com/kvcache-ai/ktransformers/issues/788
Originally assigned to: @Azure-Tang on GitHub.
检查清单
问题描述
Qwen2-57B-A14B-Instruct-q4_k_m 报错 AttributeError: 'Qwen2MoeConfig' object has no attribute 'kv_lora_rank'
复现步骤
gguf模型地址:https://huggingface.co/Qwen/Qwen2-57B-A14B-Instruct-GGUF
环境信息
操作系统:ubuntu24.04
CPU:Intel(R) Xeon(R) CPU E5-2686 v4 @ 2.30GHz * 2
内存:768G
GPU: NVIDIA RTX A5000
相同环境deepseek r1 q4km运行正常
@Azure-Tang commented on GitHub (Mar 4, 2025):
qwen不应该会有kv_lora_rank这个属性,您是不是改过yaml?可以尝试一下不指定optimize config运行?
@zivenyang commented on GitHub (Mar 4, 2025):
没有改过代码,一开始没指定optimize config就报了这个错误,后来才加的还是报这个错误
@Azure-Tang commented on GitHub (Mar 4, 2025):
试一下local chat,打个print看一下实际跑的是哪个yaml?
@zivenyang commented on GitHub (Mar 4, 2025):
我把flashinfer-python卸载了,现在可以了。
@zivenyang commented on GitHub (Mar 4, 2025):
又重新装了flashinfer-python,问题复现了,确认是flashinfer的问题
@Atream commented on GitHub (Mar 5, 2025):
fixed by #753