mirror of
https://github.com/kvcache-ai/ktransformers.git
synced 2026-11-05 01:07:28 +00:00
[GH-ISSUE #1389] [Bug] DeepSeek-V3-0324 671b:Q4_K_M one prompt crash / insanity #932
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
kvcache-ai/ktransformers#932
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 @createthis on GitHub (Jun 13, 2025).
Original GitHub issue: https://github.com/kvcache-ai/ktransformers/issues/1389
Originally assigned to: @qiyuxinlin on GitHub.
Checklist
Describe the bug
I have a one shot prompt that "crashes" ktransformers when running DeepSeek V3 0324 Q4_K_M. Sometimes I get a backtrace, but sometimes it just outputs gibberish afterward. Here's the backtrace when I get it:
Reproduction
I recorded this session using
mitmdump. You can read all about it and download a curl script to replay the prompt here: https://github.com/createthis/ktransformers_8dc1ab9_bug_deepseek_v3_0324I mention a specific commit of ktransformers in the README, but I just reproduced it using HEAD
64ec0ectoo.Environment
dual EPYC 9355
768gb RAM
96gb blackwell 6000 pro
CUDA Version: 12.8
Driver Version: 570.124.06
OS: ubuntu 24.04.02 LTS
@createthis commented on GitHub (Jun 13, 2025):
@qiuqiu10 ^
@createthis commented on GitHub (Jun 13, 2025):
Similar to https://github.com/kvcache-ai/ktransformers/issues/1375
@qiyuxinlin commented on GitHub (Jun 16, 2025):
Hello @createthis, the ktransformers backend is no longer being maintained. We will update the balance_serve prefix-cache version within the next two weeks.
@createthis commented on GitHub (Jun 16, 2025):
@qiyuxinlin ok. I tried balance_serve too and it crashes after some time as well. I've been using llama.cpp for the past few days now that I have more VRAM available. It's a little slower, but it doesn't crash, so I'll probably be using that for the foreseeable future unless ktransformers fixes the stability issues.
@qiyuxinlin commented on GitHub (Jun 18, 2025):
Stability is indeed the most important thing. Could you describe how the balance serve crash manifests?
@createthis commented on GitHub (Jun 18, 2025):
Exactly the same way the ktransformer backend crash manifests. It runs for a while, then it either goes insane or backtraces. I suspect if you fix the ktransformers backend, the balance_serve backend will also be fixed.
@createthis commented on GitHub (Jun 22, 2025):
Here's a video showing this crash: https://youtu.be/vfi9LRJxgHs?si=JoGtEpu4MoxebmAT&t=1314
@qiyuxinlin commented on GitHub (Jun 22, 2025):
thanks