[GH-ISSUE #267] Windows: the verify-window stall wedges the GPU into an unrecoverable "device lost" state (manual power cycle required), with no TDR logged #136

Closed
opened 2026-11-04 01:40:20 +07:00 by bsakaguchi · 7 comments
Owner

Originally created by @1593914054 on GitHub (Sep 30, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/267

Environment

Strata 0.1.24 (ready-made engine, CUDA 13.0, sm_86/sm_89/sm_120)
Model Qwen3.8-Flash-Next, IQ3_S native pack + PLE shard
Engine args --max-context 262144 --kv int8 --kv-resident 32768 --spec 4 --spec-min-p 0.5 --mtp (CJK draft) --expert-cache auto --prefill auto --vision --vram-reserve-mib 700
GPU RTX 4080 SUPER 16 GB, sm_89, driver 616.92
CPU Ryzen 9 7950X3D (AVX-512)
RAM 128 GB DDR5 (127 GB visible)
OS Windows 11 Home 10.0.26200

What happened

The engine loaded normally and reported session is up (engine 0.1.24) with 1290 MiB of VRAM free with everything loaded — comfortably above the 256 MiB stall threshold, so this is not the low-VRAM-reserve case of #199.

It then hung on the very first serve request, which was a short one (a one-sentence question, max_tokens 200) — position 6, window 6. This is why I think it is a distinct data point from #251, where long prompts trigger it; here it needed no long prompt at all.

The stall report

strata verify: window up to 6 tokens, 75.4 MiB of device buffers
strata mtp: draft head over 40525 tokens (81.2 MiB)
strata serve: 1290 MiB of VRAM free with everything loaded
strata verify: captured the 6-token window (upload no error, sync no error)
strata serve: no progress for 60 s during a request (verify window: waiting for the GPU to finish the window (flags A/B/M raised) 6) - stopping the engine so the server starts it again (issue #29)
strata serve: stall report (engine 0.1.24): stage "verify window: waiting for the GPU to finish the window (flags A/B/M raised) 6" for 71 s; 0 layers served since the last finished step (0 = stopped, more = slow)
  expert pool: epoch 192, batch epoch 192: 48 of 48 jobs claimed, 48 done; 15 of 15 workers parked, 15 sleeping; mode 0
  expert pool threads: w0=sleeping w1=sleeping w2=sleeping w3=sleeping w4=sleeping w5=sleeping w6=sleeping w7=sleeping w8=sleeping w9=sleeping w10=sleeping w11=sleeping w12=sleeping w13=sleeping w14=sleeping; host idle for 71501 ms
  verify window: 6 tokens at position 6, host at layer step 48; the GPU rang 48; flags: served 48, plan (A) 48, copies (B) 48
  memory: 53592 MiB resident, 66957 MiB committed, 59362 MiB RAM available; 14807775 page faults so far
  2 s later: (identical)
  wrote the thread stacks to strata-stall-27624.dmp (attach it to the issue)

Same signature as #251: all expert-pool jobs finished, all workers parked, the GPU rang 48, and the host waits forever on the verify window.

Aftermath on Windows: the GPU is left unrecoverable

The server then answered with:

{"error": {"type": "server_error", "message": "the engine stopped unexpectedly (exit code 3221226505); the next request restarts it"}}

(3221226505 = 0xC0000409)

and immediately after that, nvidia-smi could no longer talk to the card at all:

Unable to determine the device handle for GPU0: 0000:01:00.0: GPU is lost.  Reboot the system to recover this GPU
No devices were found

So on Windows the stall does not stay contained to the engine: the GPU ends up in an unrecoverable device lost state, and the card only comes back after a power cycle. The remote desktop session died at the same moment and stayed dead — the machine needed someone to physically power-cycle it, which happened 19.5 hours later (hang at 04:11:14, power-off initiated 23:46:38).

No TDR / display-driver event was logged at all

I could not find any Display 4101/4102, nvlddmkm, WHEA or BugCheck event in the Windows event log around the hang or in the following hours. The display driver's watchdog never fired, so Windows never attempted the usual "driver stopped responding → reset and recover" path; the device just went away. That is probably why it is unrecoverable, unlike an ordinary TDR.

Windows System log around the recovery, for the record:

2026-09-30 23:46:38  Event 1074  winlogon.exe initiated the power off of the computer   (manual power cycle)
2026-09-30 23:50:53  Event 41    The system has rebooted without cleanly shutting down first.
2026-09-30 23:51:01  Event 6008  The previous system shutdown at 23:14:03 was unexpected.

Notes

  • Engine 0.1.24 here; #251 reports the same verify-window stall on 0.1.29, and I could not find a way to run --serve without --mtp (it requires --spec T, --mtp DIR and --prefill CHUNK), so there is no way to A/B the draft path out of the equation from the config.
  • VRAM was not the problem (1290 MiB free at load), and the machine had 59 GB of RAM available at the stall.
  • Attached: strata-stall-27624.dmp (thread stacks) and strata-iq3_s.log.

Related: #251, #29, #31

strata-stall-27624.dmp

strata-iq3_s.log

Originally created by @1593914054 on GitHub (Sep 30, 2026). Original GitHub issue: https://github.com/Niko1221/Strata/issues/267 ### Environment | | | |---|---| | Strata | 0.1.24 (ready-made engine, CUDA 13.0, sm_86/sm_89/sm_120) | | Model | Qwen3.8-Flash-Next, **IQ3_S** native pack + PLE shard | | Engine args | `--max-context 262144 --kv int8 --kv-resident 32768 --spec 4 --spec-min-p 0.5 --mtp` (CJK draft) `--expert-cache auto --prefill auto --vision --vram-reserve-mib 700` | | GPU | RTX 4080 SUPER 16 GB, **sm_89**, driver **616.92** | | CPU | Ryzen 9 7950X3D (AVX-512) | | RAM | 128 GB DDR5 (127 GB visible) | | OS | **Windows 11 Home 10.0.26200** | ### What happened The engine loaded normally and reported `session is up (engine 0.1.24)` with **1290 MiB of VRAM free with everything loaded** — comfortably above the 256 MiB stall threshold, so this is **not** the low-VRAM-reserve case of #199. It then hung on the **very first serve request**, which was a *short* one (a one-sentence question, `max_tokens 200`) — position 6, window 6. This is why I think it is a distinct data point from #251, where long prompts trigger it; here it needed no long prompt at all. ### The stall report ``` strata verify: window up to 6 tokens, 75.4 MiB of device buffers strata mtp: draft head over 40525 tokens (81.2 MiB) strata serve: 1290 MiB of VRAM free with everything loaded strata verify: captured the 6-token window (upload no error, sync no error) strata serve: no progress for 60 s during a request (verify window: waiting for the GPU to finish the window (flags A/B/M raised) 6) - stopping the engine so the server starts it again (issue #29) strata serve: stall report (engine 0.1.24): stage "verify window: waiting for the GPU to finish the window (flags A/B/M raised) 6" for 71 s; 0 layers served since the last finished step (0 = stopped, more = slow) expert pool: epoch 192, batch epoch 192: 48 of 48 jobs claimed, 48 done; 15 of 15 workers parked, 15 sleeping; mode 0 expert pool threads: w0=sleeping w1=sleeping w2=sleeping w3=sleeping w4=sleeping w5=sleeping w6=sleeping w7=sleeping w8=sleeping w9=sleeping w10=sleeping w11=sleeping w12=sleeping w13=sleeping w14=sleeping; host idle for 71501 ms verify window: 6 tokens at position 6, host at layer step 48; the GPU rang 48; flags: served 48, plan (A) 48, copies (B) 48 memory: 53592 MiB resident, 66957 MiB committed, 59362 MiB RAM available; 14807775 page faults so far 2 s later: (identical) wrote the thread stacks to strata-stall-27624.dmp (attach it to the issue) ``` Same signature as #251: all expert-pool jobs finished, all workers parked, the GPU rang 48, and the host waits forever on the verify window. ### Aftermath on Windows: the GPU is left unrecoverable The server then answered with: ``` {"error": {"type": "server_error", "message": "the engine stopped unexpectedly (exit code 3221226505); the next request restarts it"}} ``` (3221226505 = 0xC0000409) and immediately after that, `nvidia-smi` could no longer talk to the card at all: ``` Unable to determine the device handle for GPU0: 0000:01:00.0: GPU is lost. Reboot the system to recover this GPU No devices were found ``` So on Windows the stall does **not** stay contained to the engine: the GPU ends up in an unrecoverable *device lost* state, and the card only comes back after a **power cycle**. The remote desktop session died at the same moment and stayed dead — the machine needed someone to physically power-cycle it, which happened **19.5 hours later** (hang at 04:11:14, power-off initiated 23:46:38). ### No TDR / display-driver event was logged at all I could not find **any** `Display` 4101/4102, `nvlddmkm`, `WHEA` or `BugCheck` event in the Windows event log around the hang or in the following hours. The display driver's watchdog never fired, so Windows never attempted the usual "driver stopped responding → reset and recover" path; the device just went away. That is probably why it is unrecoverable, unlike an ordinary TDR. Windows System log around the recovery, for the record: ``` 2026-09-30 23:46:38 Event 1074 winlogon.exe initiated the power off of the computer (manual power cycle) 2026-09-30 23:50:53 Event 41 The system has rebooted without cleanly shutting down first. 2026-09-30 23:51:01 Event 6008 The previous system shutdown at 23:14:03 was unexpected. ``` ### Notes - Engine 0.1.24 here; #251 reports the same verify-window stall on 0.1.29, and I could not find a way to run `--serve` without `--mtp` (it requires `--spec T`, `--mtp DIR` and `--prefill CHUNK`), so there is no way to A/B the draft path out of the equation from the config. - VRAM was not the problem (1290 MiB free at load), and the machine had 59 GB of RAM available at the stall. - Attached: `strata-stall-27624.dmp` (thread stacks) and `strata-iq3_s.log`. Related: #251, #29, #31 [strata-stall-27624.dmp](https://github.com/user-attachments/files/32866325/strata-stall-27624.dmp) [strata-iq3_s.log](https://github.com/user-attachments/files/32866332/strata-iq3_s.log)
Author
Owner

@Niko1221 commented on GitHub (Sep 30, 2026):

Thanks for the dump and the analysis. The final wait of a verify window is an unbounded sync, and the GPU-side waits spin on host-mapped flags with no abort, so when the watchdog kills the process those kernels are still resident. 0.1.31 makes that wait bounded and, before the watchdog exits, releases every flag so the waiting kernels finish. Could you retest on 0.1.30 meanwhile and tell us if it still happens?

<!-- gh-comment-id:5917511483 --> @Niko1221 commented on GitHub (Sep 30, 2026): Thanks for the dump and the analysis. The final wait of a verify window is an unbounded sync, and the GPU-side waits spin on host-mapped flags with no abort, so when the watchdog kills the process those kernels are still resident. 0.1.31 makes that wait bounded and, before the watchdog exits, releases every flag so the waiting kernels finish. Could you retest on 0.1.30 meanwhile and tell us if it still happens?
Author
Owner

@Niko1221 commented on GitHub (Oct 1, 2026):

0.1.31: when a verify window stalls, the watchdog now releases every GPU wait before it ends the engine, so no spin kernel outlives the process (tested with a simulated stuck flag: the GPU finished in 15 ms and nvidia-smi was healthy). Please reopen if you still get a device-lost state on 0.1.31.

<!-- gh-comment-id:5925210632 --> @Niko1221 commented on GitHub (Oct 1, 2026): [0.1.31](https://github.com/Niko1221/Strata/releases/tag/v0.1.31): when a verify window stalls, the watchdog now releases every GPU wait before it ends the engine, so no spin kernel outlives the process (tested with a simulated stuck flag: the GPU finished in 15 ms and nvidia-smi was healthy). Please reopen if you still get a device-lost state on 0.1.31.
Author
Owner

@1593914054 commented on GitHub (Oct 1, 2026):

=== COMMENT FOR #267 — root cause isolated: 0.1.31's new MTP-prefill path, plus a separate driver idle crash ===

1. First-request crash is a 0.1.31 MTP-prefill regression — STRATA_MTP_PREFILL_SYNC=1 works around it

The serve request path is:

ver.run(T) → ver.commit(T) → mtp.prefill(ver.final_R_all(), ...)   (generate.cpp, near the read_windows helper)

0.1.31 ships a new MTP-prefill path (src/core/mtp.cpp, the E-4 "batch input upload + device graph" path via capture_prefill_dev, on by default). On this machine the first request always dies there:

strata serve: mtp prefill: unknown error

(cudaErrorUnknown from cudaGraphLaunch(prefill_dev_exec_[T]) / cudaStreamSynchronize inside MtpDrafter::prefill.)

Setting the engine's existing fallback switch

STRATA_MTP_PREFILL_SYNC=1

(which forces the old per-group-sync path via capture_prefill) made every request succeed — 21+ short requests plus a long prompt, all completed: decode ~38–53 tok/s, prompt ~48–76 tok/s, drafts accepted normally. So this part is an engine regression in 0.1.31's new MTP-prefill path, with a clean opt-out.

2. There is a second, independent crash: the GPU dies while idle

With STRATA_MTP_PREFILL_SYNC=1 the requests work, but the machine still bugchecks while the engine is idle (no request running): 0x116 with Arg3 0xC000009A (nvlddmkm), and once 0x133 DPC_WATCHDOG_VIOLATION under STRATA_ARENA_PIN_GIB=1 + STRATA_ARENA_LOCK=0.

Full matrix on this machine (driver 616.92, same model/args otherwise):

Config First request Idle result
0.1.31 default (whole 46.84 GiB arena pinned) 0x116 bugcheck ~22 s —
+ STRATA_ARENA_PIN_GIB=8 mtp prefill: unknown error 0x116 bugcheck
+ --pcie-frac 0 — 0x116 idle bugcheck
+ locked GPU clocks (nvidia-smi -lgc 300,3000) mtp prefill: unknown error 0x116 (delayed)
+ STRATA_MTP_PREFILL_SYNC=1 OK (21+ requests) 0x116 after ~40 min idle
+ STRATA_ARENA_PIN_GIB=1 + STRATA_ARENA_LOCK=0 — 0x133 DPC_WATCHDOG_VIOLATION

Pinning is a "two-edged" variable: pinning the whole 46.84 GiB arena leaves the WDDM shared segment full, so TDR reset fails with 0xC000009A (0x116); pinning nothing leaves the 45 GiB arena pageable and the CPU expert pool's page-fault storm appears to trip a DPC watchdog (0x133).

3. What I checked and ruled out

  • Driver rollback: NVIDIA forum reports show this idle P0→P8 + large-VRAM-dealloc crash reproduces across driver branches, so a rollback is unlikely to fix the idle crash. (The STRATA_MTP_PREFILL_SYNC=1 part is engine-side and independent of the driver.)
  • Windows PCIe ASPM = off: no effect — the card still drops to PCIe Gen1 at idle (BIOS-level ASPM; the display is broken so I cannot enter BIOS).
  • WSL2: not a workaround — WSL2's CUDA is the paravirtualized GPU path and still uses the Windows nvlddmkm driver / TDR.

Net assessment

Two independent issues:

  1. Engine (0.1.31 regression): the new MTP-prefill path crashes on the first request; STRATA_MTP_PREFILL_SYNC=1 works around it. This is the actionable engine bug.
  2. Driver/environment: the idle GPU crash (0x116 / 0x133) is not avoidable by any engine flag on this WDDM machine; it reproduces across driver branches and matches the known idle P0→P8 + large-pinned-memory crash.

Requested action: please treat STRATA_MTP_PREFILL_SYNC=1 as evidence that 0.1.31's new capture_prefill_dev path needs fixing (or should stay opt-in). The idle crash looks like NVIDIA-driver territory, but the fact that a ~46.84 GiB pinned arena is what makes the TDR reset fail (0xC000009A) may be worth a Windows-side note in the docs.

<!-- gh-comment-id:5931709170 --> @1593914054 commented on GitHub (Oct 1, 2026): === COMMENT FOR #267 — root cause isolated: 0.1.31's new MTP-prefill path, plus a separate driver idle crash === ### 1. First-request crash is a 0.1.31 MTP-prefill regression — `STRATA_MTP_PREFILL_SYNC=1` works around it The serve request path is: ``` ver.run(T) → ver.commit(T) → mtp.prefill(ver.final_R_all(), ...) (generate.cpp, near the read_windows helper) ``` 0.1.31 ships a new MTP-prefill path (`src/core/mtp.cpp`, the E-4 "batch input upload + device graph" path via `capture_prefill_dev`, on by default). On this machine the **first request always dies there**: ``` strata serve: mtp prefill: unknown error ``` (`cudaErrorUnknown` from `cudaGraphLaunch(prefill_dev_exec_[T])` / `cudaStreamSynchronize` inside `MtpDrafter::prefill`.) Setting the engine's existing fallback switch ``` STRATA_MTP_PREFILL_SYNC=1 ``` (which forces the old per-group-sync path via `capture_prefill`) made **every request succeed** — 21+ short requests plus a long prompt, all completed: decode ~38–53 tok/s, prompt ~48–76 tok/s, drafts accepted normally. So this part is an engine regression in 0.1.31's new MTP-prefill path, with a clean opt-out. ### 2. There is a second, independent crash: the GPU dies while idle With `STRATA_MTP_PREFILL_SYNC=1` the requests work, but the machine still bugchecks while the engine is **idle** (no request running): `0x116` with Arg3 `0xC000009A` (nvlddmkm), and once `0x133 DPC_WATCHDOG_VIOLATION` under `STRATA_ARENA_PIN_GIB=1` + `STRATA_ARENA_LOCK=0`. Full matrix on this machine (driver 616.92, same model/args otherwise): | Config | First request | Idle result | |---|---|---| | 0.1.31 default (whole 46.84 GiB arena pinned) | 0x116 bugcheck ~22 s | — | | + `STRATA_ARENA_PIN_GIB=8` | `mtp prefill: unknown error` | 0x116 bugcheck | | + `--pcie-frac 0` | — | 0x116 idle bugcheck | | + locked GPU clocks (`nvidia-smi -lgc 300,3000`) | `mtp prefill: unknown error` | 0x116 (delayed) | | + `STRATA_MTP_PREFILL_SYNC=1` | **OK (21+ requests)** | 0x116 after ~40 min idle | | + `STRATA_ARENA_PIN_GIB=1` + `STRATA_ARENA_LOCK=0` | — | 0x133 DPC_WATCHDOG_VIOLATION | Pinning is a "two-edged" variable: pinning the whole 46.84 GiB arena leaves the WDDM shared segment full, so TDR reset fails with `0xC000009A` (`0x116`); pinning nothing leaves the 45 GiB arena pageable and the CPU expert pool's page-fault storm appears to trip a DPC watchdog (`0x133`). ### 3. What I checked and ruled out - **Driver rollback**: NVIDIA forum reports show this idle P0→P8 + large-VRAM-dealloc crash reproduces across driver branches, so a rollback is unlikely to fix the idle crash. (The `STRATA_MTP_PREFILL_SYNC=1` part is engine-side and independent of the driver.) - **Windows PCIe ASPM = off**: no effect — the card still drops to PCIe Gen1 at idle (BIOS-level ASPM; the display is broken so I cannot enter BIOS). - **WSL2**: not a workaround — WSL2's CUDA is the paravirtualized GPU path and still uses the Windows nvlddmkm driver / TDR. ### Net assessment Two independent issues: 1. **Engine (0.1.31 regression)**: the new MTP-prefill path crashes on the first request; `STRATA_MTP_PREFILL_SYNC=1` works around it. This is the actionable engine bug. 2. **Driver/environment**: the idle GPU crash (`0x116` / `0x133`) is not avoidable by any engine flag on this WDDM machine; it reproduces across driver branches and matches the known idle P0→P8 + large-pinned-memory crash. Requested action: please treat `STRATA_MTP_PREFILL_SYNC=1` as evidence that 0.1.31's new `capture_prefill_dev` path needs fixing (or should stay opt-in). The idle crash looks like NVIDIA-driver territory, but the fact that a ~46.84 GiB pinned arena is what makes the TDR reset fail (`0xC000009A`) may be worth a Windows-side note in the docs.
Author
Owner

@MrKop-git commented on GitHub (Oct 12, 2026):

Possibly related root-cause analysis: #2084 — on Linux/NVIDIA Pascal, the hard-freeze/GPU-wedge class traced to the driver's PMU halting during PCIe link-speed retraining (NVIDIA bug 6869496), with a one-line registry workaround. If the Windows wedge here shares the PMU/link-retraining trigger, the same mitigation class may apply.

<!-- gh-comment-id:6121407012 --> @MrKop-git commented on GitHub (Oct 12, 2026): **Possibly related root-cause analysis:** #2084 — on Linux/NVIDIA Pascal, the hard-freeze/GPU-wedge class traced to the driver's PMU halting during PCIe link-speed retraining (NVIDIA bug 6869496), with a one-line registry workaround. If the Windows wedge here shares the PMU/link-retraining trigger, the same mitigation class may apply.
Author
Owner

@nghia1930mmm-cmd commented on GitHub (Oct 14, 2026):

Chào Dinesh Chander,

Cảm ơn bạn đã cập nhật về tình hình trên Strata 0.1.44. Rất tiếc khi biết vấn đề này vẫn chưa được giải quyết triệt để.

Trước khi chúng tôi đi sâu vào sửa lỗi mã nguồn, bạn có thể thử giảm bớt số lượng pool-workers hiện tại từ 13 xuống còn 8 và kiểm tra xem hiện tượng stall có còn xuất hiện hay không không? Điều này sẽ giúp chúng tôi xác định liệu đây là do xung đột tài nguyên phần cứng hay lỗi logic trong cơ chế xử lý của engine.

Mong phản hồi từ bạn.

Trân trọng,
[Your Name]

Trên 14 tháng 10, 2026 21:53:26 GMT+07:00, Dinesh Chander @.***> đã viết:

dinesh-chander left a comment (Niko1221/Strata#267)

Repro on 0.1.44 — asking for a reopen, since the message below is the post-fix wording and the release path ran but wasn't enough.

Environment

Strata 0.1.44 (HIP source build, gfx1100+gfx1100)
Model Qwen3.8-Flash-Next, UD-Q4_K_XL native pack
Engine args --max-context 200000 --kv int8 --kv-resident 32768 --spec 4 --spec-min-p 0.5 --mtp --expert-cache auto --prefill auto --vision --vram-reserve-mib 2048 --pool-workers 13 --conversation-cache-mib 2048 --conversation-cache-slots 8 --layer-split auto
GPUs 2x AMD RX 7900 XTX (gfx1100), layer split 24/24, ROCm/HIP
CPU/RAM Core Ultra 7 265K, 96 GB DDR5
OS Linux

What happened

A 516-token high-reasoning generation died mid-decode:

[strata] thinking: 482 of max 32768 tokens, 28.7 tok/s, 17 s
[strata] thinking: 516 of max 32768 tokens, 18.4 tok/s, 28 s
[strata] thinking: 516 of max 32768 tokens, 13.6 tok/s, 38 s
[strata] the engine stopped unexpectedly (exit code None). Unrecoverable native verification failure: verify: timed out at layer 29; its GPU waits were released but the GPU did not finish within 5 s (#267) The next request starts the engine again.
[strata] done: 516 tokens in 48 s (10.8 tok/s) (error, cancel=False)

Note the decode-rate decay (28.7 → 18.4 → 13.6 tok/s over ~20 s) before the watchdog fired — a progressive stall, not an instant wedge. And the message says the GPU waits were released (the 0.1.31 remedy executed) but the GPU still didn't finish within 5 s.

What's different from the original #267 report

  • No device loss. Both cards stayed healthy; server.py restarted the engine on the next request and serving resumed. No reboot needed.
  • Silent at kernel level. No amdgpu/GTT/OOM lines in dmesg or journal around the stall.
  • Not the low-VRAM case. Per-request stats in the same session: decode expert-cache hit 87–94%, only ~1.2% of routed experts over PCIe; KV streaming 98.03% VRAM hit (3.7 GiB from RAM). I've since raised --vram-reserve-mib 2048 → 3072 as the documented mitigation.

So on 0.1.44/HIP the watchdog still fires with the same signature, except the failure stays contained (engine dies, GPUs fine) thanks to the 0.1.31 bounded-wait/release change. Looks like a residual case the fix didn't cover — possibly a genuinely stuck GPU-side wait rather than an unreleased flag.

Happy to capture whatever would help (engine log around the stall, /metrics snapshot, stall dump if the engine can emit one on this path) — just say what to grab next time it fires.

--
Reply to this email directly or view it on GitHub:
https://github.com/Niko1221/Strata/issues/267#issuecomment-6171218687
You are receiving this because you are subscribed to this thread.

Message ID: @.***>

<!-- gh-comment-id:6171370632 --> @nghia1930mmm-cmd commented on GitHub (Oct 14, 2026): Chào Dinesh Chander, Cảm ơn bạn đã cập nhật về tình hình trên Strata 0.1.44. Rất tiếc khi biết vấn đề này vẫn chưa được giải quyết triệt để. Trước khi chúng tôi đi sâu vào sửa lỗi mã nguồn, bạn có thể thử giảm bớt số lượng pool-workers hiện tại từ 13 xuống còn 8 và kiểm tra xem hiện tượng stall có còn xuất hiện hay không không? Điều này sẽ giúp chúng tôi xác định liệu đây là do xung đột tài nguyên phần cứng hay lỗi logic trong cơ chế xử lý của engine. Mong phản hồi từ bạn. Trân trọng, [Your Name] Trên 14 tháng 10, 2026 21:53:26 GMT+07:00, Dinesh Chander ***@***.***> đã viết: >dinesh-chander left a comment (Niko1221/Strata#267) > >Repro on 0.1.44 — asking for a reopen, since the message below is the *post-fix* wording and the release path ran but wasn't enough. > >## Environment > >| | | >|---|---| >| Strata | 0.1.44 (HIP source build, gfx1100+gfx1100) | >| Model | Qwen3.8-Flash-Next, UD-Q4_K_XL native pack | >| Engine args | `--max-context 200000 --kv int8 --kv-resident 32768 --spec 4 --spec-min-p 0.5 --mtp --expert-cache auto --prefill auto --vision --vram-reserve-mib 2048 --pool-workers 13 --conversation-cache-mib 2048 --conversation-cache-slots 8 --layer-split auto` | >| GPUs | 2x AMD RX 7900 XTX (gfx1100), layer split 24/24, ROCm/HIP | >| CPU/RAM | Core Ultra 7 265K, 96 GB DDR5 | >| OS | Linux | > >## What happened > >A 516-token `high`-reasoning generation died mid-decode: > >``` >[strata] thinking: 482 of max 32768 tokens, 28.7 tok/s, 17 s >[strata] thinking: 516 of max 32768 tokens, 18.4 tok/s, 28 s >[strata] thinking: 516 of max 32768 tokens, 13.6 tok/s, 38 s >[strata] the engine stopped unexpectedly (exit code None). Unrecoverable native verification failure: verify: timed out at layer 29; its GPU waits were released but the GPU did not finish within 5 s (#267) The next request starts the engine again. >[strata] done: 516 tokens in 48 s (10.8 tok/s) (error, cancel=False) >``` > >Note the decode-rate decay (28.7 → 18.4 → 13.6 tok/s over ~20 s) *before* the watchdog fired — a progressive stall, not an instant wedge. And the message says the GPU waits **were released** (the 0.1.31 remedy executed) but the GPU still didn't finish within 5 s. > >## What's different from the original #267 report > >- **No device loss.** Both cards stayed healthy; `server.py` restarted the engine on the next request and serving resumed. No reboot needed. >- **Silent at kernel level.** No amdgpu/GTT/OOM lines in dmesg or journal around the stall. >- **Not the low-VRAM case.** Per-request stats in the same session: decode expert-cache hit 87–94%, only ~1.2% of routed experts over PCIe; KV streaming 98.03% VRAM hit (3.7 GiB from RAM). I've since raised `--vram-reserve-mib` 2048 → 3072 as the documented mitigation. > >So on 0.1.44/HIP the watchdog still fires with the same signature, except the failure stays contained (engine dies, GPUs fine) thanks to the 0.1.31 bounded-wait/release change. Looks like a residual case the fix didn't cover — possibly a genuinely stuck GPU-side wait rather than an unreleased flag. > >Happy to capture whatever would help (engine log around the stall, `/metrics` snapshot, stall dump if the engine can emit one on this path) — just say what to grab next time it fires. > > >-- >Reply to this email directly or view it on GitHub: >https://github.com/Niko1221/Strata/issues/267#issuecomment-6171218687 >You are receiving this because you are subscribed to this thread. > >Message ID: ***@***.***>
Author
Owner

@rusty20080 commented on GitHub (Oct 25, 2026):

Repro on 0.1.44.1: first-request verify-window stall on 2x RDNA4 (gfx1201) / Windows — same post-fix wording, plus an unrecoverable wedge after

Reopening/re-referencing #267 with a third repro, different silicon and OS from
dinesh-chander's Oct 14 comment (gfx1100, Linux). Ours: AMD RDNA4, Windows,
ready-made HIP engine
; engine ended by the server watchdog with exactly the
post-fix wording; the machine then degraded to a hard lock (unrecoverable until
power cycle) — because on this PC TdrLevel=0 (TDR disabled by registry), which
matches the original #267 report's "no TDR logged".

Environment

Strata engine 0.1.44.1 (ready-made Windows HIP build, engine\strata.exe), served through serve/server.py
Models (A) orcarouter Uncensored IQ3_XXS native pack (gate/up IQ3_XXS, down IQ4_NL, --compat-bf16), (B) orcarouter Uncensored IQ2_M pack (gate/up IQ2_S, down IQ4_NL)
GPUs 2x AMD RX 9070 XT + RX 9060 XT, both gfx1201 (16 GB), driver 32.0.23033.1002 (2026-03-03)
Split "gpu": [0, 1], "layer_split": "auto" — auto chose K=45 (9070 XT carries layers 0-44, the 9060 XT 45-47 + head); --pipeline-windows on by default (2 stages, RDNA4)
CPU/RAM Ryzen 9 5900X, 64 GB DDR4; page file fixed 64 GB
OS Windows 11 Pro 10.0.26300 (build 26300)
AMD engine notes WDDM: expert arena 38501 MiB locked via working-set minimum + VirtualLock, cudaHostRegister capped to 8 GiB (logged), large pages refused (error 1314)

Repro A — orca-iq3_xxs, 128K context on the split, stall under VRAM pressure (Oct 25 17:05)

  • Engine up; first request completed but was slow: 502-token prompt read at
    9.9 tok/s, 153 tokens generated at 11.2 tok/s (drafts accepted 78/102), decode
    expert-cache hit rate 60.6%, experts read from the GGUF in place
    (85917.2 MB read; --mmap-experts declined the native pack, as documented).
  • Second request: WARNING: only 711 MiB of VRAM free at the start of this request (below 1024 MiB): when the card is this full the driver can page GPU memory…
    → then strata serve: verify: the window never finished; its GPU waits were released but the GPU did not finish within 5 s (#267). Engine ended by the server.
  • Aftermath (machine config): the wedge was not recoverable — display stack
    wedged, app hangs for ~1 h, manual power reset. Windows never attempted a TDR:
    this PC's registry has TdrLevel=0 (TdrDelay/TdrDdiDelay 60) under
    HKLM\SYSTEM\CurrentControlSet\Control\GraphicsDrivers. Same observable as the
    original #267 ("no TDR logged, GPU unrecoverable until power cycle").
  • Note: 13:48 the same 128k config ran clean earlier (734 lines, no stop lines);
    the stall fired on the run whose frees dropped under the 1 GiB reserve.

Repro B — orca-iq2_m, 32K context on the same split (Oct 25 18:42)

  • Engine up normally: split auto K=45, predicted 58.2 ms/window, caches hold
    5251 of 24576 profiled pairs (~94.4% of routed mass); 1-token..6-token verify
    windows all captured (upload no error, sync no error).
  • First request (24-token prompt, max_tokens 64):
    strata serve: verify: the window never finished; its GPU waits were released but the GPU did not finish within 5 s (#267) — the host had read 0 tokens.
    Server watchdog ended the engine at 90 s ("said nothing for 90 s; no CPU or disk").
  • Relaunch on 1 GPU (same model, cold) hung in engine init: one log line,
    nothing further (no PCIe probe lines), 2 min to a live-kernel WATCHDOG dump —
    the machine then degraded and was power-reset ~50 min later.
  • Expert formats involved are both in the supported set (IQ2_S / IQ4_NL; is_iq
    accepts types 20/22/18/23; MMQ table includes iq2_s, iq4_nl).

What we tried / did not try (stated explicitly)

  • We did not yet run STRATA_PF_STEP_SYNC=1, STRATA_KV_HOST_DMA=1,
    --pipeline-windows 0, or a smaller --prefill — TROUBLESHOOTING's steps 2-5
    are queued for a retest once the machine is back to a known-good driver state.
  • We did not test: single-card IQ2_M to a completed first request (it died in
    init on a wedged driver, so it never actually ran), iq3_xxs 128k again, or any
    of this on NVIDIA/Linux.
  • confounder disclosed: TdrLevel=0 on this PC (being restored to 3/10 s), so
    "unrecoverable" here is partially self-inflicted; the engine-side stall and its
    post-fix wording are independent of that.

Log excerpts available (happy to attach)

  • strata-orca-iq3_xxs-128k-2gpu.log — the 17:05 session: healthy startup, slow
    first request, only 711 MiB of VRAM free WARNING, then #267.
  • strata-orca-iq2_m-2gpu.log — the 18:42 session: startup + 6 captured verify
    windows, then window never finished ( released … ) (#267).
  • strata-orca-iq2_m.log — 1-line init hang on 1 GPU.
  • Windows: two LiveKernelReports\WATCHDOG dumps today (module snapshot includes
    dxgkrnl.sys + amdkmdag.sys), Kernel-Power 41 + 6008 x2, no 4101/TDR event
    (TdrLevel=0), no commit-exhaustion event.
  • Ask: what should we capture on the next one — strata-stall-*.dmp if the
    Windows engine writes one on this path, a /metrics snapshot, or the
    STRATA_PF_STEP_SYNC log?

Retest after a clean reboot + TDR restore (Oct 25 21:49-22:00)

We rebuilt the machine to a known-good starting state (clean reboot, engine
0.1.44.1 unchanged, TdrLevel=3 restored — previously 0) and ran both arms:

Arm Result
1 GPU (orca-iq2_m, 32k) healthy: loaded, prompt 24 tok read in 454 ms (52.8 tok/s), 13 tokens at 35.4 tok/s, drafts 6/11, no stall, engine stopped cleanly afterwards
2 GPUs ("gpu": [0,1], split auto K=45, same session conditions) repro'd deterministically: all six verify windows captured on both cards (upload no error, sync no error), then the very first real request → strata serve: verify: the window never finished; its GPU waits were released but the GPU did not finish within 5 s (#267)
2 GPUs, STRATA_PF_STEP_SYNC=1 no step over 250 ms is logged before the stall — the wedged point is inside the captured verify graph's execution on the GPU (flags A/B/M raised per the class), not a slow prompt-path step
2 GPUs, in-session engine restart (server restarts it per the error text) the new engine never completes startup (silent 90 s, no CPU/disk → watchdog ends it). Same init-hang signature as when the horse was wedged earlier in the day.
2 GPUs, after that second kill machine stayed responsive (no TDR event, no WHEA event, RAM fully released); but the cards are unusable for HIP until the next reboot

Conclusions for the report: (1) the stall is specific to the 2-stage layer
split
on this engine/build on gfx1201 (single-card of the same pack is fine);
(2) it fires on the first verify regardless of context size (32k here, 128k
under VRAM pressure in repro A); (3) after a #267 on this split the HIP device
state survives only until reboot; (4) with TDR correctly configured the failure
is at least contained (Engine dies, machine survives) — with our previous
TdrLevel=0 it escalated to an unrecoverable desktop freeze.

Retest artifacts: L:\Strata\retest\ (engine + server logs for both arms,
timestamped copies).

Resolution found the same day: fixed by engine 0.1.50 (repo v0.2.2+)

We updated from engine 0.1.44.1 to the signed feed's 0.1.50 (repo state v0.2.6;
UPDATE.bat, model files untouched) — which carries 86d10ed8, "verify (HIP):
the first launch of each window graph reads the PLE rows and raises the PLE flag
before cudaGraphLaunch, so the launch cannot wait for a GPU that waits for the
flag (first-window hang on gfx1151)".

Same repro, new engine, same session conditions (fresh reboot, TdrLevel=3):

Arm Result
1 GPU (orca-iq2_m, 32k) healthy (unchanged from earlier retest)
2 GPUs, split auto, first request healthy now: prompt 24 tok read 655 ms (36.6 tok/s), 13 tokens at 33.0 tok/s, drafts accepted 8/8 — and the state that always killed us, a second request on the still-running split, also healthy (second prompt read 55.5 tok/s, drafts 8/9). Pipeline windows stayed on (default for the 2-stage RDNA4 split).
Machine state responsive after STOP-STRATA; no TDR/WHEA events during either run

So the gfx1151 first-window PLE-flag case and our gfx1201 split case share the
root cause: the first cudaGraphLaunch of a verify window could wait on a
flag that only the launch itself would publish. Both engines' notes:
earlier, on our 0.1.44.1 build, the very first prompt stalled at the captured
window (#267) deterministically, and their in-session engine restarts then
wedged the HIP device until reboot — gone on 0.1.50.

Artifacts: L:\Strata\retest\*engine0150-* (both requests' logs) alongside the
0.1.44.1 repro logs in the same folder.

Everything above is from logs produced on this machine today (engine 0.1.44.1 repros, engine 0.1.50 post-update run); the attribution of the root cause to 86d10ed8 is by release correspondence, not a bisect. Happy to capture STRATA_PF_STEP_SYNC output, a /metrics snapshot or strata-stall-*.dmp if useful for the reopen - just say what helps.

<!-- gh-comment-id:6398562517 --> @rusty20080 commented on GitHub (Oct 25, 2026): ### Repro on 0.1.44.1: first-request verify-window stall on 2x RDNA4 (gfx1201) / Windows — same post-fix wording, plus an unrecoverable wedge after Reopening/re-referencing #267 with a third repro, different silicon and OS from dinesh-chander's Oct 14 comment (gfx1100, Linux). Ours: **AMD RDNA4, Windows, ready-made HIP engine**; engine ended by the server watchdog with exactly the post-fix wording; the machine then degraded to a hard lock (unrecoverable until power cycle) — because on this PC `TdrLevel=0` (TDR disabled by registry), which matches the original #267 report's "no TDR logged". ## Environment | | | | --- | --- | | Strata | engine **0.1.44.1** (ready-made Windows HIP build, `engine\strata.exe`), served through `serve/server.py` | | Models | (A) orcarouter Uncensored **IQ3_XXS** native pack (gate/up IQ3_XXS, down IQ4_NL, `--compat-bf16`), (B) orcarouter Uncensored **IQ2_M** pack (gate/up **IQ2_S**, down **IQ4_NL**) | | GPUs | 2x AMD **RX 9070 XT + RX 9060 XT**, both gfx1201 (16 GB), driver 32.0.23033.1002 (2026-03-03) | | Split | `"gpu": [0, 1]`, `"layer_split": "auto"` — auto chose K=45 (9070 XT carries layers 0-44, the 9060 XT 45-47 + head); `--pipeline-windows` on by default (2 stages, RDNA4) | | CPU/RAM | Ryzen 9 5900X, 64 GB DDR4; page file fixed 64 GB | | OS | Windows 11 Pro 10.0.26300 (build 26300) | | AMD engine notes | WDDM: expert arena 38501 MiB locked via working-set minimum + VirtualLock, `cudaHostRegister` capped to 8 GiB (logged), large pages refused (error 1314) | ## Repro A — orca-iq3_xxs, 128K context on the split, stall under VRAM pressure (Oct 25 17:05) - Engine up; **first request completed but was slow**: 502-token prompt read at 9.9 tok/s, 153 tokens generated at 11.2 tok/s (drafts accepted 78/102), decode expert-cache hit rate 60.6%, experts read from the GGUF in place (85917.2 MB read; `--mmap-experts` declined the native pack, as documented). - Second request: `WARNING: only 711 MiB of VRAM free at the start of this request (below 1024 MiB): when the card is this full the driver can page GPU memory…` → then `strata serve: verify: the window never finished; its GPU waits were released but the GPU did not finish within 5 s (#267)`. Engine ended by the server. - Aftermath (machine config): the wedge was **not** recoverable — display stack wedged, app hangs for ~1 h, manual power reset. Windows never attempted a TDR: this PC's registry has `TdrLevel=0` (TdrDelay/TdrDdiDelay 60) under HKLM\SYSTEM\CurrentControlSet\Control\GraphicsDrivers. Same observable as the original #267 ("no TDR logged, GPU unrecoverable until power cycle"). - Note: 13:48 the same 128k config ran clean earlier (734 lines, no stop lines); the stall fired on the run whose frees dropped under the 1 GiB reserve. ## Repro B — orca-iq2_m, 32K context on the same split (Oct 25 18:42) - Engine up normally: split auto K=45, predicted 58.2 ms/window, caches hold 5251 of 24576 profiled pairs (~94.4% of routed mass); 1-token..6-token verify windows all captured (`upload no error, sync no error`). - **First request** (24-token prompt, max_tokens 64): `strata serve: verify: the window never finished; its GPU waits were released but the GPU did not finish within 5 s (#267)` — the host had read 0 tokens. Server watchdog ended the engine at 90 s ("said nothing for 90 s; no CPU or disk"). - Relaunch **on 1 GPU** (same model, cold) hung in engine init: one log line, nothing further (no PCIe probe lines), 2 min to a live-kernel WATCHDOG dump — the machine then degraded and was power-reset ~50 min later. - Expert formats involved are both in the supported set (IQ2_S / IQ4_NL; `is_iq` accepts types 20/22/18/23; MMQ table includes iq2_s, iq4_nl). ## What we tried / did not try (stated explicitly) - We did **not** yet run `STRATA_PF_STEP_SYNC=1`, `STRATA_KV_HOST_DMA=1`, `--pipeline-windows 0`, or a smaller `--prefill` — TROUBLESHOOTING's steps 2-5 are queued for a retest once the machine is back to a known-good driver state. - We did **not** test: single-card IQ2_M to a completed first request (it died in init on a wedged driver, so it never actually ran), iq3_xxs 128k again, or any of this on NVIDIA/Linux. - confounder disclosed: `TdrLevel=0` on this PC (being restored to 3/10 s), so "unrecoverable" here is partially self-inflicted; the engine-side stall and its post-fix wording are independent of that. ## Log excerpts available (happy to attach) - `strata-orca-iq3_xxs-128k-2gpu.log` — the 17:05 session: healthy startup, slow first request, `only 711 MiB of VRAM free` WARNING, then #267. - `strata-orca-iq2_m-2gpu.log` — the 18:42 session: startup + 6 captured verify windows, then `window never finished ( released … ) (#267)`. - `strata-orca-iq2_m.log` — 1-line init hang on 1 GPU. - Windows: two `LiveKernelReports\WATCHDOG` dumps today (module snapshot includes `dxgkrnl.sys` + `amdkmdag.sys`), Kernel-Power 41 + 6008 x2, no 4101/TDR event (TdrLevel=0), no commit-exhaustion event. - Ask: what should we capture on the next one — `strata-stall-*.dmp` if the Windows engine writes one on this path, a `/metrics` snapshot, or the `STRATA_PF_STEP_SYNC` log? ## Retest after a clean reboot + TDR restore (Oct 25 21:49-22:00) We rebuilt the machine to a known-good starting state (clean reboot, engine 0.1.44.1 unchanged, `TdrLevel=3` restored — previously 0) and ran both arms: | Arm | Result | | --- | --- | | **1 GPU** (orca-iq2_m, 32k) | **healthy**: loaded, prompt 24 tok read in 454 ms (52.8 tok/s), 13 tokens at 35.4 tok/s, drafts 6/11, no stall, engine stopped cleanly afterwards | | **2 GPUs** (`"gpu": [0,1]`, split auto K=45, same session conditions) | **repro'd deterministically**: all six verify windows captured on both cards (`upload no error, sync no error`), then the very first real request → `strata serve: verify: the window never finished; its GPU waits were released but the GPU did not finish within 5 s (#267)` | | 2 GPUs, `STRATA_PF_STEP_SYNC=1` | **no step over 250 ms is logged before the stall** — the wedged point is inside the captured verify graph's execution on the GPU (flags A/B/M raised per the class), not a slow prompt-path step | | 2 GPUs, in-session engine restart (server restarts it per the error text) | the new engine **never completes startup** (silent 90 s, no CPU/disk → watchdog ends it). Same init-hang signature as when the horse was wedged earlier in the day. | | 2 GPUs, after that second kill | machine stayed **responsive** (no TDR event, no WHEA event, RAM fully released); but the cards are unusable for HIP until the next reboot | Conclusions for the report: (1) the stall is specific to the **2-stage layer split** on this engine/build on gfx1201 (single-card of the same pack is fine); (2) it fires on the first verify regardless of context size (32k here, 128k under VRAM pressure in repro A); (3) after a #267 on this split the HIP device state survives only until reboot; (4) with TDR correctly configured the failure is at least contained (Engine dies, machine survives) — with our previous `TdrLevel=0` it escalated to an unrecoverable desktop freeze. Retest artifacts: `L:\Strata\retest\` (engine + server logs for both arms, timestamped copies). ## Resolution found the same day: fixed by engine 0.1.50 (repo v0.2.2+) We updated from engine 0.1.44.1 to the signed feed's 0.1.50 (repo state v0.2.6; `UPDATE.bat`, model files untouched) — which carries **86d10ed8**, "verify (HIP): the first launch of each window graph reads the PLE rows and raises the PLE flag before cudaGraphLaunch, so the launch cannot wait for a GPU that waits for the flag (**first-window hang on gfx1151**)". Same repro, new engine, same session conditions (fresh reboot, `TdrLevel=3`): | Arm | Result | | --- | --- | | 1 GPU (orca-iq2_m, 32k) | healthy (unchanged from earlier retest) | | **2 GPUs, split auto, first request** | **healthy now**: prompt 24 tok read 655 ms (36.6 tok/s), 13 tokens at 33.0 tok/s, drafts accepted 8/8 — and the state that always killed us, a second request on the still-running split, also healthy (second prompt read 55.5 tok/s, drafts 8/9). Pipeline windows stayed on (default for the 2-stage RDNA4 split). | | Machine state | responsive after STOP-STRATA; no TDR/WHEA events during either run | So the gfx1151 first-window PLE-flag case and our gfx1201 split case share the root cause: the first `cudaGraphLaunch` of a verify window could wait on a flag that only the launch itself would publish. Both engines' notes: earlier, on our 0.1.44.1 build, the very first prompt stalled at the captured window (`#267`) deterministically, and their in-session engine restarts then wedged the HIP device until reboot — gone on 0.1.50. Artifacts: `L:\Strata\retest\*engine0150-*` (both requests' logs) alongside the `0.1.44.1` repro logs in the same folder. Everything above is from logs produced on this machine today (engine 0.1.44.1 repros, engine 0.1.50 post-update run); the attribution of the root cause to `86d10ed8` is by release correspondence, not a bisect. Happy to capture `STRATA_PF_STEP_SYNC` output, a `/metrics` snapshot or `strata-stall-*.dmp` if useful for the reopen - just say what helps.
Author
Owner

@m1k3-1337 commented on GitHub (Nov 6, 2026):

gfx1151 (Strix Halo, 128 GB, Linux, rootless Podman) — the verify stall follows engine starts that begin with the previous instance’s VRAM still allocated

Commit 296b59d, IQ3_S, --batch-mtp, --mtp-q4 all, --prefill 16384, parallel 3, expert cache 10.16 GiB in VRAM, idle_unload_s 600.

Across 27 engine starts in strata-iq3_s.log, “capturing the 6-token window (N MiB of VRAM free)” reads 12.5–13.4 GB on normal starts. On 2026-11-06 a series of starts reported 6.7, 6.7, 4.0, 4.1, 4.1, 4.1 GB. The only verify: timed out at layer 10 … did not finish within 5 s (#267) in the whole log came right after the last 4.1 GB start. The next start was back at 13.4 GB and ran normally.

The sequence:

An engine aborted mid-request (exit -6).
The immediate restart hung at “almost ready … still starting” for 888 s (“did not start, try 1 of 3”).
Try 2 came up, and stalled 90 s later.

At the time, the only other GPU client was Ollama: GTT only, 0 VRAM, per DRM fdinfo. The kernel log showed no amdgpu errors or resets. The missing ~9 GB matches the expert cache, so it looks like the restarted engine began while the previous instance’s VRAM (its expert cache) was not yet released.

Suggestion: before (re)starting the engine, wait until the free VRAM is back near the level of a clean start, or until the previous instance’s GPU context is fully torn down. A log line with the free VRAM at that point would make this visible.

<!-- gh-comment-id:6696851325 --> @m1k3-1337 commented on GitHub (Nov 6, 2026): gfx1151 (Strix Halo, 128 GB, Linux, rootless Podman) — the verify stall follows engine starts that begin with the previous instance’s VRAM still allocated Commit 296b59d, IQ3_S, --batch-mtp, --mtp-q4 all, --prefill 16384, parallel 3, expert cache 10.16 GiB in VRAM, idle_unload_s 600. Across 27 engine starts in strata-iq3_s.log, “capturing the 6-token window (N MiB of VRAM free)” reads 12.5–13.4 GB on normal starts. On 2026-11-06 a series of starts reported 6.7, 6.7, 4.0, 4.1, 4.1, 4.1 GB. The only verify: timed out at layer 10 … did not finish within 5 s (#267) in the whole log came right after the last 4.1 GB start. The next start was back at 13.4 GB and ran normally. The sequence: An engine aborted mid-request (exit -6). The immediate restart hung at “almost ready … still starting” for 888 s (“did not start, try 1 of 3”). Try 2 came up, and stalled 90 s later. At the time, the only other GPU client was Ollama: GTT only, 0 VRAM, per DRM fdinfo. The kernel log showed no amdgpu errors or resets. The missing ~9 GB matches the expert cache, so it looks like the restarted engine began while the previous instance’s VRAM (its expert cache) was not yet released. Suggestion: before (re)starting the engine, wait until the free VRAM is back near the level of a clean start, or until the previous instance’s GPU context is fully torn down. A log line with the free VRAM at that point would make this visible.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Niko1221/Strata#136
No description provided.