mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[GH-ISSUE #4131] [Engine] dsv41 0.1.51: DS4_STORE_ZC=1 hard-hangs the engine on an ordinary small prompt - CUDA context silently lost, /health stays ok (RTX 4090, Windows) #1808
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#1808
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 @handmade0octopus on GitHub (Oct 25, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/4131
Setup (all numbers mine, measured today on one box)
--max-context 262144BUILD.json:f-0243-rel 562a0c2ed), served byserve/server.py0.2.6--pack … --dspark auto --dspark-conf 0.65 --cpu-threads 12 --ssd-cache 80DS4_STORE_ZC=1,DS4_STORE_ZC_FRAC=100What worked
Boot is clean (all 80 GB of store chunks register,
RAM store: chunk host … -> device …), small prompts answer, and a 32,768-token prompt + 2,048 generated benchmark runs at 19.8–23.2 tok/s decode. For contrast, the same 0.1.51 without the ZC env does 12.9–15.3 tok/s here — the CPU lane is a slow Zen 2, soDS4_STORE_ZCis the only fast configuration on this box.The failure
Roughly 40 minutes into ordinary use (a handful of requests; the last one a small prompt), the engine stopped making progress and never recovered:
/healthkeeps returning200 {"loaded": true}the whole timenvidia-smitotal used drops to ~0.7 GB; the engine is no longer listed innvidia-smi --query-compute-apps)I did not get a second hang: the same config had served benchmarks earlier the same day without incident, and after the hang I moved this box back to a 0.1.49.2-based build (device-readable pinned-copy zero-copy), which has run for hours without it.
What I did not test
A minimal reproducer; other
DS4_STORE_ZC_FRACvalues after the hang (FRAC=50 was only benchmarked for speed: 16.7–19.9 tok/s vs 19.8–23.2 at FRAC=100); Linux; other GPUs; whether the--ssd-cachesize matters (80 GB holds this pack's whole CPU lane).Suspect (unconfirmed static analysis, read from the 0.2.6 source)
The store zero-copy path publishes per-layer device visibility at window boundaries (
l.zc/zc_tab) while the store can in parallel take visible slots back (thereservereclaim) and grow/register new arena chunks in the background. If the device side dereferences a chunk that was unregistered, on WDDM that kills the context silently — which would match the observed CPU 0% + VRAM released + no TDR, with the server thread then blocked forever in a driver call.Ask
Is
DS4_STORE_ZCknown-broken on Windows/WDDM, or is there a debug env/build to catch the device-side fault? This box is otherwise a good ZC candidate (ZC is +50–70% decode over the CPU lane here), so I am happy to run a debug build or targeted tests.@Niko1221 commented on GitHub (Nov 5, 2026):
Thanks for taking the time to report this.
Strata has changed a lot since this was opened, and 0.2.11 is out now, so many older reports no longer apply. We're closing issues older than a week that have had no new reports in the last week. 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.