mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[GH-ISSUE #2403] --kv q4_0 faults on the first request when the KV streams (--kv-resident < --max-context) and MTP drafts: "checkpoint save: conversation snapshot running-state copy: unspecified launch failure" (0.1.43.1, RX 6900 XT gfx1030, Windows) #972
Labels
No labels
needs-format
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Niko1221/Strata#972
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 @ByteJuggler on GitHub (Oct 14, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/2403
What happens
With
--kv q4_0, the engine loads normally, but every request fails at once. The engine log says:The client gets
saving a conversation checkpoint failed, and the engine exits with code 1. The server restarts it,and the next request fails the same way.
The checkpoint copy is only where the fault shows up. With
AMD_SERIALIZE_KERNEL=3 AMD_SERIALIZE_COPY=3 HIP_LAUNCH_BLOCKING=1, the error comes from the first verify window instead:That is the
cudaGraphLaunchinsrc/core/verify.cpp, so a kernel inside the captured verify graph faults.What it needs
One request ("Name three rivers.", 64 tokens, no thinking) per config. Each config changes one thing from the failing one:
--kv q4_0,--max-context 65536 --kv-resident 32768,--spec 4 --mtp ...--kv)--kv-resident 65536(no streaming)--max-context 8192 --kv-resident 8192--spec 2, no--mtpSTRATA_HIP_PROMPT_F16unset--control-vector-scaledetc.)verify: launch)STRATA_NO_BATCH_KV_STEP=1STRATA_NO_MULTI_GR=1So the fault needs all three: q4_0 KV, KV streaming (
--kv-residentbelow--max-context), and MTP drafting.--kv k8v4with the same streaming and MTP setup runs without errors.With
STRATA_VERIFY_NODES=1, the 6-token verify graph includes 12 xkv_append_q4_kernel(which takes thestreaming
KvHostPools), 12 x the KV-streamresolve_kernel/copy_kernel, and 12 xattn_chunk_kernel_pre75.The q4_0 append into the host pool, or the stream map, are my first guesses, since the fault needs q4_0 and streaming
together. I have not confirmed which kernel faults. On Windows the driver reports the fault as a "driver timeout"
(the AMD Bug Report Tool pops up).
Failing command
Env:
STRATA_HIP_PROMPT_F16=1(it fails without it too).Log lines that may matter:
System
Possibly related: #1932 (a device fault that also first shows up at checkpoint save, on gfx1100).
I can run more variants or a debug build if that helps.
@ByteJuggler commented on GitHub (Oct 14, 2026):
Still happens on 0.1.44.1 (prebuilt Windows HIP zip), with the same failing command: the engine log shows the same
checkpoint save: conversation snapshot running-state copy: unspecified launch failureon the first request. The same command with the default int8 KV still works.@tamnguyenswe commented on GitHub (Oct 19, 2026):
Hitting this on CUDA/Linux too, so probably not HIP-specific.
v0.1.45 docker (built from the repo Dockerfile,
CUDA_ARCHITECTURES=86), RTX 3080 10GB, Fedora 44, nvidia open driver 615.78.08. Qwen3.8-Flash-Next IQ3_XXS with--max-context 262144 --kv q4_0 --spec 4 --spec-min-p 0.5, plus the default mtp args. Didn't set--kv-resident.One difference from the original report: short requests were fine for me. I was running an agent session (claude code over /v1/messages) and the context grew from ~17k to ~66k without problems. The first request past 64k (65,861 prompt) also finished fine. The one after it died after 32 tokens:
Right after that the whole machine hard-froze and I had to power cycle it. Nothing in the kernel log, no Xid, the journal just stops. No engine log since it was in a
--rmcontainer.int8 KV at 128k is fine for me: same kind of prefix-cached multi-turn session, went to 110k with ~16 requests past 64k and no errors, so I'm sticking with that for now.
@Niko1221 commented on GitHub (Oct 19, 2026):
Thanks for taking the time to report this.
We're resetting the tracker for 0.2.0-beta. There are more than 1,300 open issues and pull requests, too many for us to read properly, so we're closing everything that isn't being worked on right now. Closed here does not mean rejected.
To reopen it takes about two minutes:
/reopen. A check runs and either reopens the issue or lists what is still missing.The rules are in CONTRIBUTING.md.