mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[GH-ISSUE #2188] 0.1.43.1, Windows: STRATA_ADAPT_OVERLAP=1 stops the first request with "the adaptive tier's copies for layer 45 never landed" (RTX 4070 SUPER); STRATA_ADAPT_SIGNAL=host works #871
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#871
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 @LeGeRyChEeSe on GitHub (Oct 12, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/2188
Summary
On Windows,
STRATA_ADAPT_OVERLAP=1(opt-in there since 0.1.43) fails on the first request of every run with thedefault signal (stream-ordered copies):
With
STRATA_ADAPT_SIGNAL=hostadded, the same runs finish and give the same speed as without the overlap.STRATA_ADAPT_OVERLAP=1,--vision,--vram-reserve-mib 450STRATA_ADAPT_OVERLAP=1, no vision,--vram-reserve-mib 1000STRATA_ADAPT_OVERLAP=1 STRATA_ADAPT_SIGNAL=host,--vision, 450Setup
--expert-cache auto --prefill auto --spec 4 --spec-min-p 0.7 --mtp <rt> --max-context 131072 --kv int8 --kv-resident 32768 --pcie-frac 0.55 --ple-io direct, plus the reserve and--visionabove.Log before the stop (no vision run):
Since it is opt-in on Windows this does not hit default users; maybe the Windows opt-in should pick the host signal,
or the docs could mention it. The full engine logs are available.
@Zonnery commented on GitHub (Oct 13, 2026):
Same failure on a RTX 5090 32 GB / Windows 11 24H2, and our layer numbers differ (27 and 31, not 45) — so it does not look card-specific. Adding the repro data.
Environment
0.1.43.1(strata 0.1.43.1), installed viasetup.py, ready-made CUDA engineConfig (only the overlap env vars differ between the two runs)
Trigger:
STRATA_ADAPT_OVERLAP=1+STRATA_ADAPT_OVERLAP_RESIDENT=1in the config"env"section. The startup log then reports it as engaged:With only
STRATA_ADAPT_OVERLAP=1(no_RESIDENT) it stays off withSTRATA_ADAPT_OVERLAP=1 is off: not in the resident RAM mode unless STRATA_ADAPT_OVERLAP_RESIDENT=1— i.e. it needs both here, since the box runs in the resident RAM mode (resident RAM mode: 33.94 GiB of experts in RAM (page-locked), 9536 in the GPU cache; adaptive swaps exchange them with the GPU cache).Symptom: the first request after start dies. Server side:
A second run on the same config died the same way at a different layer:
The engine's own log ends at the verify capture with no error line, which is what makes it look like a silent exit:
Not VRAM exhaustion. The first failure happened with
104 MiB of VRAM free ... LOW(that run also had other apps holding ~3.5 GiB on the card), but the second failure had2079 MiB of VRAM free with everything loadedand still 1531-2079 MiB free while capturing windows — well above the 1024 MiB--vram-reserve-mib— and died identically.Control run (same config,
STRATA_ADAPT_OVERLAP*removed): stable and fast, so the rest of the config is fine:(peak seen on this box: 235.9 tok/s, 99.0% expert-cache hit, 44K ctx: 209.3 tok/s)
Happy to run any build/probe you want on this configuration — the box is dedicated to it and the crash is 100% reproducible on the first request.
@Niko1221 commented on GitHub (Oct 13, 2026):
Thanks @LeGeRyChEeSe, the logs and the A/B made this clear. Under WDDM a stream's work waits in the driver's command buffer until a driver call submits it. With the stream-ordered signal the verify window only spins on a pinned int, so the last layers' copies (and their 4-byte signal copies) were never submitted.
In 0.1.44 (out now):
STRATA_ADAPT_SIGNAL=copyasks for the copy signal.If you have time, a run with
STRATA_ADAPT_OVERLAP=1 STRATA_ADAPT_SIGNAL=copyon 0.1.44 would tell us whether the flush is enough. Linux keeps the copy signal and is unchanged.@LeGeRyChEeSe commented on GitHub (Oct 14, 2026):
Tested on 0.1.44, same box and same config as the report (RTX 4070 SUPER, Windows 11, driver 617.42, IQ2_XS, one card
for the engine,
--vram-reserve-mib 450), built from the v0.1.44 tag. Public agent corpus (23 turns, contexts up to~100K), one server run per setting:
STRATA_ADAPT_OVERLAP=1(host-function signal, the new Windows default)STRATA_ADAPT_OVERLAP=1 STRATA_ADAPT_SIGNAL=copyWith
SIGNAL=copythe engine logsadaptive overlap signal: stream-ordered copies, and none of the "never landed"stops that 0.1.43.1 hit on the first request with this config. So the flush after the swaps is enough on Windows/WDDM
here.
Speed, for what it's worth: both overlap settings are within run-to-run noise of 0.1.44 without overlap on this box
(median per-turn ratio x1.019 for host and x1.010 for copy, one run each against 7 runs without overlap).
Thanks for the fix.
@ByteJuggler commented on GitHub (Oct 14, 2026):
Same on AMD, Windows: RX 6900 XT 16 GB (gfx1030 / RDNA2), prebuilt Windows HIP zip, Q2_0 model, single GPU.
STRATA_ADAPT_OVERLAP=1, the engine exits (code 1) withverify: the adaptive tier's copies for layer N never landed; its GPU waits were released and the GPU finished (#267)(N was 3, 8 and 10 on different requests). The server restarts it, and later requests fail the same way.verify: layer 10 never rang (unspecified launch failure), and the next request crashes the same way (layer 11 never rang).Each crash shows up on Windows as a driver timeout (the AMD Bug Report Tool pops up). The same config without
STRATA_ADAPT_OVERLAPruns fine on both versions. I haven't triedSTRATA_ADAPT_SIGNAL=host.System: i7-5930K, 64 GB RAM, Windows 11 23H2, AMD Software 26.8.1 (driver 32.0.21045.5002).
@Niko1221 commented on GitHub (Oct 19, 2026):
Thanks for the report. This is fixed in 0.2.0-beta (or an earlier release), and we're closing it as part of the tracker reset for 0.2.0-beta.
If it still happens on 0.2.0-beta, add the area prefix to the title ([Engine], [GUI], [TUI], [Benchmark], [Docs] or [Other]), put the Strata version and your hardware in the issue form fields, and comment
/reopen. A check runs and reopens it.STRATA_SELECT_LONG=1, opt-in, GP100 builds) #4793