mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[GH-ISSUE #251] Long prompt hangs at the same verify-window position on Strata 0.1.29 #131
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#131
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 @chemical12 on GitHub (Sep 30, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/251
Environment
Strata: 0.1.29
Model: Swift 1.5 / Qwen3.8-Flash-Next
Quantization: IQ3_XXS
Context: 131072
GPU: RTX 4070 Ti SUPER 16 GB
NVIDIA driver: 580.173.02
CUDA: 13.0.2
CPU: Xeon E5-2667 v4
System RAM: 128 GB
OS: TrueNAS SCALE / Linux
CPU does not have AVX-512; Strata uses AVX2 expert kernels.
Problem
Long prompts consistently hang during prompt processing.
A prompt of approximately 13,240 tokens gets stuck at:
The same behavior occurs after upgrading from 0.1.28 to 0.1.29.
###Relevant stall report
The 0.1.29 stall report consistently ends at:
Two seconds later the state is unchanged:
verify window: 4 tokens at position 139, host at layer step 48; the GPU rang 48; flags: served 48, plan (A) 48, copies (B) 48The important point is that the expert pool reports 24/24 jobs completed, all workers are sleeping, and the GPU reached layer 48. There is no RAM swap and no major page-fault activity at the time of the hang.
VRAM state
The model loads successfully:
loaded 39.97 GiB at 6.00 GiB/s
expert cache 4803 slots, 7.80 GiB of VRAM
strata serve: 439 MiB of VRAM free with everything loaded
The hang therefore does not appear to be caused by the model failing to load or an obvious VRAM exhaustion.
Reproducibility
The failure is highly reproducible.
The same test has repeatedly reached:
verify window: 4 tokens at position 139
host at layer step 48
GPU rang 48
and then remains there until the watchdog terminates the engine.
0.1.29 verification
I upgraded from 0.1.28 to 0.1.29 and confirmed that the engine was rebuilt:
ggml commit:
d6708a4engine compiled: /opt/strata/engine/strata
The failing request is running on:
session is up (engine 0.1.29)
The issue therefore still reproduces on 0.1.29.
@Niko1221 commented on GitHub (Sep 30, 2026):
The log points elsewhere than the title: the stage is "reading the prompt, from token 0", so it hangs at the start of the batched prompt read (13,240 tokens, 439 MiB of VRAM free), not in a verify window. The "verify window: 4 tokens at position 139" line is the previous request's last window; 0.1.31 labels it and reports the prompt chunk and layer while reading.
The prompt path changed in 0.1.30, so please retest on 0.1.30. If it still hangs, reopen with:
gdb -p <engine pid> -batch -ex "thread apply all bt"taken during the hang;--vram-reserve-mib 1200or a smaller--max-contextavoids it.@1593914054 commented on GitHub (Oct 1, 2026):
Retest: official engine 0.1.31 still leads to VIDEO_TDR_FAILURE, apparently before the 60-second watchdog can intervene
Thanks for the fix. Could you please reopen this issue, or advise whether this should be tracked separately?
I retested with the official 0.1.31 Windows engine. Both
BUILD.jsonand the running engine'sINFO/startup log confirm 0.1.31. The release ZIP's SHA-256 matched the published digest:74be0337b4ac0616a47363a2dec811868068aa24d79ad1286156df993bad1f4b.Same RTX 4080 SUPER 16 GB, Ryzen 9 7950X3D, 128 GB RAM, Windows 11 build 26200, NVIDIA driver 616.92, IQ3_S pack and PLE shard as the original report.
For transparency, this was an engine-only update: the Python HTTP frontend remained at 0.1.30 with four small diagnostic logging blocks at engine-ready, request-start, request-complete and stdout-closed boundaries. No C++/CUDA changes were made. The logs contain no prompt contents.
STRATA_TEST_VERIFY_STALLwas not enabled.The inference configuration remained:
The engine reported an effective 6-token verify window, 3,099 expert-cache slots (5.93 GiB), 1,383 MiB free VRAM after loading, a 46.84 GiB successfully registered expert arena, and 3.09 GiB of pinned KV.
Timeline (2026-10-01, UTC+08:00)
max_new=200.System event 1019 also names
nvlddmkm.sysas the possibly related driver.The engine log ends at:
There is no request-complete event, no watchdog stall report, and no "released the verify window's GPU waits" message. The request-to-reboot interval is about 22 seconds, shorter than the default 60-second watchdog. Thus this run does not demonstrate that the new flag-release routine failed after being invoked; it suggests Windows failed before the watchdog could intervene. I cannot determine the exact GPU kernel or whether it is the identical stall from these logs alone.
After the reboot,
nvidia-smiworks again. I have stopped further GPU reproductions for now.Questions
--pcie-frac 0, a fixedSTRATA_ARENA_PIN_GIBcap, or a diagnostic engine with GPU-stage progress markers? The whole-arena registration succeeded here, unlike #243; I understand thatautoonly caps the fallback sliced registration.Verifier::release_gpu_waits, acudaStreamQueryresult other thancudaErrorNotReadyends the polling loop, including CUDA errors, and the function can return true. Could the release log distinguishcudaSuccessfrom an error? This is a separate observability concern, not a claimed cause of this crash.Additional environment observations, not established causes:
HwSchMode=2is configured; the machine has a GameViewer virtual display adapter and AMD integrated graphics in addition to the NVIDIA card. No explicitTdrLevel,TdrDelayorTdrDdiDelayregistry overrides were found.Attached ZIP: engine log, request-boundary trace, exact test config,
BUILD.json, and selected Windows System events. It contains no memory dumps. The kernel minidump exists according to Windows, but needs an elevated local copy to inspect; I have not analyzed it or uploaded it publicly.strata-267-0.1.31-evidence.zip