mirror of
https://github.com/kvcache-ai/ktransformers.git
synced 2026-11-05 01:07:28 +00:00
[GH-ISSUE #1264] [Bug] 5090D CUDA12.8 torch-nightly - AttributeError: 'Qwen3MoeForCausalLM' object has no attribute '_get_logits_warper'. Did you mean: '_get_logits_processor'? #857
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
kvcache-ai/ktransformers#857
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 @forhonourlx on GitHub (May 6, 2025).
Original GitHub issue: https://github.com/kvcache-ai/ktransformers/issues/1264
Originally assigned to: @Alisehen on GitHub.
检查清单
问题描述
5090D试了一天,
unsloth/Qwen3-235B-A22B-128K-GGUF/Q4_K_M成功加载了,一旦运行开唠就报错了,请大佬们棒棒忙,提前感谢。复现步骤
GGUF files: Q4_K_M https://www.modelscope.cn/models/unsloth/Qwen3-235B-A22B-128K-GGUF/files
安装命令步骤供参考:
环境信息
WSL - Ubuntu-22.04
GPU: 5090D
CPU: AMD 9950X3D
RAM: 192G
CUDA: 12.8.0
torch-nightly: 2.8.0.dev20250505+cu128
@forhonourlx commented on GitHub (May 9, 2025):
@Alisehen 恳请大佬帮忙看看,是哪方面的原因呢?
--optimize_config_path /root/ktransformers/ktransformers/optimize/optimize_rules/Qwen3Moe-serve.yaml这个指定的对吗?@Atream commented on GitHub (May 9, 2025):
Qwen3目前只支持--backend_type balance_serve,local chat暂时不支持。
@forhonourlx commented on GitHub (May 9, 2025):
@Alisehen 原来是这样啊。。
A.若运行:
报错:
如果用其他issue提出的替换引入的办法是否可行呢?
============================================================
B.安装balance_serve失败,报错如下, 该如何修复呢?
@forhonourlx commented on GitHub (May 9, 2025):
@Atream 请教大佬
@Atream commented on GitHub (May 11, 2025):
@forhonourlx 编译时加上USE_BALANCE_SERVE=1环境变量
@forhonourlx commented on GitHub (May 11, 2025):
加上USE_BALANCE_SERVE=1环境变量,cmake 4.0.0编译出错: