mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[GH-ISSUE #331] Engine hangs at first verify window on RTX 2060 (Turing, cc 7.5) - stall, no CUDA error #157
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#157
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 @Mantis2024 on GitHub (Oct 1, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/331
Title: Engine hangs at first verify window on RTX 2060 (Turing, cc 7.5) - stall, no CUDA error
Setup: Windows, RTX 2060 12 GB (cc 7.5, driver 616.92), Xeon Gold 6136 (AVX2),
32 GB RAM, Coder IQ1_M, context 8192, images off, engine 0.1.30.
Symptom: every request (even 13-65 tokens) stalls at
"reading the prompt (verify windows), from token 0" for 60 s, then the
watchdog stops the engine (exit code 3221226505). Tuning in setup fails the same way.
Stall report: 0 layers served, "host at layer step 1; the GPU rang 1",
all 3 expert-pool workers sleeping, 0 jobs claimed. RAM is not the problem
(~18 GB free, 6.9 GB resident). "captured the 6-token window (upload no error,
sync no error)". CUDA_LAUNCH_BLOCKING=1 shows no CUDA error.
Earlier, with images on, the vision helper failed with
"IM2COL failed / CUDA error: no kernel image is available" (fixed by images off).
Is Turing supported or planned? Attached: strata-coder-iq1_m.log, strata-stall-*.dmp.
@hireymage commented on GitHub (Oct 1, 2026):
Also on Turing here (RTX 2070, sm_75) with the ready-made 0.1.30 Windows build — two separate findings:
1. The IM2COL error you hit with images on is confirmed, and the cause is in the release binaries. The 0.1.30 BUILD.json shows
strata.exebuilt for architectures[75, 86, 89, 120]+ PTX, butstrata-vision.exeonly for[86, 89, 120]with no PTX. The vision helper therefore has no Turing cubin and no JIT fallback, so any image request on a cc 7.5 card produces exactly your "no kernel image is available for execution on the device". A release build that includes 75 (or enables PTX) for the vision exe should fix that for RTX 2060/2070 owners.2. The prefill hang itself does not reproduce on our setup. I ran the same shape you describe (13–65 token prompts, images off, max 30 tokens) against 0.1.30, in CLI and server mode, single-turn and multi-turn with session reuse (worst case "prompt 93 tokens = 59 reused + 34 read"): every read window was captured and logged, decode ran at 21–35 tok/s, and the log contains no stall report at all.
Two environment differences stand out between our runs, in case someone else can test:
If you can, paste the
strata-coder-iq1_m.loglines around the stall as text (the "host at layer step N; the GPU rang N" line narrows where the device stopped), and try the Flash-Next pack if you have it — that would immediately split quant-specific from Turing-specific. Also worth noting for the maintainer: the watchdog exit code 3221226505 = 0xC0000409 (STATUS_STACK_BUFFER_OVERRUN), i.e. the fail-fast kill itself, not an in-engine crash.@Niko1221 commented on GitHub (Oct 1, 2026):
Thanks. Two things: (1) the image encoder in the ready-made zip has no RTX 20 code - 0.1.32 builds it for sm_75 and setup picks the CPU encoder when a card isn't covered; (2) for the hang, 0.1.31 changed this path on RTX 20 (#258, #267), and an RTX 2070 doesn't reproduce it. Please retest on 0.1.31 and attach the stall report as text, a log with STRATA_TRACE=1, your core count, whether it runs in a VM, and whether it also hangs with the IQ2_XS or Q2_0 model.
@Niko1221 commented on GitHub (Oct 1, 2026):
0.1.32: the ready-made image encoder has RTX 20 code, and setup uses the CPU encoder for a card it doesn't cover. Please reopen if the verify-window hang still happens on 0.1.32, with the log asked above.
@Mantis2024 commented on GitHub (Oct 5, 2026):
Title: RTX 2060 (Turing): engine hangs on every request, even a 13-token prompt (verify-window stall, engine 0.1.39)
Setup: Windows, RTX 2060 12 GB (cc 7.5, driver 616.92), HP Z8 G4, Xeon Gold 6136
(AVX2), 32 GB RAM. Coder IQ1_M, --max-context 8192, images off,
--vram-reserve-mib 1000, engine 0.1.39 (also seen on 0.1.30).
Symptom: every request, even 13 tokens via chat.py with /think none, never
finishes the prompt. Stall report: stage "reading the prompt (verify windows),
from token 0" (also at 66 and 2635), 0 layers served, "host at layer step 1;
the GPU rang 1", all 3 expert-pool workers sleeping with 0 jobs. After the
watchdog releases the verify window's GPU waits (#267), the GPU finishes in
50-75 ms every time.
With STRATA_WATCHDOG_S=600 the request still made no progress for 300 s (the
server's engine_silence_s ended it). During that time the Monitor shows GPU
load 100% at 67 W (idle 18 W), disk read 0 MB/s, PCIe to GPU 44 MB/s, CPU 24%.
Tried without effect: images off, vram-reserve 700 and 1000, context 32K and 8K,
--pcie-mode dma, engine 0.1.30 -> 0.1.39, CUDA_LAUNCH_BLOCKING=1 (no CUDA
error). Setup's tuning step also dies with exit code 3221226505.
Is there a flag to run without the verify window / MTP drafting on Turing, or a
debug build I can test? Attached: strata-coder-iq1_m.log and strata-stall-*.dmp.
Possibly related: #251, #267, #697.
strata-coder-iq1_m.log
strata-stall-19000.dmp
@Mantis2024 commented on GitHub (Oct 5, 2026):
@Niko1221 answers to your questions:
load), so Strata sees 4 cores / 8 threads. It is a physical machine, not a VM
(dual-socket HP Z8 G4, Xeon Gold 6136). The log says "no AVX-512" on this CPU;
I don't know whether my BIOS settings caused that.
Only the Coder IQ1_M fits.
expert path, like the RTX 2070 that doesn't reproduce it.
One more observation: in src/.../elementwise.cu, doorbell_publish_kernel,
doorbell_publish_res_kernel and doorbell_ring_kernel have no __threadfence_system()
after the store to seq. That is the change that fixed the similar stall in #697.
I can share a diff, but I can't test it without a build for sm_75. Could you
share a test engine with that fence, or tell me how to build one?