[GH-ISSUE #3177] v0.1.45 HIP/gfx1100: verify timeout during ~54K-token request with MTP enabled (single RX 7900 XTX) #1279

Closed
opened 2026-11-04 01:49:59 +07:00 by bsakaguchi · 10 comments
Owner

Originally created by @peterhon168 on GitHub (Oct 19, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/3177

Summary

On a single Radeon RX 7900 XTX, Strata v0.1.45 (Linux HIP) serves a short MTP request successfully, but a long agent request of about 54,316 input tokens stalls shortly after decode starts. The request eventually returns HTTP 503 and the engine exits with code -15. The backend reports a native verification timeout at layer 18. This appears related to the long-context HIP verify watchdog reported in #2449, though this case uses v0.1.45 and only one GPU.

Environment

  • GPU: one AMD Radeon RX 7900 XTX (gfx1100)
  • Strata: v0.1.45, HIP backend
  • ROCm: 7.2.4
  • Kernel: 6.8.0-139-generic
  • Model: Qwen3.8-Flash-Next GSQ-RCO IQ3_S
  • Context limit: 262144; int8 KV cache
  • Expert resident cache: 36 GiB
  • MTP: enabled with --spec 2
  • Prefill: --prefill auto:32768
  • HSA_USERPTR_FOR_PAGED_MEM=0 was already set (the workaround discussed in #1705).

Observed behavior

  1. Start the server with the above configuration and MTP enabled.
  2. A short test request succeeds (HTTP 200; 14 draft tokens offered, 10 accepted).
  3. Send a long, multi-turn agent request with approximately 54,316 input tokens. Prefill completes, and about 444 output tokens are generated before progress stalls.
  4. After roughly 126.8 seconds, the request fails with HTTP 503. The engine reports:
Unrecoverable native verification failure: verify: timed out at layer 18; its GPU waits were released and the GPU finished (#267)

The engine is then observed to stop with exit code -15. The client sees the engine-stopped error on its next request.

Expected behavior

The request should finish or fail with a recoverable error without terminating the inference engine. A watchdog should not misclassify a completed GPU operation as an unrecoverable verify failure.

Control / limitations

With MTP disabled, short requests pass, and one earlier long Pi agent call completed. This was not a strict A/B reproduction with identical prompt and load, so I cannot yet conclude that MTP is the sole cause. The short MTP success shows that enabling MTP itself does not immediately fail. No private prompts, local paths, addresses, or unredacted logs are included here.

Could you advise whether this is the same verify-wait issue as #2449, and whether there is a fix or a specific diagnostic trace that would distinguish a HIP watchdog problem from an MTP/long-context interaction?

Originally created by @peterhon168 on GitHub (Oct 19, 2026). Original GitHub issue: https://github.com/Niko1221/Strata/issues/3177 ## Summary On a single Radeon RX 7900 XTX, Strata v0.1.45 (Linux HIP) serves a short MTP request successfully, but a long agent request of about 54,316 input tokens stalls shortly after decode starts. The request eventually returns HTTP 503 and the engine exits with code -15. The backend reports a native verification timeout at layer 18. This appears related to the long-context HIP verify watchdog reported in #2449, though this case uses v0.1.45 and only one GPU. ## Environment - GPU: one AMD Radeon RX 7900 XTX (gfx1100) - Strata: v0.1.45, HIP backend - ROCm: 7.2.4 - Kernel: 6.8.0-139-generic - Model: Qwen3.8-Flash-Next GSQ-RCO IQ3_S - Context limit: 262144; int8 KV cache - Expert resident cache: 36 GiB - MTP: enabled with `--spec 2` - Prefill: `--prefill auto:32768` - `HSA_USERPTR_FOR_PAGED_MEM=0` was already set (the workaround discussed in #1705). ## Observed behavior 1. Start the server with the above configuration and MTP enabled. 2. A short test request succeeds (HTTP 200; 14 draft tokens offered, 10 accepted). 3. Send a long, multi-turn agent request with approximately 54,316 input tokens. Prefill completes, and about 444 output tokens are generated before progress stalls. 4. After roughly 126.8 seconds, the request fails with HTTP 503. The engine reports: ```text Unrecoverable native verification failure: verify: timed out at layer 18; its GPU waits were released and the GPU finished (#267) ``` The engine is then observed to stop with exit code -15. The client sees the engine-stopped error on its next request. ## Expected behavior The request should finish or fail with a recoverable error without terminating the inference engine. A watchdog should not misclassify a completed GPU operation as an unrecoverable verify failure. ## Control / limitations With MTP disabled, short requests pass, and one earlier long Pi agent call completed. This was not a strict A/B reproduction with identical prompt and load, so I cannot yet conclude that MTP is the sole cause. The short MTP success shows that enabling MTP itself does not immediately fail. No private prompts, local paths, addresses, or unredacted logs are included here. Could you advise whether this is the same verify-wait issue as #2449, and whether there is a fix or a specific diagnostic trace that would distinguish a HIP watchdog problem from an MTP/long-context interaction?
Author
Owner

@faf-net commented on GitHub (Oct 19, 2026):

A data point from a second single RX 7900 XTX (gfx1100), Linux HIP: I tried to reproduce this with your settings and could not. 6 of 6 long agent requests finished, no verify timeout, no engine exit.

Setup

  • RX 7900 XTX 24 GB in an OCuLink eGPU dock (PCIe 4.0 x4), Core Ultra 7 255H, 64 GB, kernel 6.18.15 (UGOS Pro, Debian 12 base)
  • ROCm 7.10.0a20251120 (TheRock wheels), Ubuntu 24.04 container, hipBLASLt tuning gfx1100-hipblaslt-100200 enabled
  • Qwen3.8-Flash-Next GSQ-RCO IQ3_S, native pack, MTP head rt
  • --spec 2 --spec-min-p 0.5 --prefill auto:32768 --max-context 262144 --kv int8 --expert-cache auto --pool-workers 9 (no --expert-resident; expert cache auto → 7,420 slots, 14.07 GiB; "598 MiB of VRAM free with everything loaded"; verify window up to 4 tokens)
  • HSA_USERPTR_FOR_PAGED_MEM not set

Request: one multi-turn agent conversation, 5 tools offered, 18 read_file calls whose results are Strata's own serve/server.py, then "write the review now". 55,019 prompt tokens, max_tokens 2500, temperature 0.6, tool_choice: "none" (without it the model answered with another tool call after ~200 tokens, so decode never got far). Each request starts with a unique session tag, so no prefix reuse.

Build Run HTTP Prompt tok/s Decode tok/s Tokens out MTP accepted Wall s
v0.1.45 (source build at the tag) 1 200 1,351 55.3 2,500 (length) 1,043 / 1,326 107.1
v0.1.45 2 200 1,402 54.8 2,500 1,045 / 1,338 84.6
v0.1.45 3 200 1,398 54.2 2,500 1,079 / 1,327 85.2
v0.1.45, MTP head removed 1 200 1,348 44.7 2,500 261 / 590 118.5
296b59d (0.1.44.1) 1 200 1,346 53.6 2,500 1,013 / 1,309 108.6
296b59d (0.1.44.1) 2 200 1,405 55.2 2,500 1,015 / 1,259 84.5

timed out at layer / Unrecoverable native verification in the engine logs: 0. Our day-to-day logs since 2026-10-15 (IQ3_XXS, --spec 4, MTP, prompts up to 248K, about 430 KB of log) contain none either.

So on this box neither MTP nor the long agent prompt alone triggers it on 0.1.45. The differences to your setup that are left: ROCm 7.2.4 vs TheRock 7.10, kernel 6.8 vs 6.18, your expert resident cache of 36 GiB, the PCIe link (x4 here), and the content and length of the real agent session (your stall came after ~444 tokens; here every run decoded 2,500). If it helps, I can rerun with a specific diagnostic build or env var.

Scripts and per-run JSON: https://github.com/faf-net/ugreen-idx6011-egpu-llm (folder messen/, r3177.py).

<!-- gh-comment-id:6277023375 --> @faf-net commented on GitHub (Oct 19, 2026): A data point from a second single RX 7900 XTX (gfx1100), Linux HIP: I tried to reproduce this with your settings and **could not**. 6 of 6 long agent requests finished, no verify timeout, no engine exit. **Setup** - RX 7900 XTX 24 GB in an OCuLink eGPU dock (PCIe 4.0 x4), Core Ultra 7 255H, 64 GB, kernel 6.18.15 (UGOS Pro, Debian 12 base) - ROCm 7.10.0a20251120 (TheRock wheels), Ubuntu 24.04 container, hipBLASLt tuning `gfx1100-hipblaslt-100200` enabled - Qwen3.8-Flash-Next GSQ-RCO **IQ3_S**, native pack, MTP head `rt` - `--spec 2 --spec-min-p 0.5 --prefill auto:32768 --max-context 262144 --kv int8 --expert-cache auto --pool-workers 9` (no `--expert-resident`; expert cache auto → 7,420 slots, 14.07 GiB; "598 MiB of VRAM free with everything loaded"; verify window up to 4 tokens) - `HSA_USERPTR_FOR_PAGED_MEM` not set **Request:** one multi-turn agent conversation, 5 tools offered, 18 `read_file` calls whose results are Strata's own `serve/server.py`, then "write the review now". **55,019 prompt tokens**, `max_tokens 2500`, temperature 0.6, `tool_choice: "none"` (without it the model answered with another tool call after ~200 tokens, so decode never got far). Each request starts with a unique session tag, so no prefix reuse. | Build | Run | HTTP | Prompt tok/s | Decode tok/s | Tokens out | MTP accepted | Wall s | |---|---|---|---:|---:|---:|---:|---:| | `v0.1.45` (source build at the tag) | 1 | 200 | 1,351 | 55.3 | 2,500 (length) | 1,043 / 1,326 | 107.1 | | `v0.1.45` | 2 | 200 | 1,402 | 54.8 | 2,500 | 1,045 / 1,338 | 84.6 | | `v0.1.45` | 3 | 200 | 1,398 | 54.2 | 2,500 | 1,079 / 1,327 | 85.2 | | `v0.1.45`, MTP head removed | 1 | 200 | 1,348 | 44.7 | 2,500 | 261 / 590 | 118.5 | | `296b59d` (0.1.44.1) | 1 | 200 | 1,346 | 53.6 | 2,500 | 1,013 / 1,309 | 108.6 | | `296b59d` (0.1.44.1) | 2 | 200 | 1,405 | 55.2 | 2,500 | 1,015 / 1,259 | 84.5 | `timed out at layer` / `Unrecoverable native verification` in the engine logs: 0. Our day-to-day logs since 2026-10-15 (IQ3_XXS, `--spec 4`, MTP, prompts up to 248K, about 430 KB of log) contain none either. So on this box neither MTP nor the long agent prompt alone triggers it on 0.1.45. The differences to your setup that are left: **ROCm 7.2.4 vs TheRock 7.10**, kernel 6.8 vs 6.18, your expert resident cache of 36 GiB, the PCIe link (x4 here), and the content and length of the real agent session (your stall came after ~444 tokens; here every run decoded 2,500). If it helps, I can rerun with a specific diagnostic build or env var. Scripts and per-run JSON: https://github.com/faf-net/ugreen-idx6011-egpu-llm (folder `messen/`, `r3177.py`).
Author
Owner

@Raboo commented on GitHub (Oct 21, 2026):

I'm not sure, but I might have hit the same problem, but earlier, already in the thinking phase of "Write a flappy bird game in a single html", 50 seconds in..
Running Strata v0.2.1 in a docker container (ghcr.io/niko1221/strata:latest-rocm-gfx110x).
Also I can tell you that this AMD RX 7900 XT was running much slower than my 8 year old Nvidia RTX 2080 Ti, which is weird since VRAM is almost double and VRAM bandwidth almost triple.

Let me know if my issue is not related and I'll create a new issue.

/data/state/strata/runtime/launch-docker.server.log:


[strata] starting the engine: reading the model's weights ...
[strata] loading the experts into RAM (about 45 GB) and locking part of them for the GPU.
         YOUR PC CAN BE SLOW OR STOP RESPONDING FOR 1-3 MINUTES NOW - this is normal.
         Please wait and don't close this window; the server says when it is ready.
[strata] still starting (35 s) - please wait ...
[strata] experts loaded: 46.84 GiB at 1.83 GiB/s (51 s so far)
[strata] filling the GPU's expert cache (5990 experts, 11.38 GiB of VRAM) ...
[strata] still starting (71 s) - please wait ...
[strata] still starting (91 s) - please wait ...
[strata] still starting (111 s) - please wait ...
[strata] still starting (131 s) - please wait ...
[strata] still starting (151 s) - please wait ...
[strata] still starting (171 s) - please wait ...
[strata] still starting (191 s) - please wait ...
[strata] still starting (211 s) - please wait ...
[strata] still starting (231 s) - please wait ...
[strata] still starting (251 s) - please wait ...
[strata] still starting (271 s) - please wait ...
[strata] hipBLASLt tuning table: gfx1100-hipblaslt-100200.txt is in this package and not used by default (faster prompts, but answers can differ in the last digits); STRATA_HIPBLASLT_TABLE=on uses it
loading the vision encoder ...
loading the model (the first start takes a minute or two) ...
[strata] starting the engine: reading the model's weights ...
[strata] loading the experts into RAM (about 45 GB) and locking part of them for the GPU.
         YOUR PC CAN BE SLOW OR STOP RESPONDING FOR 1-3 MINUTES NOW - this is normal.
         Please wait and don't close this window; the server says when it is ready.
[strata] experts loaded: 46.84 GiB at 8.56 GiB/s (22 s so far)
[strata] still starting (42 s) - please wait ...
[strata] still starting (62 s) - please wait ...
[strata] filling the GPU's expert cache (5990 experts, 11.38 GiB of VRAM) ...
[strata] still starting (83 s) - please wait ...
[strata] almost ready ...
ready: http://127.0.0.1:8080/v1  (OpenAI: /v1/chat/completions, Anthropic: /v1/messages, context 262144 tokens, images on, API key required)
       open http://127.0.0.1:8080/ in a browser to chat; close this window to stop the model
       from other devices: http://172.16.18.2:8080/   (API: http://172.16.18.2:8080/v1)
[strata] thinking: 1 of max 1 tokens, 262144.0 tok/s, 1 s
[strata] done: 1 tokens in 1 s (526.1 tok/s) (length, cancel=False), expert cache 58.8% hit (+13.5% of the routed experts over PCIe)
[strata] the reply reached max tokens while still thinking, so it has no answer: a thinking budget (reasoning_budget_tokens, in the request or in strata-<model>.json for every request) leaves room to answer
[strata] reading the prompt: 57 of 62 tokens, 1 s so far
[strata] thinking: 30 of budget 196556 (max 262074) tokens, 34.0 tok/s, 2 s
[strata] thinking: 61 of budget 196556 (max 262074) tokens, 32.1 tok/s, 3 s
[strata] thinking: 96 of budget 196556 (max 262074) tokens, 33.0 tok/s, 4 s
[strata] thinking: 131 of budget 196556 (max 262074) tokens, 33.2 tok/s, 5 s
[strata] thinking: 171 of budget 196556 (max 262074) tokens, 34.3 tok/s, 6 s
[strata] thinking: 219 of budget 196556 (max 262074) tokens, 36.6 tok/s, 7 s
[strata] thinking: 263 of budget 196556 (max 262074) tokens, 37.6 tok/s, 8 s
[strata] thinking: 300 of budget 196556 (max 262074) tokens, 37.3 tok/s, 9 s
[strata] thinking: 339 of budget 196556 (max 262074) tokens, 37.5 tok/s, 10 s
[strata] thinking: 380 of budget 196556 (max 262074) tokens, 37.7 tok/s, 11 s
[strata] thinking: 436 of budget 196556 (max 262074) tokens, 39.3 tok/s, 12 s
[strata] thinking: 488 of budget 196556 (max 262074) tokens, 40.3 tok/s, 13 s
[strata] thinking: 527 of budget 196556 (max 262074) tokens, 40.2 tok/s, 14 s
[strata] thinking: 571 of budget 196556 (max 262074) tokens, 40.4 tok/s, 15 s
[strata] thinking: 621 of budget 196556 (max 262074) tokens, 40.8 tok/s, 16 s
[strata] thinking: 657 of budget 196556 (max 262074) tokens, 40.5 tok/s, 18 s
[strata] thinking: 699 of budget 196556 (max 262074) tokens, 40.5 tok/s, 19 s
[strata] thinking: 743 of budget 196556 (max 262074) tokens, 40.7 tok/s, 20 s
[strata] thinking: 787 of budget 196556 (max 262074) tokens, 40.8 tok/s, 21 s
[strata] thinking: 843 of budget 196556 (max 262074) tokens, 41.5 tok/s, 22 s
[strata] thinking: 881 of budget 196556 (max 262074) tokens, 41.3 tok/s, 23 s
[strata] thinking: 929 of budget 196556 (max 262074) tokens, 41.5 tok/s, 24 s
[strata] thinking: 976 of budget 196556 (max 262074) tokens, 41.7 tok/s, 25 s
[strata] thinking: 1017 of budget 196556 (max 262074) tokens, 41.7 tok/s, 26 s
[strata] thinking: 1043 of budget 196556 (max 262074) tokens, 40.8 tok/s, 27 s
[strata] thinking: 1067 of budget 196556 (max 262074) tokens, 29.5 tok/s, 37 s
[strata] thinking: 1067 of budget 196556 (max 262074) tokens, 23.1 tok/s, 47 s
[strata] the engine stopped unexpectedly (exit code -15). Unrecoverable native verification failure: verify: timed out at layer 21; its GPU waits were released and the GPU finished (#267) The next request starts the engine again. Its log: /data/state/strata/launch/docker.engine.log
[strata] done: 1067 tokens in 51 s (21.4 tok/s) (error, cancel=False)

/data/state/strata/launch/docker.engine.log:

load_hparams: Qwen-VL models require at minimum 1024 image tokens to function correctly on grounding tasks
load_hparams: if you encounter problems with accuracy, try adding --image-min-tokens 1024
load_hparams: more info: https://github.com/ggml-org/llama.cpp/issues/16842

strata-vision: model files loaded in 1.2 s
strata-vision: on the CPU, 7 threads, no warm-up
[strata] 2026-10-21 07:37:58 engine started: /opt/strata/components/engine/0.1.46-linux-x86_64-hip-rx7900/strata --serve --pack /data/Strata-data/packs/swift-iq3_s --native /data/Strata-data/models/swift-IQ3_S/Swift-Qwen3.8-Flash-Next-GSQ-RCO-IQ3_S-00001-of-00002.gguf --ple-gguf /data/Strata-data/models/swift-IQ3_S/Swift-Qwen3.8-Flash-Next-GSQ-RCO-IQ3_S-00001-of-00002.gguf --expert-profile /opt/strata/terminal/data/expert-profile.bin --expert-cache auto --prefill auto --spec 4 --spec-min-p 0.5 --mtp /data/Strata-data/mtp/rt --max-context 262144 --kv k8v4 --ple-io ram --kv-resident 32768 --vision --batch 2
strata generate: memory guard: limit 187.6 GiB (source: meminfo), current 67.2 GiB, reclaimable cache credited 0.0 GiB; available 120.4 GiB (MemAvailable 120.4 GiB), floor 2560 MiB
strata generate: PCIe probe: 13.6 GB/s host->device (best of 13.5 13.6 13.6 13.6) -> pcie_frac 0.37 (default 0.55)
strata generate: this CPU has no AVX-512: the expert kernels run on AVX-2 (multi-token for the i-quant gate/up rows)
strata generate: native pack: /data/Strata-data/packs/swift-iq3_s experts (largest blob 2.66 MB), token embedding IQ4_XS in mapped host memory (322 MiB, 0.2 s)
strata generate: 1466 MiB of weights loaded from /data/Strata-data/packs/swift-iq3_s in 0.6 s (302 canonical tensors skipped: served natively)
strata generate: 300 native projection matrices, 2018.88 MiB of weights, in 0.8 s
strata generate: PLE table locked in RAM (--ple-io ram) in 1.8 s
strata generate: profile /opt/strata/terminal/data/expert-profile.bin: 24576 ranked pairs, built for 24576 slots
strata generate: KV streaming: 32768 of 262144 cells per QSA layer in VRAM, the K/V in 2.39 GiB of pinned RAM
strata generate: PLE on, table 320001536 rows of /data/Strata-data/models/swift-IQ3_S/Swift-Qwen3.8-Flash-Next-GSQ-RCO-IQ3_S-00001-of-00002.gguf
strata generate: --batch: 2 slot sessions on CUDA0 (0.86 GiB each); 13.59 GiB free
strata generate: --batch 2: the slot sessions take 1.72 GiB of VRAM on CUDA0 that the expert cache would otherwise hold
strata mtp: draft layer loaded, 835 MiB of VRAM (experts 675, dense 111), files read in 0.46 s (1721 MiB/s)
strata generate: experimental native Q5_K head, 521472000 bytes, in 0.2 s
strata generate: GPU 0: AMD Radeon RX 7900 XT (gfx1100)
strata prefill: warmed the BF16 and FP16 GEMM libraries on GPU 0 in 6590 ms (STRATA_PREFILL_WARM=0 skips)
strata generate: expert arena read through the file cache (buffered (not Windows))
strata generate: expert arena: cudaHostRegister PORTABLE ok; MAP_HUGETLB unavailable (needed 23983 2 MiB pages, vm.nr_hugepages=0); transparent huge pages are on for every mapping (THP always): MADV_HUGEPAGE not requested
strata generate: loaded 46.84 GiB at 8.56 GiB/s
strata generate: GPU host-callback thread started before host-core pinning
strata generate: CPU pool tasks/phase: 42 (automatic), participating threads: 14
strata generate: CPU pool: 13 workers by default (14 physical cores, 14 logical processors; bounded by every physical core but the host's)
strata generate: 13 pool workers on logical processors 1,2,3,4,5,6,7,8,9,10,11,12,13, the host thread on 0 (draining too) (--host-core first)
strata aux cpus: threads that are neither pool workers nor the host go to CPUs none spare (every CPU is the host's, a worker's or shares a core with a worker or has no known core) (off at start; a request's aux_cpus=1 turns it on)
strata generate: expert cache auto: 12.28 GiB free, 700 MiB reserved (+218 MiB for the draft head) -> 4588 slots
strata generate: expert cache 5990 slots, 11.38 GiB of VRAM; policy is
strata generate: the GPU computes the experts in the cache; it rounds differently from the CPU,
                 so a reply can differ slightly from a run without the cache (same quality:
                 bench/results/2026-09-27-cache-parity).
                 PROFILE, ranked by routing frequency, no eviction.
strata generate: pre-filled 5990 of 5990 slots from the profile in 39.2 s (312 MB/s); slot 0 verified
strata generate: R4 hit path ON - resident experts are computed on the GPU
strata generate: 13 expert-pool workers + the host thread
strata generate: session is up (engine 0.1.46)
strata generate: token graph hit path: 5990 resident experts, decided on the device
strata serve: prompt chunk auto: 8192 tokens, a 384-slot ring
strata serve: the prompt path borrows 2300 CUDA0 cache slots (4.32 GiB)
strata hc: CUDA0: the hyper-connection read runs as staged (the norm per token and stream, the down projection's activations staged ahead by cp.async); checked bit for bit against the plain read on this card (STRATA_HC_SPLIT=1 or 0 for the earlier ones)
strata verify: window up to 6 tokens, 75.9 MiB of device buffers
strata mtp: draft head over 106299 tokens (212.9 MiB)
strata verify: batch windows of up to 2 sequences (layers [0, 48))
strata serve: adaptive overlap: off (STRATA_ADAPT_OVERLAP=1 turns it on)
strata serve: 616 MiB of VRAM free with everything loaded
strata verify: capturing the 6-token window (616 MiB of VRAM free)
strata verify: captured the 6-token window (upload no error, sync no error)
strata verify: capturing the 4-token window (562 MiB of VRAM free)
strata verify: captured the 4-token window (upload no error, sync no error)
strata verify: capturing the 1-token window (558 MiB of VRAM free)
strata verify: captured the 1-token window (upload no error, sync no error)
strata serve: prompt 53 tokens = 0 reused + 53 read in 982 ms (54.0 tok/s), 1 generated in 53 ms (18.7 tok/s), drafts accepted 0 of 0, 1 checkpoints
strata serve: decode expert cache hit rate: 58.8% (244 hits / 415 lookups); 65 more read by the GPU over PCIe or from another GPU (13.5% of all 480 routed)
strata serve: KV streaming: 96.30% of 4536 block reads hit VRAM, 0.7 MiB read from RAM
strata verify: capturing the 3-token window (556 MiB of VRAM free)
strata verify: captured the 3-token window (upload no error, sync no error)
strata verify: capturing the 2-token window (538 MiB of VRAM free)
strata verify: captured the 2-token window (upload no error, sync no error)

container logs:

Starting Strata: IQ3_S (preset 'docker').
    Checking the engine for this computer…
    Engine 0.1.46 (hip) is installed.
    Getting swift IQ3_S ready (a download may be large; it continues where it stopped if interrupted)…
    Setup step 1/7: checking your PC
    Setup step 2/7: your choices
    Setup step 3/7: Python packages
    Setup step 4/7: the Strata engine
    Setup step 5/7: downloading Swift 1.5 IQ3_S
    Downloading 4.3 of 44.9 GB
    Downloading 8.9 of 44.9 GB
    Downloading 13.3 of 44.9 GB
    Downloading 17.9 of 44.9 GB
    Downloading 22.3 of 44.9 GB
    Downloading 27.0 of 44.9 GB
    Downloading 31.3 of 44.9 GB
    Downloading 35.7 of 44.9 GB
    Downloading 40.4 of 44.9 GB
    Downloading 44.7 of 44.9 GB
    Downloading 44.8 of 44.9 GB
    Downloading 44.9 of 44.9 GB
    Downloading 38.7 of 38.8 GB
    Downloading 38.8 of 38.8 GB
    Downloading 0.9 of 0.9 GB
    Setup step 6/7: preparing the model for Strata
    Setup step 7/7: writing the start script
    swift IQ3_S is ready.
    Writing this launch's settings…
    Settings are saved.
    Starting the engine and loading the model. The first start can take a few minutes.
    Loading the model… 15 s
    Loading the model… 30 s
    Loading the model… 45 s
    Loading the model… 60 s
    Loading the model… 75 s
    Loading the model… 90 s
    Loading the model… 105 s
    Loading the model… 120 s
    Loading the model… 135 s
    Loading the model… 150 s
    Loading the model… 165 s
    Loading the model… 180 s
    Loading the model… 195 s
    Loading the model… 210 s
    Loading the model… 225 s
    Loading the model… 240 s
    Loading the model… 255 s
    Loading the model… 270 s
    Loading the model… 285 s
    Loading the model… 300 s
    Loading the model… 315 s
    Loading the model… 330 s
    Loading the model… 345 s
    Loading the model… 360 s
    Loading the model… 375 s
    Loading the model… 390 s
    Loading the model… 405 s
    Loading the model… 420 s
    Loading the model… 435 s
    Loading the model… 450 s
    Loading the model… 465 s
    Loading the model… 480 s
    Loading the model… 495 s
    Loading the model… 510 s
    Loading the model… 525 s
    Loading the model… 540 s
    Loading the model… 555 s
    Loading the model… 570 s
    Loading the model… 585 s
    Loading the model… 600 s
strata: The server did not become ready (starting: startup_wait_expired). The engine's log has the reason: /data/state/strata/launch/docker.engine.log
[X] strata launch stopped with code 6 (the lines above say why). The container ends; a restart continues where it stopped (downloads resume). 6
Starting Strata: IQ3_S (preset 'docker').
    Checking the engine for this computer…
    Engine 0.1.46 (hip) is installed.
    swift IQ3_S is already installed with these choices.
    Writing this launch's settings…
    Settings are saved.
    Starting the engine and loading the model. The first start can take a few minutes.
    Loading the model… 15 s
    Loading the model… 30 s
    Loading the model… 45 s
    Loading the model… 60 s
    Loading the model… 75 s
    Loading the model… 90 s
    Loading the model… 105 s
    Loading the model… 120 s
    The model is loaded and answering.
    Ready: http://127.0.0.1:8080, http://172.16.18.2:8080
    Strata is serving.

Strata is serving.
  This computer  http://127.0.0.1:8080/v1
  Network        http://172.16.18.2:8080/v1
  Anthropic apps http://127.0.0.1:8080   (Claude Code: ANTHROPIC_BASE_URL, no /v1 at the end)
  API key        ••••••••••••   (show it: strata launch --show-key --preset "docker")
  Watch it:    STRATA_API_KEY=$(strata launch --show-key) strata monitor --url http://127.0.0.1:8080 --credential-env STRATA_API_KEY
  Connect an app:  strata connect opencode      Stop:  strata launch --stop --preset "docker"
Serving on port 8080. Watch it: docker exec -it <container> strata monitor    Stop: docker stop <container>
<!-- gh-comment-id:6311235566 --> @Raboo commented on GitHub (Oct 21, 2026): I'm not sure, but I might have hit the same problem, but earlier, already in the thinking phase of "Write a flappy bird game in a single html", 50 seconds in.. Running Strata v0.2.1 in a docker container (ghcr.io/niko1221/strata:latest-rocm-gfx110x). Also I can tell you that this AMD RX 7900 XT was running much slower than my 8 year old Nvidia RTX 2080 Ti, which is weird since VRAM is almost double and VRAM bandwidth almost triple. Let me know if my issue is not related and I'll create a new issue. /data/state/strata/runtime/launch-docker.server.log: ``` [strata] starting the engine: reading the model's weights ... [strata] loading the experts into RAM (about 45 GB) and locking part of them for the GPU. YOUR PC CAN BE SLOW OR STOP RESPONDING FOR 1-3 MINUTES NOW - this is normal. Please wait and don't close this window; the server says when it is ready. [strata] still starting (35 s) - please wait ... [strata] experts loaded: 46.84 GiB at 1.83 GiB/s (51 s so far) [strata] filling the GPU's expert cache (5990 experts, 11.38 GiB of VRAM) ... [strata] still starting (71 s) - please wait ... [strata] still starting (91 s) - please wait ... [strata] still starting (111 s) - please wait ... [strata] still starting (131 s) - please wait ... [strata] still starting (151 s) - please wait ... [strata] still starting (171 s) - please wait ... [strata] still starting (191 s) - please wait ... [strata] still starting (211 s) - please wait ... [strata] still starting (231 s) - please wait ... [strata] still starting (251 s) - please wait ... [strata] still starting (271 s) - please wait ... [strata] hipBLASLt tuning table: gfx1100-hipblaslt-100200.txt is in this package and not used by default (faster prompts, but answers can differ in the last digits); STRATA_HIPBLASLT_TABLE=on uses it loading the vision encoder ... loading the model (the first start takes a minute or two) ... [strata] starting the engine: reading the model's weights ... [strata] loading the experts into RAM (about 45 GB) and locking part of them for the GPU. YOUR PC CAN BE SLOW OR STOP RESPONDING FOR 1-3 MINUTES NOW - this is normal. Please wait and don't close this window; the server says when it is ready. [strata] experts loaded: 46.84 GiB at 8.56 GiB/s (22 s so far) [strata] still starting (42 s) - please wait ... [strata] still starting (62 s) - please wait ... [strata] filling the GPU's expert cache (5990 experts, 11.38 GiB of VRAM) ... [strata] still starting (83 s) - please wait ... [strata] almost ready ... ready: http://127.0.0.1:8080/v1 (OpenAI: /v1/chat/completions, Anthropic: /v1/messages, context 262144 tokens, images on, API key required) open http://127.0.0.1:8080/ in a browser to chat; close this window to stop the model from other devices: http://172.16.18.2:8080/ (API: http://172.16.18.2:8080/v1) [strata] thinking: 1 of max 1 tokens, 262144.0 tok/s, 1 s [strata] done: 1 tokens in 1 s (526.1 tok/s) (length, cancel=False), expert cache 58.8% hit (+13.5% of the routed experts over PCIe) [strata] the reply reached max tokens while still thinking, so it has no answer: a thinking budget (reasoning_budget_tokens, in the request or in strata-<model>.json for every request) leaves room to answer [strata] reading the prompt: 57 of 62 tokens, 1 s so far [strata] thinking: 30 of budget 196556 (max 262074) tokens, 34.0 tok/s, 2 s [strata] thinking: 61 of budget 196556 (max 262074) tokens, 32.1 tok/s, 3 s [strata] thinking: 96 of budget 196556 (max 262074) tokens, 33.0 tok/s, 4 s [strata] thinking: 131 of budget 196556 (max 262074) tokens, 33.2 tok/s, 5 s [strata] thinking: 171 of budget 196556 (max 262074) tokens, 34.3 tok/s, 6 s [strata] thinking: 219 of budget 196556 (max 262074) tokens, 36.6 tok/s, 7 s [strata] thinking: 263 of budget 196556 (max 262074) tokens, 37.6 tok/s, 8 s [strata] thinking: 300 of budget 196556 (max 262074) tokens, 37.3 tok/s, 9 s [strata] thinking: 339 of budget 196556 (max 262074) tokens, 37.5 tok/s, 10 s [strata] thinking: 380 of budget 196556 (max 262074) tokens, 37.7 tok/s, 11 s [strata] thinking: 436 of budget 196556 (max 262074) tokens, 39.3 tok/s, 12 s [strata] thinking: 488 of budget 196556 (max 262074) tokens, 40.3 tok/s, 13 s [strata] thinking: 527 of budget 196556 (max 262074) tokens, 40.2 tok/s, 14 s [strata] thinking: 571 of budget 196556 (max 262074) tokens, 40.4 tok/s, 15 s [strata] thinking: 621 of budget 196556 (max 262074) tokens, 40.8 tok/s, 16 s [strata] thinking: 657 of budget 196556 (max 262074) tokens, 40.5 tok/s, 18 s [strata] thinking: 699 of budget 196556 (max 262074) tokens, 40.5 tok/s, 19 s [strata] thinking: 743 of budget 196556 (max 262074) tokens, 40.7 tok/s, 20 s [strata] thinking: 787 of budget 196556 (max 262074) tokens, 40.8 tok/s, 21 s [strata] thinking: 843 of budget 196556 (max 262074) tokens, 41.5 tok/s, 22 s [strata] thinking: 881 of budget 196556 (max 262074) tokens, 41.3 tok/s, 23 s [strata] thinking: 929 of budget 196556 (max 262074) tokens, 41.5 tok/s, 24 s [strata] thinking: 976 of budget 196556 (max 262074) tokens, 41.7 tok/s, 25 s [strata] thinking: 1017 of budget 196556 (max 262074) tokens, 41.7 tok/s, 26 s [strata] thinking: 1043 of budget 196556 (max 262074) tokens, 40.8 tok/s, 27 s [strata] thinking: 1067 of budget 196556 (max 262074) tokens, 29.5 tok/s, 37 s [strata] thinking: 1067 of budget 196556 (max 262074) tokens, 23.1 tok/s, 47 s [strata] the engine stopped unexpectedly (exit code -15). Unrecoverable native verification failure: verify: timed out at layer 21; its GPU waits were released and the GPU finished (#267) The next request starts the engine again. Its log: /data/state/strata/launch/docker.engine.log [strata] done: 1067 tokens in 51 s (21.4 tok/s) (error, cancel=False) ``` /data/state/strata/launch/docker.engine.log: ``` load_hparams: Qwen-VL models require at minimum 1024 image tokens to function correctly on grounding tasks load_hparams: if you encounter problems with accuracy, try adding --image-min-tokens 1024 load_hparams: more info: https://github.com/ggml-org/llama.cpp/issues/16842 strata-vision: model files loaded in 1.2 s strata-vision: on the CPU, 7 threads, no warm-up [strata] 2026-10-21 07:37:58 engine started: /opt/strata/components/engine/0.1.46-linux-x86_64-hip-rx7900/strata --serve --pack /data/Strata-data/packs/swift-iq3_s --native /data/Strata-data/models/swift-IQ3_S/Swift-Qwen3.8-Flash-Next-GSQ-RCO-IQ3_S-00001-of-00002.gguf --ple-gguf /data/Strata-data/models/swift-IQ3_S/Swift-Qwen3.8-Flash-Next-GSQ-RCO-IQ3_S-00001-of-00002.gguf --expert-profile /opt/strata/terminal/data/expert-profile.bin --expert-cache auto --prefill auto --spec 4 --spec-min-p 0.5 --mtp /data/Strata-data/mtp/rt --max-context 262144 --kv k8v4 --ple-io ram --kv-resident 32768 --vision --batch 2 strata generate: memory guard: limit 187.6 GiB (source: meminfo), current 67.2 GiB, reclaimable cache credited 0.0 GiB; available 120.4 GiB (MemAvailable 120.4 GiB), floor 2560 MiB strata generate: PCIe probe: 13.6 GB/s host->device (best of 13.5 13.6 13.6 13.6) -> pcie_frac 0.37 (default 0.55) strata generate: this CPU has no AVX-512: the expert kernels run on AVX-2 (multi-token for the i-quant gate/up rows) strata generate: native pack: /data/Strata-data/packs/swift-iq3_s experts (largest blob 2.66 MB), token embedding IQ4_XS in mapped host memory (322 MiB, 0.2 s) strata generate: 1466 MiB of weights loaded from /data/Strata-data/packs/swift-iq3_s in 0.6 s (302 canonical tensors skipped: served natively) strata generate: 300 native projection matrices, 2018.88 MiB of weights, in 0.8 s strata generate: PLE table locked in RAM (--ple-io ram) in 1.8 s strata generate: profile /opt/strata/terminal/data/expert-profile.bin: 24576 ranked pairs, built for 24576 slots strata generate: KV streaming: 32768 of 262144 cells per QSA layer in VRAM, the K/V in 2.39 GiB of pinned RAM strata generate: PLE on, table 320001536 rows of /data/Strata-data/models/swift-IQ3_S/Swift-Qwen3.8-Flash-Next-GSQ-RCO-IQ3_S-00001-of-00002.gguf strata generate: --batch: 2 slot sessions on CUDA0 (0.86 GiB each); 13.59 GiB free strata generate: --batch 2: the slot sessions take 1.72 GiB of VRAM on CUDA0 that the expert cache would otherwise hold strata mtp: draft layer loaded, 835 MiB of VRAM (experts 675, dense 111), files read in 0.46 s (1721 MiB/s) strata generate: experimental native Q5_K head, 521472000 bytes, in 0.2 s strata generate: GPU 0: AMD Radeon RX 7900 XT (gfx1100) strata prefill: warmed the BF16 and FP16 GEMM libraries on GPU 0 in 6590 ms (STRATA_PREFILL_WARM=0 skips) strata generate: expert arena read through the file cache (buffered (not Windows)) strata generate: expert arena: cudaHostRegister PORTABLE ok; MAP_HUGETLB unavailable (needed 23983 2 MiB pages, vm.nr_hugepages=0); transparent huge pages are on for every mapping (THP always): MADV_HUGEPAGE not requested strata generate: loaded 46.84 GiB at 8.56 GiB/s strata generate: GPU host-callback thread started before host-core pinning strata generate: CPU pool tasks/phase: 42 (automatic), participating threads: 14 strata generate: CPU pool: 13 workers by default (14 physical cores, 14 logical processors; bounded by every physical core but the host's) strata generate: 13 pool workers on logical processors 1,2,3,4,5,6,7,8,9,10,11,12,13, the host thread on 0 (draining too) (--host-core first) strata aux cpus: threads that are neither pool workers nor the host go to CPUs none spare (every CPU is the host's, a worker's or shares a core with a worker or has no known core) (off at start; a request's aux_cpus=1 turns it on) strata generate: expert cache auto: 12.28 GiB free, 700 MiB reserved (+218 MiB for the draft head) -> 4588 slots strata generate: expert cache 5990 slots, 11.38 GiB of VRAM; policy is strata generate: the GPU computes the experts in the cache; it rounds differently from the CPU, so a reply can differ slightly from a run without the cache (same quality: bench/results/2026-09-27-cache-parity). PROFILE, ranked by routing frequency, no eviction. strata generate: pre-filled 5990 of 5990 slots from the profile in 39.2 s (312 MB/s); slot 0 verified strata generate: R4 hit path ON - resident experts are computed on the GPU strata generate: 13 expert-pool workers + the host thread strata generate: session is up (engine 0.1.46) strata generate: token graph hit path: 5990 resident experts, decided on the device strata serve: prompt chunk auto: 8192 tokens, a 384-slot ring strata serve: the prompt path borrows 2300 CUDA0 cache slots (4.32 GiB) strata hc: CUDA0: the hyper-connection read runs as staged (the norm per token and stream, the down projection's activations staged ahead by cp.async); checked bit for bit against the plain read on this card (STRATA_HC_SPLIT=1 or 0 for the earlier ones) strata verify: window up to 6 tokens, 75.9 MiB of device buffers strata mtp: draft head over 106299 tokens (212.9 MiB) strata verify: batch windows of up to 2 sequences (layers [0, 48)) strata serve: adaptive overlap: off (STRATA_ADAPT_OVERLAP=1 turns it on) strata serve: 616 MiB of VRAM free with everything loaded strata verify: capturing the 6-token window (616 MiB of VRAM free) strata verify: captured the 6-token window (upload no error, sync no error) strata verify: capturing the 4-token window (562 MiB of VRAM free) strata verify: captured the 4-token window (upload no error, sync no error) strata verify: capturing the 1-token window (558 MiB of VRAM free) strata verify: captured the 1-token window (upload no error, sync no error) strata serve: prompt 53 tokens = 0 reused + 53 read in 982 ms (54.0 tok/s), 1 generated in 53 ms (18.7 tok/s), drafts accepted 0 of 0, 1 checkpoints strata serve: decode expert cache hit rate: 58.8% (244 hits / 415 lookups); 65 more read by the GPU over PCIe or from another GPU (13.5% of all 480 routed) strata serve: KV streaming: 96.30% of 4536 block reads hit VRAM, 0.7 MiB read from RAM strata verify: capturing the 3-token window (556 MiB of VRAM free) strata verify: captured the 3-token window (upload no error, sync no error) strata verify: capturing the 2-token window (538 MiB of VRAM free) strata verify: captured the 2-token window (upload no error, sync no error) ``` container logs: ``` Starting Strata: IQ3_S (preset 'docker'). Checking the engine for this computer… Engine 0.1.46 (hip) is installed. Getting swift IQ3_S ready (a download may be large; it continues where it stopped if interrupted)… Setup step 1/7: checking your PC Setup step 2/7: your choices Setup step 3/7: Python packages Setup step 4/7: the Strata engine Setup step 5/7: downloading Swift 1.5 IQ3_S Downloading 4.3 of 44.9 GB Downloading 8.9 of 44.9 GB Downloading 13.3 of 44.9 GB Downloading 17.9 of 44.9 GB Downloading 22.3 of 44.9 GB Downloading 27.0 of 44.9 GB Downloading 31.3 of 44.9 GB Downloading 35.7 of 44.9 GB Downloading 40.4 of 44.9 GB Downloading 44.7 of 44.9 GB Downloading 44.8 of 44.9 GB Downloading 44.9 of 44.9 GB Downloading 38.7 of 38.8 GB Downloading 38.8 of 38.8 GB Downloading 0.9 of 0.9 GB Setup step 6/7: preparing the model for Strata Setup step 7/7: writing the start script swift IQ3_S is ready. Writing this launch's settings… Settings are saved. Starting the engine and loading the model. The first start can take a few minutes. Loading the model… 15 s Loading the model… 30 s Loading the model… 45 s Loading the model… 60 s Loading the model… 75 s Loading the model… 90 s Loading the model… 105 s Loading the model… 120 s Loading the model… 135 s Loading the model… 150 s Loading the model… 165 s Loading the model… 180 s Loading the model… 195 s Loading the model… 210 s Loading the model… 225 s Loading the model… 240 s Loading the model… 255 s Loading the model… 270 s Loading the model… 285 s Loading the model… 300 s Loading the model… 315 s Loading the model… 330 s Loading the model… 345 s Loading the model… 360 s Loading the model… 375 s Loading the model… 390 s Loading the model… 405 s Loading the model… 420 s Loading the model… 435 s Loading the model… 450 s Loading the model… 465 s Loading the model… 480 s Loading the model… 495 s Loading the model… 510 s Loading the model… 525 s Loading the model… 540 s Loading the model… 555 s Loading the model… 570 s Loading the model… 585 s Loading the model… 600 s strata: The server did not become ready (starting: startup_wait_expired). The engine's log has the reason: /data/state/strata/launch/docker.engine.log [X] strata launch stopped with code 6 (the lines above say why). The container ends; a restart continues where it stopped (downloads resume). 6 Starting Strata: IQ3_S (preset 'docker'). Checking the engine for this computer… Engine 0.1.46 (hip) is installed. swift IQ3_S is already installed with these choices. Writing this launch's settings… Settings are saved. Starting the engine and loading the model. The first start can take a few minutes. Loading the model… 15 s Loading the model… 30 s Loading the model… 45 s Loading the model… 60 s Loading the model… 75 s Loading the model… 90 s Loading the model… 105 s Loading the model… 120 s The model is loaded and answering. Ready: http://127.0.0.1:8080, http://172.16.18.2:8080 Strata is serving. Strata is serving. This computer http://127.0.0.1:8080/v1 Network http://172.16.18.2:8080/v1 Anthropic apps http://127.0.0.1:8080 (Claude Code: ANTHROPIC_BASE_URL, no /v1 at the end) API key •••••••••••• (show it: strata launch --show-key --preset "docker") Watch it: STRATA_API_KEY=$(strata launch --show-key) strata monitor --url http://127.0.0.1:8080 --credential-env STRATA_API_KEY Connect an app: strata connect opencode Stop: strata launch --stop --preset "docker" Serving on port 8080. Watch it: docker exec -it <container> strata monitor Stop: docker stop <container> ```
Author
Owner

@faf-net commented on GitHub (Oct 21, 2026):

Not the maintainer, but a data point from another gfx1100 (RX 7900 XTX, Linux HIP, 0.2.1): I have not seen this verify timeout in any run since 0.2.1, with --vram-reserve-mib 832. Two things in your log that differ from mine:

  • VRAM headroom: 616 MiB free with everything loaded (reserve 700), 538 MiB while capturing the verify windows. The engine itself warns below 512 MiB. Worth a try: a larger reserve.
  • Speed: --batch 2 takes 1.72 GiB from the expert cache (58.8 % hit rate here). In the same 0.2.1-rocm-gfx110x image, PARALLEL=1 gave me +8 % decode (58.9 -> 63.7 tok/s), and STRATA_HIPBLASLT_TABLE=on +23 % / +60 % on 4K / 16K prompts.

Which CPU is it? The engine planned 13 workers on every core but the host's.

<!-- gh-comment-id:6322482880 --> @faf-net commented on GitHub (Oct 21, 2026): Not the maintainer, but a data point from another gfx1100 (RX 7900 XTX, Linux HIP, 0.2.1): I have not seen this verify timeout in any run since 0.2.1, with `--vram-reserve-mib 832`. Two things in your log that differ from mine: - **VRAM headroom:** 616 MiB free with everything loaded (reserve 700), 538 MiB while capturing the verify windows. The engine itself warns below 512 MiB. Worth a try: a larger reserve. - **Speed:** `--batch 2` takes 1.72 GiB from the expert cache (58.8 % hit rate here). In the same `0.2.1-rocm-gfx110x` image, `PARALLEL=1` gave me +8 % decode (58.9 -> 63.7 tok/s), and `STRATA_HIPBLASLT_TABLE=on` +23 % / +60 % on 4K / 16K prompts. Which CPU is it? The engine planned 13 workers on every core but the host's.
Author
Owner

@Raboo commented on GitHub (Oct 21, 2026):

@faf-net
How can i set --vram-reserve-mib via container env?
I didn't even realize i had --batch 2, just defaulted at that from the docker container i guess, I suppose the env PARALLEL controls that argument?

I currently have these envs for my compose file.

  CONTEXT: '262144'
  FAMILY: swift
  KV: k8v4
  MODEL: IQ3_S
  NVIDIA_VISIBLE_DEVICES: void
  PARALLEL: '1'
  RENDER_GID: '107'
  STRATA_HIPBLASLT_TABLE: True
  STRATA_SET: >-
    prefill=auto:32768 conversation_cache_mib=8192
    conversation_cache_slots=4 temperature=1.0 top_p=0.95 top_k=20
  TUNE: quick
  VISION: cpu
<!-- gh-comment-id:6327671075 --> @Raboo commented on GitHub (Oct 21, 2026): @faf-net How can i set `--vram-reserve-mib` via container env? I didn't even realize i had `--batch 2`, just defaulted at that from the docker container i guess, I suppose the env `PARALLEL` controls that argument? I currently have these envs for my compose file. CONTEXT: '262144' FAMILY: swift KV: k8v4 MODEL: IQ3_S NVIDIA_VISIBLE_DEVICES: void PARALLEL: '1' RENDER_GID: '107' STRATA_HIPBLASLT_TABLE: True STRATA_SET: >- prefill=auto:32768 conversation_cache_mib=8192 conversation_cache_slots=4 temperature=1.0 top_p=0.95 top_k=20 TUNE: quick VISION: cpu
Author
Owner

@Raboo commented on GitHub (Oct 21, 2026):

Even tuning fails for me.
Tuning result: failed. Your current settings could not be measured: the worker refused the request (503): b'{"error": {"type": "server_error", "message": "the engine stopped unexpectedly (exit code -6); the next request restarts it"}}' The standard settings run.

<!-- gh-comment-id:6327725794 --> @Raboo commented on GitHub (Oct 21, 2026): Even tuning fails for me. `Tuning result: failed. Your current settings could not be measured: the worker refused the request (503): b'{"error": {"type": "server_error", "message": "the engine stopped unexpectedly (exit code -6); the next request restarts it"}}' The standard settings run.`
Author
Owner

@faf-net commented on GitHub (Oct 21, 2026):

STRATA_SET takes engine flags as well as STRATA_* variables, and underscores are fine: vram_reserve_mib=1024 becomes --vram-reserve-mib 1024 (split_setting in strata_cli/launch/settings.py, control 0.1.47). So add it to your line:

STRATA_SET: >-
  prefill=auto:32768 conversation_cache_mib=8192 conversation_cache_slots=4
  vram_reserve_mib=1024 temperature=1.0 top_p=0.95 top_k=20

Yes, the entrypoint passes PARALLEL to strata launch --parallel, which is where --batch 2 came from; PARALLEL: '1' turns it off. STRATA_HIPBLASLT_TABLE: True also works (on and true both enable it).

On the tuning failure: exit code -6 is an abort inside the engine. The tuner also tries reserves down to 256 MiB, so with 256K context on a 20 GB card my guess is that one of its candidates ran out of VRAM, but that is only a guess. The end of /data/state/strata/launch/docker.engine.log from that run would show it. I would set TUNE: skip and keep the reserve set by hand. If the engine still stops, try CONTEXT: '131072' once to see whether it is memory. The 0.2.2-rocm-gfx110x image is also worth a try; it runs cleanly here on the XTX.

<!-- gh-comment-id:6328408564 --> @faf-net commented on GitHub (Oct 21, 2026): `STRATA_SET` takes engine flags as well as `STRATA_*` variables, and underscores are fine: `vram_reserve_mib=1024` becomes `--vram-reserve-mib 1024` (`split_setting` in `strata_cli/launch/settings.py`, control 0.1.47). So add it to your line: ```yaml STRATA_SET: >- prefill=auto:32768 conversation_cache_mib=8192 conversation_cache_slots=4 vram_reserve_mib=1024 temperature=1.0 top_p=0.95 top_k=20 ``` Yes, the entrypoint passes `PARALLEL` to `strata launch --parallel`, which is where `--batch 2` came from; `PARALLEL: '1'` turns it off. `STRATA_HIPBLASLT_TABLE: True` also works (`on` and `true` both enable it). On the tuning failure: exit code -6 is an abort inside the engine. The tuner also tries reserves down to 256 MiB, so with 256K context on a 20 GB card my guess is that one of its candidates ran out of VRAM, but that is only a guess. The end of `/data/state/strata/launch/docker.engine.log` from that run would show it. I would set `TUNE: skip` and keep the reserve set by hand. If the engine still stops, try `CONTEXT: '131072'` once to see whether it is memory. The `0.2.2-rocm-gfx110x` image is also worth a try; it runs cleanly here on the XTX.
Author
Owner

@Raboo commented on GitHub (Oct 22, 2026):

It still ran quick tuning with TUNE: skip and of course crashed.

Process 1635689 (strata-host) of user 0 terminated abnormally without generating a coredump.

I updated the launch json and changed to skip manually.
Now I just get a restart loop instead.

2026-10-22 06:12:03.283387+00:00Loading the model… 570 s
2026-10-22 06:12:18.285684+00:00Loading the model… 585 s
2026-10-22 06:12:33.288014+00:00Loading the model… 600 s
2026-10-22 06:12:40.243300+00:00strata: The server did not become ready (starting: startup_wait_expired). The engine's log has the reason: /data/state/strata/launch/docker.engine.log
2026-10-22 06:12:40.322009+00:00[X] strata launch stopped with code 6 (the lines above say why). The container ends. Fix that and start it again: finished steps are not repeated, and an interrupted download continues where it stopped. 6
<!-- gh-comment-id:6334131735 --> @Raboo commented on GitHub (Oct 22, 2026): It still ran quick tuning with `TUNE: skip` and of course crashed. ``` Process 1635689 (strata-host) of user 0 terminated abnormally without generating a coredump. ``` I updated the launch json and changed to skip manually. Now I just get a restart loop instead. ``` 2026-10-22 06:12:03.283387+00:00Loading the model… 570 s 2026-10-22 06:12:18.285684+00:00Loading the model… 585 s 2026-10-22 06:12:33.288014+00:00Loading the model… 600 s 2026-10-22 06:12:40.243300+00:00strata: The server did not become ready (starting: startup_wait_expired). The engine's log has the reason: /data/state/strata/launch/docker.engine.log 2026-10-22 06:12:40.322009+00:00[X] strata launch stopped with code 6 (the lines above say why). The container ends. Fix that and start it again: finished steps are not repeated, and an interrupted download continues where it stopped. 6 ```
Author
Owner

@faf-net commented on GitHub (Oct 22, 2026):

The TUNE: skip advice was mine, so here is why it didn't work: in the 0.2.2 entrypoint, TUNE=skip adds no --tune flag, and the saved preset docker still carries "tune": "quick" from your first start. Because that tuning never finished, every start tunes again. Editing the preset was the right fix; PRESET: docker2 would also do it. @Niko1221: passing --tune skip through when TUNE=skip is set would fix this.

On the loop: strata launch waits a fixed 600 s and the engine stayed in "starting" the whole time, so it looks stuck, not slow (the same image loads IQ3_XXS/256K here in about 15 s). The end of /data/state/strata/launch/docker.engine.log should show where it stops. Set restart: "no" while you look.

<!-- gh-comment-id:6346468202 --> @faf-net commented on GitHub (Oct 22, 2026): The `TUNE: skip` advice was mine, so here is why it didn't work: in the 0.2.2 entrypoint, `TUNE=skip` adds no `--tune` flag, and the saved preset `docker` still carries `"tune": "quick"` from your first start. Because that tuning never finished, every start tunes again. Editing the preset was the right fix; `PRESET: docker2` would also do it. @Niko1221: passing `--tune skip` through when `TUNE=skip` is set would fix this. On the loop: `strata launch` waits a fixed 600 s and the engine stayed in "starting" the whole time, so it looks stuck, not slow (the same image loads IQ3_XXS/256K here in about 15 s). The end of `/data/state/strata/launch/docker.engine.log` should show where it stops. Set `restart: "no"` while you look.
Author
Owner

@vletu-ghub commented on GitHub (Oct 26, 2026):

A/B on one box: the verify timeout follows the ROCm 10.1 build, not the prompt

Same symptom as the report: verify: timed out at layer N; its GPU waits were released and the GPU finished (#267) followed by the engine stopping with exit code -15. On my box it reproduces with the 0.1.51 engine built against system ROCm 10.1, and does not reproduce with the same engine built against the 7.10 wheels — through a ~6-hour agent session with eight cold compaction/truncation reads.

Box and config (unchanged between the two builds)

  • Dell Precision 3660, i9-12900K, 64 GB DDR5, one RX 7900 XTX (gfx1100), display on the iGPU. GPU capped at 2000 MHz / 261 W / -60 mV in both runs (separate machine-stability work).
  • Strata engine 0.1.51, built locally; model Qwen3.8-Flash-Next UD-IQ4_XS.
  • --resident-budget-gib 46 --pcie-frac 0 --max-context 262144 --kv int8 --spec 4 --spec-min-p 0.5 --mtp .../mtp/rt --vram-reserve-mib 832 --vision (vision CPU), HSA_USERPTR_FOR_PAGED_MEM=0, STRATA_SCORES_THREAD=1.
  • CMake in both build trees: Release, GPU_TARGETS=gfx1100, STRATA_PREFILL_MMQ=ON.

Build A — ROCm 10.1 (/opt/rocm core-10.1)

  • HIP 7.16.26385, hipBLASLt 1.4.1, table gfx1100-hipblaslt-100401 (43 rows).
  • In a resumed agent session the engine stopped with -15 repeatedly; the last line before the final restart was the layer-22 timeout above (an earlier run: layer 23), around 130K context. No OOM, no MCE, no machine reset; kernel journal clean.

Build B — ROCm 7.10 wheels (TheRock 7.10.0a20251120)

  • HIP 7.2.53210, hipBLASLt 1.2.0, table gfx1100-hipblaslt-100200 (26 rows).
  • Same model/config, one continuous session: ~6 h wall, 125m40s LLM + 72m54s tool, 50M input tokens (953K uncached per the client; 1.25M fresh per the engine log, which also counts the harness's compaction requests), 227K output, 5 s TTFT, 40 t/s.
  • Eight cold reads where only the 8,955-token root was reused (harness truncation/compaction), all completed:
prompt fresh read PP generated
199,419 190,464 903.5 t/s 451
30,380 21,425 860.5 194
35,525 26,570 832.6 2,242
200,009 191,054 903.8 395
200,634 191,679 886.6 135
203,456 194,501 909.0 785
164,635 155,680 910.8 3,966
60,331 51,376 871.1 102
  • Zero verify timeouts in the 7.10 portion of the log. The only verify: timed out line in the file is Build A's last line before I restarted on Build B.

Questions

  • The log says the GPU waits were released and the GPU finished, yet the engine exits. Is that exit intended for this timeout, or should the request fail while the engine stays up?
  • Between these builds the runtime/linked libs and the hipBLASLt table differ. Would it help to test 0.1.51 on 10.1 with the 100200 table (or with tuning disabled) to separate the runtime from the table? Which single variable would you change first?
<!-- gh-comment-id:6429201053 --> @vletu-ghub commented on GitHub (Oct 26, 2026): **A/B on one box: the verify timeout follows the ROCm 10.1 build, not the prompt** Same symptom as the report: `verify: timed out at layer N; its GPU waits were released and the GPU finished (#267)` followed by the engine stopping with exit code -15. On my box it reproduces with the 0.1.51 engine built against system ROCm 10.1, and does not reproduce with the same engine built against the 7.10 wheels — through a ~6-hour agent session with eight cold compaction/truncation reads. **Box and config (unchanged between the two builds)** - Dell Precision 3660, i9-12900K, 64 GB DDR5, one RX 7900 XTX (gfx1100), display on the iGPU. GPU capped at 2000 MHz / 261 W / -60 mV in both runs (separate machine-stability work). - Strata engine 0.1.51, built locally; model Qwen3.8-Flash-Next UD-IQ4_XS. - `--resident-budget-gib 46 --pcie-frac 0 --max-context 262144 --kv int8 --spec 4 --spec-min-p 0.5 --mtp .../mtp/rt --vram-reserve-mib 832 --vision` (vision CPU), `HSA_USERPTR_FOR_PAGED_MEM=0`, `STRATA_SCORES_THREAD=1`. - CMake in both build trees: Release, `GPU_TARGETS=gfx1100`, `STRATA_PREFILL_MMQ=ON`. **Build A — ROCm 10.1 (`/opt/rocm` core-10.1)** - HIP 7.16.26385, hipBLASLt 1.4.1, table `gfx1100-hipblaslt-100401` (43 rows). - In a resumed agent session the engine stopped with -15 repeatedly; the last line before the final restart was the layer-22 timeout above (an earlier run: layer 23), around 130K context. No OOM, no MCE, no machine reset; kernel journal clean. **Build B — ROCm 7.10 wheels (TheRock 7.10.0a20251120)** - HIP 7.2.53210, hipBLASLt 1.2.0, table `gfx1100-hipblaslt-100200` (26 rows). - Same model/config, one continuous session: ~6 h wall, 125m40s LLM + 72m54s tool, 50M input tokens (953K uncached per the client; 1.25M fresh per the engine log, which also counts the harness's compaction requests), 227K output, 5 s TTFT, 40 t/s. - Eight cold reads where only the 8,955-token root was reused (harness truncation/compaction), all completed: | prompt | fresh read | PP | generated | |---|---:|---:|---:| | 199,419 | 190,464 | 903.5 t/s | 451 | | 30,380 | 21,425 | 860.5 | 194 | | 35,525 | 26,570 | 832.6 | 2,242 | | 200,009 | 191,054 | 903.8 | 395 | | 200,634 | 191,679 | 886.6 | 135 | | 203,456 | 194,501 | 909.0 | 785 | | 164,635 | 155,680 | 910.8 | 3,966 | | 60,331 | 51,376 | 871.1 | 102 | - Zero verify timeouts in the 7.10 portion of the log. The only `verify: timed out` line in the file is Build A's last line before I restarted on Build B. **Questions** - The log says the GPU waits were released and the GPU finished, yet the engine exits. Is that exit intended for this timeout, or should the request fail while the engine stays up? - Between these builds the runtime/linked libs and the hipBLASLt table differ. Would it help to test 0.1.51 on 10.1 with the 100200 table (or with tuning disabled) to separate the runtime from the table? Which single variable would you change first?
Author
Owner

@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:

  1. Re-test on 0.2.11. It may already be fixed. Write down what you see.
  2. Start the title with its area: [Engine], [GUI], [TUI], [Benchmark], [Docs] or [Other].
  3. Fill in the parts of the issue form: what happened, the Strata version, your graphics card, memory and system.
  4. Comment /reopen. A check runs and either reopens the issue or lists what is still missing.

The rules are in CONTRIBUTING.md.

<!-- gh-comment-id:6659406231 --> @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: 1. Re-test on 0.2.11. It may already be fixed. Write down what you see. 2. Start the title with its area: [Engine], [GUI], [TUI], [Benchmark], [Docs] or [Other]. 3. Fill in the parts of the issue form: what happened, the Strata version, your graphics card, memory and system. 4. Comment `/reopen`. A check runs and either reopens the issue or lists what is still missing. The rules are in [CONTRIBUTING.md](https://github.com/Niko1221/Strata/blob/main/CONTRIBUTING.md).
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#1279
No description provided.