mirror of
https://github.com/kvcache-ai/ktransformers.git
synced 2026-11-05 01:07:28 +00:00
[GH-ISSUE #1474] [Bug] RuntimeError: CUDA error: invalid resource handle #982
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
kvcache-ai/ktransformers#982
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 @mrgaolei on GitHub (Aug 12, 2025).
Original GitHub issue: https://github.com/kvcache-ai/ktransformers/issues/1474
Checklist
Describe the bug
CUDA 12.8, 运行报错:
Reproduction
启动命令:
python ktransformers/server/main.py --model_path /mnt/d/deepseek/r1/DeepSeek-R1 --gguf_path /mnt/d/deepseek/r1/DeepSeek-R1-GGUF/DeepSeek-R1-UD-IQ1_S --architectures DeepseekV3ForCausalLM --cpu_infer 35 --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 --cache_lens 32768 --backend_type balance_serveEnvironment
WSL和纯Ubuntu都试了,都一样,但是曾经一样的编译安装方式是没问题的,区别就是重装了系统,完全重装的,conda环境:
@mrgaolei commented on GitHub (Aug 12, 2025):
And this is
rpc.log@mrgaolei commented on GitHub (Aug 13, 2025):
再次补充:git tag切换到v0.3.2,用非blance_serve启动,就没问题,用blance_serve启动会提示这个。
如果git pull到HEAD版本,则都不行。但是我看好像HEAD版本已经默认是blance_serve引擎了。
难道说,blance_serve要求必须512G内存?我这台机器唯一的区别就是把512G内存降级成了256,但是我跑的Q2模型,理论也够的,因为kt默认引擎都可以启动。
@SaiHoCao commented on GitHub (Aug 17, 2025):
一样的问题,有解决的方案吗