mirror of
https://github.com/kvcache-ai/ktransformers.git
synced 2026-11-05 01:07:28 +00:00
[GH-ISSUE #1815] Crash with Speculative decoding #1136
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
kvcache-ai/ktransformers#1136
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 @havetc on GitHub (Jan 27, 2026).
Original GitHub issue: https://github.com/kvcache-ai/ktransformers/issues/1815
Reminder
System Info
ktransformer 0.5.0.post1, kv-cacheai/sglang:eaf832ef, 2*RTX PRO 6000,AMD EPYC 9645,Pop!_OS 22.04 LTS,
Reproduction
Hello!
I've been adding some issues with speculative decoding, which are not 100% deterministic but seems to happen very often, here is my setup:
It may or may not run for a short time, but then while processing a request it crashes with a very long and verbose stack trace. I think the main error seems to be
Fatal Python error: Fatal Python error: Segmentation faultSegmentation fault, and the other errors are probably just cascading failures from there, I've put the full execution logs in there (there is a keyboardinterrupt at the end, otherwise it just loop over the error without ever stopping)crash-home-workstation-ktransformers.txt
Before doing more investigation, I just wanted to know is speculative supposed to work properly with ktransformer ? If not what are the known issues / limitations ?
Others
No response
@ouqingliang commented on GitHub (Jan 28, 2026):
We do not support speculative decoding currently.