[GH-ISSUE #613] AMD 9070 XT on Windows causes VIDEO_ENGINE_TIMEOUT_DETECTED #291

Closed
opened 2026-11-04 01:41:41 +07:00 by bsakaguchi · 8 comments
Owner

Originally created by @galmok on GitHub (Oct 3, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/613

I just clones the repo, ran START-.bat, answered questions, and a browser window showed and I entered a few standard queries (tell me a joke, tell me a story) and I got a usable response at 54 tps but on the third query (tell me a longer story), the GPU drivers crashed, triggering a .dmp file that reports this error: VIDEO_ENGINE_TIMEOUT_DETECTED

Hardware:

AMD 98950X3D
128GB RAM
AMD 9070XT

Software:

Windows 11.
GPU driver: 26.8.1

This is my full command line history:

PS C:\Tools\Strata\Strata> .\START-HERE.bat
Strata - Qwen3.8-Flash-Next on a normal PC (a GPU + system RAM + CPU)

=== Step 1: checking your PC ===
Your AMD GPUs:
GPU 0: AMD Radeon RX 9070 XT, 16 GB VRAM - can be used
GPU 1: AMD Radeon(TM) Graphics, 2 GB VRAM - not supported - Strata's AMD backend runs on the RX 7900 XT / XTX (gfx1100), RX 7800 XT / 7700 XT (gfx1101), RX 9060 XT (gfx1200) and RX 9070 / 9070 XT / Radeon AI PRO R9700 (gfx1201), and the RX 6800 / 6900 series (gfx1030, unvalidated) only, this is unknown (PCI 13C0)
[ok] GPU: AMD Radeon RX 9070 XT, 15.9 GB VRAM, gfx1201 (AMD: docs/AMD_HIP.md)
[ok] RAM: 126 GB
[ok] CPU: AMD64 Family 26 Model 68 Stepping 0, AuthenticAMD (AVX-512)

=== Step 2: your choices ===

  1. Qwen3.8-Flash-Next Qwen; GSQ-RCO quants by ISTA-DASLab - the original model

  2. Swift 1.5 UkisAI's fine-tune of Qwen3.8-Flash-Next - thinks much shorter (-63% thinking tokens, 1.8x sooner answers by its authors' numbers)

  3. Qwen3.8-Flash-Next Coder ISTA-DASLab's coding version - half the experts (code, tools, images kept): needs ~32 GB of RAM, faster; weaker outside coding

  4. Qwen3.8-Flash-Next (Unsloth) Unsloth's 4-bit quantization (EXPERIMENTAL) - 4-bit, 111 GB download, most experts read from the SSD: slow (7-8.5 tokens/s on a 64 GB PC) [experimental]
    Which model? [1]: 1
    [ok] model: Qwen3.8-Flash-Next

  5. Q2_0 2-bit, the fastest; download 66 GB, uses ~34 GB of RAM

  6. IQ2_XS 2-bit i-quant, a little better quality, close in speed; download 68 GB, uses ~36 GB of RAM

  7. IQ3_XXS 3-bit i-quant, better quality, slower (more CPU work per token); download 76 GB, uses ~43 GB of RAM

  8. IQ3_S 3.5-bit i-quant, the best quality (matches the full model), the slowest; needs a 64 GB PC with little else running; download 84 GB, uses ~50 GB of RAM
    Which size? [3]: 4
    [ok] size: IQ3_S

Context length = how much text the model can see at once (your chat, files, tool output).
Longer needs more VRAM for it, so fewer experts fit on the GPU:

  1. 8K tokens
  2. 32K tokens
  3. 64K tokens (recommended for your GPU)
  4. 128K tokens
  5. 256K tokens
  6. 384K tokens (experimental: setup adds rope scaling)
  7. 512K tokens (experimental: setup adds rope scaling)
    Context? [3]: 5
    [ok] context: 262144 tokens

KV cache precision (the model's memory of the conversation):

  1. 8-bit (recommended: what every published number was measured with)
  2. 4-bit half the memory (about 4% faster at 128K), but measurably less precise on long
    documents; long-context lookups (needle tests) still pass
    KV cache? [1]: 1
    [ok] KV cache: 8-bit
    [ok] images: off

EXPERIMENTAL - speed projection: a small control vector applied while the model runs (layers 4-44).
It changes how the model answers: its package describes it as a refusal-direction projection (the
model declines far fewer requests). Off unless you choose it; when on, the web app can switch it off
per chat. Details: data/experimental-speed-projection/README.md
Turn on the experimental speed projection? [n]:
[ok] experimental speed projection: off

=== Step 3: Python packages ===
Installing numpy, jinja2, regex, pyyaml, tqdm, requests, cmake, ninja, pillow, psutil ...

C:\Tools\Strata\Strata.venv\Scripts\python.exe -m pip install --quiet --disable-pip-version-check numpy==2.5.3; python_version >= "3.12" numpy==2.4.6; python_version == "3.11" numpy==2.2.6; python_version < "3.11" jinja2==3.1.6 regex==2026.9.10 pyyaml==6.0.3 tqdm==4.70.1 requests==2.34.2 cmake==4.4.3 ninja==1.13.2 pillow==12.3.0 psutil==7.2.2 markupsafe==3.0.3 certifi==2026.7.22 charset-normalizer==3.5.1 idna==3.20 urllib3==2.8.0 colorama==0.4.6; sys_platform == "win32"
[ok] numpy, jinja2, regex, pyyaml, tqdm, requests, cmake, ninja, pillow, psutil installed

=== Step 4: the Strata engine ===
llama.cpp source: 8.4 MB
[ok] llama.cpp source downloaded
[ok] llama.cpp 3cf0325 (gguf-py, ggml, mtmd)
Downloading the ready-made Strata engine for AMD GPUs (with the ROCm libraries it uses) ...
Strata AMD engine: 0.49 / 0.60 GB (83%)
[ok] Strata AMD engine downloaded
[ok] ready-made AMD engine 0.1.38 for gfx1100, gfx1101, gfx1102, gfx1200, gfx1201, gfx1030 (ROCm 10.2.0a20260930)
[ok] HIP numbers this card 1 (an integrated GPU comes first): the engine is pointed at it
[ok] engine: C:\Tools\Strata\Strata\engine\strata.exe

=== Step 5: downloading Qwen3.8-Flash-Next IQ3_S ===
The model files go in C:\Tools\Strata\Strata-data\models\IQ3_S
Files you already have: put them here with their original names (Qwen3.8-Flash-Next-GSQ-RCO-IQ3_S-00001-of-00002.gguf, Qwen3.8-Flash-Next-GSQ-RCO-IQ3_S-00002-of-00002.gguf), or use --gguf-dir .
Qwen3.8-Flash-Next-GSQ-RCO-IQ3_S-00001-of-00002.gguf: 54.75 / 54.82 GB (100%)
[ok] Qwen3.8-Flash-Next-GSQ-RCO-IQ3_S-00001-of-00002.gguf downloaded
Qwen3.8-Flash-Next-GSQ-RCO-IQ3_S-00002-of-00002.gguf: 28.80 / 28.80 GB (100%)
[ok] Qwen3.8-Flash-Next-GSQ-RCO-IQ3_S-00002-of-00002.gguf downloaded
[ok] model files present

=== Step 6: preparing the model for Strata ===

C:\Tools\Strata\Strata.venv\Scripts\python.exe C:\Tools\Strata\Strata\tools\iq_pack.py --gguf C:\Tools\Strata\Strata-data\models\IQ3_S\Qwen3.8-Flash-Next-GSQ-RCO-IQ3_S-00001-of-00002.gguf --out C:\Tools\Strata\Strata-data\packs\iq3_s
model shards: Qwen3.8-Flash-Next-GSQ-RCO-IQ3_S-00001-of-00002.gguf, Qwen3.8-Flash-Next-GSQ-RCO-IQ3_S-00002-of-00002.gguf
index.txt: 1079 tensors, 302 served natively, 0 in extra.bin, arena 1.43 GiB
tokenizer/: vocab 248320, merges 247587, pre qwen35, specials {'tokenizer.ggml.eos_token_id': 248046, 'tokenizer.ggml.padding_token_id': 248044, 'tokenizer.ggml.bos_token_id': 248044}
[ok] model prepared: C:\Tools\Strata\Strata-data\packs\iq3_s
The MTP draft layer (speculative decoding, ~2x faster output) comes from the original Qwen checkpoint:
only its ~5 GB of MTP tensors are downloaded.
C:\Tools\Strata\Strata.venv\Scripts\python.exe C:\Tools\Strata\Strata\tools\mtp_fetch.py fetch --out C:\Tools\Strata\Strata-data\mtp

MTP block in the BF16 checkpoint

31 tensors, 5.214 GB, in 28 shards.

tensor dtype shape MB
mtp.fc_embedding.weight BF16 2560x2560 13.1
mtp.fc_hidden.weight BF16 2560x2560 13.1
mtp.hyper_connection_mixer.hc_norm.weight BF16 10240 0.0
mtp.hyper_connection_mixer.input_mix_weight_down.weight BF16 320x10240 6.6
mtp.hyper_connection_mixer.input_mix_weight_up.weight BF16 10240x320 6.6
mtp.layers.0.attn_hyper_connection.block_inject_weight.weight BF16 4x10240 0.1
mtp.layers.0.attn_hyper_connection.hc_norm.weight BF16 10240 0.0
mtp.layers.0.attn_hyper_connection.input_mix_weight_down.weight BF16 320x10240 6.6
mtp.layers.0.attn_hyper_connection.input_mix_weight_up.weight BF16 10240x320 6.6
mtp.layers.0.mlp.experts.down_proj BF16 512x2560x640 1677.7
mtp.layers.0.mlp.experts.gate_up_proj BF16 512x1280x2560 3355.4
mtp.layers.0.mlp.gate.weight BF16 512x2560 2.6
mtp.layers.0.mlp.shared_expert.down_proj.weight BF16 2560x640 3.3
mtp.layers.0.mlp.shared_expert.gate_proj.weight BF16 640x2560 3.3
mtp.layers.0.mlp.shared_expert.up_proj.weight BF16 640x2560 3.3
mtp.layers.0.mlp.shared_expert_gate.weight BF16 1x2560 0.0
mtp.layers.0.mlp_hyper_connection.block_inject_weight.weight BF16 4x10240 0.1
mtp.layers.0.mlp_hyper_connection.hc_norm.weight BF16 10240 0.0
mtp.layers.0.mlp_hyper_connection.input_mix_weight_down.weight BF16 320x10240 6.6
mtp.layers.0.mlp_hyper_connection.input_mix_weight_up.weight BF16 10240x320 6.6
mtp.layers.0.self_attn.indexer.index_qk_proj.weight BF16 640x2560 3.3
mtp.layers.0.self_attn.indexer.k_layernorm.weight BF16 128 0.0
mtp.layers.0.self_attn.indexer.q_layernorm.weight BF16 128 0.0
mtp.layers.0.self_attn.k_norm.weight BF16 256 0.0
mtp.layers.0.self_attn.k_proj.weight BF16 512x2560 2.6
mtp.layers.0.self_attn.o_proj.weight BF16 2560x6144 31.5
mtp.layers.0.self_attn.q_norm.weight BF16 256 0.0
mtp.layers.0.self_attn.q_proj.weight BF16 12288x2560 62.9
mtp.layers.0.self_attn.v_proj.weight BF16 512x2560 2.6
mtp.pre_fc_norm_embedding.weight BF16 2560 0.0
mtp.pre_fc_norm_hidden.weight BF16 10240 0.0

mtp.fc_embedding.weight 100%
mtp.fc_hidden.weight 100%
mtp.hyper_connection_mixer.hc_norm.weight 100%
mtp.hyper_connection_mixer.input_mix_weight_down.weight 100%
mtp.hyper_connection_mixer.input_mix_weight_up.weight 100%
mtp.layers.0.attn_hyper_connection.block_inject_weight.weight 100%
mtp.layers.0.attn_hyper_connection.hc_norm.weight 100%
mtp.layers.0.attn_hyper_connection.input_mix_weight_down.weight 100%
mtp.layers.0.attn_hyper_connection.input_mix_weight_up.weight 100%
mtp.layers.0.mlp.experts.down_proj 4%
mtp.layers.0.mlp.experts.down_proj 8%
mtp.layers.0.mlp.experts.down_proj 12%
mtp.layers.0.mlp.experts.down_proj 16%
mtp.layers.0.mlp.experts.down_proj 20%
mtp.layers.0.mlp.experts.down_proj 24%
mtp.layers.0.mlp.experts.down_proj 28%
mtp.layers.0.mlp.experts.down_proj 32%
mtp.layers.0.mlp.experts.down_proj 36%
mtp.layers.0.mlp.experts.down_proj 40%
mtp.layers.0.mlp.experts.down_proj 44%
mtp.layers.0.mlp.experts.down_proj 48%
mtp.layers.0.mlp.experts.down_proj 52%
mtp.layers.0.mlp.experts.down_proj 56%
mtp.layers.0.mlp.experts.down_proj 60%
mtp.layers.0.mlp.experts.down_proj 64%
mtp.layers.0.mlp.experts.down_proj 68%
mtp.layers.0.mlp.experts.down_proj 72%
mtp.layers.0.mlp.experts.down_proj 76%
mtp.layers.0.mlp.experts.down_proj 80%
mtp.layers.0.mlp.experts.down_proj 84%
mtp.layers.0.mlp.experts.down_proj 88%
mtp.layers.0.mlp.experts.down_proj 92%
mtp.layers.0.mlp.experts.down_proj 96%
mtp.layers.0.mlp.experts.down_proj 100%
mtp.layers.0.mlp.experts.gate_up_proj 2%
mtp.layers.0.mlp.experts.gate_up_proj 4%
mtp.layers.0.mlp.experts.gate_up_proj 6%
mtp.layers.0.mlp.experts.gate_up_proj 8%
mtp.layers.0.mlp.experts.gate_up_proj 10%
mtp.layers.0.mlp.experts.gate_up_proj 12%
mtp.layers.0.mlp.experts.gate_up_proj 14%
mtp.layers.0.mlp.experts.gate_up_proj 16%
mtp.layers.0.mlp.experts.gate_up_proj 18%
mtp.layers.0.mlp.experts.gate_up_proj 20%
mtp.layers.0.mlp.experts.gate_up_proj 22%
mtp.layers.0.mlp.experts.gate_up_proj 24%
mtp.layers.0.mlp.experts.gate_up_proj 26%
mtp.layers.0.mlp.experts.gate_up_proj 28%
mtp.layers.0.mlp.experts.gate_up_proj 30%
mtp.layers.0.mlp.experts.gate_up_proj 32%
mtp.layers.0.mlp.experts.gate_up_proj 34%
mtp.layers.0.mlp.experts.gate_up_proj 36%
mtp.layers.0.mlp.experts.gate_up_proj 38%
mtp.layers.0.mlp.experts.gate_up_proj 40%
mtp.layers.0.mlp.experts.gate_up_proj 42%
mtp.layers.0.mlp.experts.gate_up_proj 44%
mtp.layers.0.mlp.experts.gate_up_proj 46%
mtp.layers.0.mlp.experts.gate_up_proj 48%
mtp.layers.0.mlp.experts.gate_up_proj 50%
mtp.layers.0.mlp.experts.gate_up_proj 52%
mtp.layers.0.mlp.experts.gate_up_proj 54%
mtp.layers.0.mlp.experts.gate_up_proj 56%
mtp.layers.0.mlp.experts.gate_up_proj 58%
mtp.layers.0.mlp.experts.gate_up_proj 60%
mtp.layers.0.mlp.experts.gate_up_proj 62%
mtp.layers.0.mlp.experts.gate_up_proj 64%
mtp.layers.0.mlp.experts.gate_up_proj 66%
mtp.layers.0.mlp.experts.gate_up_proj 68%
mtp.layers.0.mlp.experts.gate_up_proj 70%
mtp.layers.0.mlp.experts.gate_up_proj 72%
mtp.layers.0.mlp.experts.gate_up_proj 74%
mtp.layers.0.mlp.experts.gate_up_proj 76%
mtp.layers.0.mlp.experts.gate_up_proj 78%
mtp.layers.0.mlp.experts.gate_up_proj 80%
mtp.layers.0.mlp.experts.gate_up_proj 82%
mtp.layers.0.mlp.experts.gate_up_proj 84%
mtp.layers.0.mlp.experts.gate_up_proj 86%
mtp.layers.0.mlp.experts.gate_up_proj 88%
mtp.layers.0.mlp.experts.gate_up_proj 90%
mtp.layers.0.mlp.experts.gate_up_proj 92%
mtp.layers.0.mlp.experts.gate_up_proj 94%
mtp.layers.0.mlp.experts.gate_up_proj 96%
mtp.layers.0.mlp.experts.gate_up_proj 98%
mtp.layers.0.mlp.experts.gate_up_proj 100%
mtp.layers.0.mlp.gate.weight 100%
mtp.layers.0.mlp.shared_expert.down_proj.weight 100%
mtp.layers.0.mlp.shared_expert.gate_proj.weight 100%
mtp.layers.0.mlp.shared_expert.up_proj.weight 100%
mtp.layers.0.mlp.shared_expert_gate.weight 100%
mtp.layers.0.mlp_hyper_connection.block_inject_weight.weight 100%
mtp.layers.0.mlp_hyper_connection.hc_norm.weight 100%
mtp.layers.0.mlp_hyper_connection.input_mix_weight_down.weight 100%
mtp.layers.0.mlp_hyper_connection.input_mix_weight_up.weight 100%
mtp.layers.0.self_attn.indexer.index_qk_proj.weight 100%
mtp.layers.0.self_attn.indexer.k_layernorm.weight 100%
mtp.layers.0.self_attn.indexer.q_layernorm.weight 100%
mtp.layers.0.self_attn.k_norm.weight 100%
mtp.layers.0.self_attn.k_proj.weight 100%
mtp.layers.0.self_attn.o_proj.weight 100%
mtp.layers.0.self_attn.q_norm.weight 100%
mtp.layers.0.self_attn.q_proj.weight 100%
mtp.layers.0.self_attn.v_proj.weight 100%
mtp.pre_fc_norm_embedding.weight 100%
mtp.pre_fc_norm_hidden.weight 100%

C:\Tools\Strata\Strata.venv\Scripts\python.exe C:\Tools\Strata\Strata\tools\mtp_pack.py --src C:\Tools\Strata\Strata-data\mtp --experts q2_0 --out C:\Tools\Strata\Strata-data\mtp\mtp-q2_0.gguf
mtp.fc_embedding.weight: BF16 13.1 MB
mtp.fc_hidden.weight: BF16 13.1 MB
mtp.hyper_connection_mixer.hc_norm.weight: F32 0.0 MB
mtp.hyper_connection_mixer.input_mix_weight_down.weight: BF16 6.6 MB
mtp.hyper_connection_mixer.input_mix_weight_up.weight: BF16 6.6 MB
mtp.layers.0.attn_hyper_connection.block_inject_weight.weight: BF16 0.1 MB
mtp.layers.0.attn_hyper_connection.hc_norm.weight: F32 0.0 MB
mtp.layers.0.attn_hyper_connection.input_mix_weight_down.weight: BF16 6.6 MB
mtp.layers.0.attn_hyper_connection.input_mix_weight_up.weight: BF16 6.6 MB
mtp.layers.0.mlp.experts.down_proj: q2_0 235.9 MB
mtp.layers.0.mlp.experts.gate_up_proj: q2_0 471.9 MB
mtp.layers.0.mlp.gate.weight: BF16 2.6 MB
mtp.layers.0.mlp.shared_expert.down_proj.weight: BF16 3.3 MB
mtp.layers.0.mlp.shared_expert.gate_proj.weight: BF16 3.3 MB
mtp.layers.0.mlp.shared_expert.up_proj.weight: BF16 3.3 MB
mtp.layers.0.mlp.shared_expert_gate.weight: BF16 0.0 MB
mtp.layers.0.mlp_hyper_connection.block_inject_weight.weight: BF16 0.1 MB
mtp.layers.0.mlp_hyper_connection.hc_norm.weight: F32 0.0 MB
mtp.layers.0.mlp_hyper_connection.input_mix_weight_down.weight: BF16 6.6 MB
mtp.layers.0.mlp_hyper_connection.input_mix_weight_up.weight: BF16 6.6 MB
mtp.layers.0.self_attn.indexer.index_qk_proj.weight: BF16 3.3 MB
mtp.layers.0.self_attn.indexer.k_layernorm.weight: F32 0.0 MB
mtp.layers.0.self_attn.indexer.q_layernorm.weight: F32 0.0 MB
mtp.layers.0.self_attn.k_norm.weight: F32 0.0 MB
mtp.layers.0.self_attn.k_proj.weight: BF16 2.6 MB
mtp.layers.0.self_attn.o_proj.weight: BF16 31.5 MB
mtp.layers.0.self_attn.q_norm.weight: F32 0.0 MB
mtp.layers.0.self_attn.q_proj.weight: BF16 62.9 MB
mtp.layers.0.self_attn.v_proj.weight: BF16 2.6 MB
mtp.pre_fc_norm_embedding.weight: F32 0.0 MB
mtp.pre_fc_norm_hidden.weight: F32 0.0 MB
wrote C:\Tools\Strata\Strata-data\mtp\mtp-q2_0.gguf: 0.889 GB of tensor data
C:\Tools\Strata\Strata.venv\Scripts\python.exe C:\Tools\Strata\Strata\tools\mtp_rt.py --gguf C:\Tools\Strata\Strata-data\mtp\mtp-q2_0.gguf --out C:\Tools\Strata\Strata-data\mtp\rt
experts.bin 707788800 B, dense.bin 116099072 B, 29 tensors -> C:\Tools\Strata\Strata-data\mtp\rt
fc_embedding.weight q8_0 2560 2560 0 6963200
fc_hidden.weight q8_0 2560 2560 6963200 6963200
hyper_connection_mixer.hc_norm.weight f32 1 10240 13926400 40960
hyper_connection_mixer.input_mix_weight_down.weight bf16 320 10240 13967360 6553600
hyper_connection_mixer.input_mix_weight_up.weight bf16 10240 320 20520960 6553600
attn_hyper_connection.block_inject_weight.weight bf16 4 10240 27074560 81920
attn_hyper_connection.hc_norm.weight f32 1 10240 27156480 40960
attn_hyper_connection.input_mix_weight_down.weight bf16 320 10240 27197440 6553600
attn_hyper_connection.input_mix_weight_up.weight bf16 10240 320 33751040 6553600
mlp.gate.weight bf16 512 2560 40304640 2621440
mlp.shared_expert.down_proj.weight q8_0 2560 640 42926080 1740800
mlp.shared_expert.gate_proj.weight q8_0 640 2560 44666880 1740800
mlp.shared_expert.up_proj.weight q8_0 640 2560 46407680 1740800
mlp.shared_expert_gate.weight bf16 1 2560 48148480 5120
mlp_hyper_connection.block_inject_weight.weight bf16 4 10240 48153600 81920
mlp_hyper_connection.hc_norm.weight f32 1 10240 48235520 40960
mlp_hyper_connection.input_mix_weight_down.weight bf16 320 10240 48276480 6553600
mlp_hyper_connection.input_mix_weight_up.weight bf16 10240 320 54830080 6553600
self_attn.indexer.index_qk_proj.weight q8_0 640 2560 61383680 1740800
self_attn.indexer.k_layernorm.weight f32 1 128 63124480 512
self_attn.indexer.q_layernorm.weight f32 1 128 63124992 512
self_attn.k_norm.weight f32 1 256 63125504 1024
self_attn.k_proj.weight q8_0 512 2560 63126528 1392640
self_attn.o_proj.weight q8_0 2560 6144 64519168 16711680
self_attn.q_norm.weight f32 1 256 81230848 1024
self_attn.q_proj.weight q8_0 12288 2560 81231872 33423360
self_attn.v_proj.weight q8_0 512 2560 114655232 1392640
pre_fc_norm_embedding.weight f32 1 2560 116047872 10240
pre_fc_norm_hidden.weight f32 1 10240 116058112 40960
[ok] MTP draft layer: C:\Tools\Strata\Strata-data\mtp\rt

=== Step 7: writing the start script ===
[ok] KV streaming on: the context's KV cache lives in RAM (3.6 GB), more experts fit in VRAM
[ok] hipBLASLt tuning table: gfx1201-hipblaslt-100500.txt (faster prompts)
[ok] start script: run-iq3_s.bat

All set.
API (OpenAI): http://127.0.0.1:8080/v1 (any API key; model name: anything)
API (Anthropic): http://127.0.0.1:8080/v1/messages
Next time: just run START-HERE.bat (or run-iq3_s.bat) - it starts right away
[ok] GPU: AMD Radeon RX 9070 XT (16 GB, AMD)


Starting qwen3.8-flash-next-iq3_s: it loads about 55 GB into RAM and locks part of it for the GPU.
While it does, YOUR PC CAN BE SLOW OR STOP RESPONDING FOR 1-3 MINUTES (longer the first time after a
restart). That is normal: please wait and don't close this window - the browser opens when it is ready.
Later, closing this window stops the model.

Settings (strata-iq3_s.json): --expert-cache auto --prefill auto --spec 4 --spec-min-p 0.5
--max-context 262144 --kv int8 --kv-resident 32768; server 127.0.0.1:8080, gpu 1
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 55 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 browser opens when it is ready.
[strata] experts loaded: 46.84 GiB at 9.39 GiB/s (19 s so far)
[strata] filling the GPU's expert cache (1373 experts, 2.65 GiB of VRAM) ...
ready: http://127.0.0.1:8080/v1 (OpenAI: /v1/chat/completions, Anthropic: /v1/messages, context 262144 tokens)
open http://127.0.0.1:8080/ in a browser to chat; close this window to stop the model
[strata] thinking: 10 of max 262079 tokens, 47.6 tok/s, 1 s
[strata] done: 41 tokens in 2 s (54.6 tok/s) (stop, cancel=False), expert cache 33.8% hit
[strata] thinking: 30 of max 262046 tokens, 56.9 tok/s, 1 s
[strata] answering: 76 of max 262046 tokens, 49.6 tok/s, 2 s
[strata] answering: 131 of max 262046 tokens, 51.7 tok/s, 3 s
[strata] answering: 185 of max 262046 tokens, 52.0 tok/s, 4 s
[strata] answering: 231 of max 262046 tokens, 50.4 tok/s, 5 s
[strata] answering: 279 of max 262046 tokens, 49.9 tok/s, 6 s
[strata] answering: 343 of max 262046 tokens, 51.8 tok/s, 7 s
[strata] done: 375 tokens in 8 s (52.1 tok/s) (stop, cancel=False), expert cache 63.8% hit
[strata] reading the prompt: 427 of 432 tokens, 3 s so far
[strata] the engine reported an error: saving a conversation checkpoint failed
[strata] done: 0 tokens in 3 s (0.0 tok/s) (error, cancel=False)
[strata] the engine had stopped (exit code 1); starting it again (a minute or two) ...
[strata] starting the engine: reading the model's weights ...
[strata] loading the experts into RAM (about 55 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 browser opens when it is ready.
[strata] experts loaded: 46.84 GiB at 11.65 GiB/s (18 s so far)
[strata] filling the GPU's expert cache (1373 experts, 2.65 GiB of VRAM) ...
[strata] almost ready ...
[strata] the engine is running again
[strata] reading the prompt: 438 of 443 tokens, 3 s so far
[strata] the engine reported an error: saving a conversation checkpoint failed
[strata] done: 0 tokens in 3 s (0.0 tok/s) (error, cancel=False)

Originally created by @galmok on GitHub (Oct 3, 2026). Original GitHub issue: https://github.com/Niko1221/Strata/issues/613 I just clones the repo, ran START-.bat, answered questions, and a browser window showed and I entered a few standard queries (tell me a joke, tell me a story) and I got a usable response at 54 tps but on the third query (tell me a longer story), the GPU drivers crashed, triggering a .dmp file that reports this error: VIDEO_ENGINE_TIMEOUT_DETECTED Hardware: AMD 98950X3D 128GB RAM AMD 9070XT Software: Windows 11. GPU driver: 26.8.1 This is my full command line history: > PS C:\Tools\Strata\Strata> .\START-HERE.bat > Strata - Qwen3.8-Flash-Next on a normal PC (a GPU + system RAM + CPU) > > === Step 1: checking your PC === > Your AMD GPUs: > GPU 0: AMD Radeon RX 9070 XT, 16 GB VRAM - can be used > GPU 1: AMD Radeon(TM) Graphics, 2 GB VRAM - not supported - Strata's AMD backend runs on the RX 7900 XT / XTX (gfx1100), RX 7800 XT / 7700 XT (gfx1101), RX 9060 XT (gfx1200) and RX 9070 / 9070 XT / Radeon AI PRO R9700 (gfx1201), and the RX 6800 / 6900 series (gfx1030, unvalidated) only, this is unknown (PCI 13C0) > [ok] GPU: AMD Radeon RX 9070 XT, 15.9 GB VRAM, gfx1201 (AMD: docs/AMD_HIP.md) > [ok] RAM: 126 GB > [ok] CPU: AMD64 Family 26 Model 68 Stepping 0, AuthenticAMD (AVX-512) > > === Step 2: your choices === > 1) Qwen3.8-Flash-Next Qwen; GSQ-RCO quants by ISTA-DASLab - the original model > 2) Swift 1.5 UkisAI's fine-tune of Qwen3.8-Flash-Next - thinks much shorter (-63% thinking tokens, 1.8x sooner answers by its authors' numbers) > 3) Qwen3.8-Flash-Next Coder ISTA-DASLab's coding version - half the experts (code, tools, images kept): needs ~32 GB of RAM, faster; weaker outside coding > 4) Qwen3.8-Flash-Next (Unsloth) Unsloth's 4-bit quantization (EXPERIMENTAL) - 4-bit, 111 GB download, most experts read from the SSD: slow (7-8.5 tokens/s on a 64 GB PC) [experimental] > Which model? [1]: 1 > [ok] model: Qwen3.8-Flash-Next > > 1) Q2_0 2-bit, the fastest; download 66 GB, uses ~34 GB of RAM > 2) IQ2_XS 2-bit i-quant, a little better quality, close in speed; download 68 GB, uses ~36 GB of RAM > 3) IQ3_XXS 3-bit i-quant, better quality, slower (more CPU work per token); download 76 GB, uses ~43 GB of RAM > 4) IQ3_S 3.5-bit i-quant, the best quality (matches the full model), the slowest; needs a 64 GB PC with little else running; download 84 GB, uses ~50 GB of RAM > Which size? [3]: 4 > [ok] size: IQ3_S > > Context length = how much text the model can see at once (your chat, files, tool output). > Longer needs more VRAM for it, so fewer experts fit on the GPU: > 1) 8K tokens > 2) 32K tokens > 3) 64K tokens (recommended for your GPU) > 4) 128K tokens > 5) 256K tokens > 6) 384K tokens (experimental: setup adds rope scaling) > 7) 512K tokens (experimental: setup adds rope scaling) > Context? [3]: 5 > [ok] context: 262144 tokens > > KV cache precision (the model's memory of the conversation): > 1) 8-bit (recommended: what every published number was measured with) > 2) 4-bit half the memory (about 4% faster at 128K), but measurably less precise on long > documents; long-context lookups (needle tests) still pass > KV cache? [1]: 1 > [ok] KV cache: 8-bit > [ok] images: off > > EXPERIMENTAL - speed projection: a small control vector applied while the model runs (layers 4-44). > It changes how the model answers: its package describes it as a refusal-direction projection (the > model declines far fewer requests). Off unless you choose it; when on, the web app can switch it off > per chat. Details: data/experimental-speed-projection/README.md > Turn on the experimental speed projection? [n]: > [ok] experimental speed projection: off > > === Step 3: Python packages === > Installing numpy, jinja2, regex, pyyaml, tqdm, requests, cmake, ninja, pillow, psutil ... > > C:\Tools\Strata\Strata\.venv\Scripts\python.exe -m pip install --quiet --disable-pip-version-check numpy==2.5.3; python_version >= "3.12" numpy==2.4.6; python_version == "3.11" numpy==2.2.6; python_version < "3.11" jinja2==3.1.6 regex==2026.9.10 pyyaml==6.0.3 tqdm==4.70.1 requests==2.34.2 cmake==4.4.3 ninja==1.13.2 pillow==12.3.0 psutil==7.2.2 markupsafe==3.0.3 certifi==2026.7.22 charset-normalizer==3.5.1 idna==3.20 urllib3==2.8.0 colorama==0.4.6; sys_platform == "win32" > [ok] numpy, jinja2, regex, pyyaml, tqdm, requests, cmake, ninja, pillow, psutil installed > > === Step 4: the Strata engine === > llama.cpp source: 8.4 MB > [ok] llama.cpp source downloaded > [ok] llama.cpp 3cf0325 (gguf-py, ggml, mtmd) > Downloading the ready-made Strata engine for AMD GPUs (with the ROCm libraries it uses) ... > Strata AMD engine: 0.49 / 0.60 GB (83%) > [ok] Strata AMD engine downloaded > [ok] ready-made AMD engine 0.1.38 for gfx1100, gfx1101, gfx1102, gfx1200, gfx1201, gfx1030 (ROCm 10.2.0a20260930) > [ok] HIP numbers this card 1 (an integrated GPU comes first): the engine is pointed at it > [ok] engine: C:\Tools\Strata\Strata\engine\strata.exe > > === Step 5: downloading Qwen3.8-Flash-Next IQ3_S === > The model files go in C:\Tools\Strata\Strata-data\models\IQ3_S > Files you already have: put them here with their original names (Qwen3.8-Flash-Next-GSQ-RCO-IQ3_S-00001-of-00002.gguf, Qwen3.8-Flash-Next-GSQ-RCO-IQ3_S-00002-of-00002.gguf), or use --gguf-dir <their folder>. > Qwen3.8-Flash-Next-GSQ-RCO-IQ3_S-00001-of-00002.gguf: 54.75 / 54.82 GB (100%) > [ok] Qwen3.8-Flash-Next-GSQ-RCO-IQ3_S-00001-of-00002.gguf downloaded > Qwen3.8-Flash-Next-GSQ-RCO-IQ3_S-00002-of-00002.gguf: 28.80 / 28.80 GB (100%) > [ok] Qwen3.8-Flash-Next-GSQ-RCO-IQ3_S-00002-of-00002.gguf downloaded > [ok] model files present > > === Step 6: preparing the model for Strata === > > C:\Tools\Strata\Strata\.venv\Scripts\python.exe C:\Tools\Strata\Strata\tools\iq_pack.py --gguf C:\Tools\Strata\Strata-data\models\IQ3_S\Qwen3.8-Flash-Next-GSQ-RCO-IQ3_S-00001-of-00002.gguf --out C:\Tools\Strata\Strata-data\packs\iq3_s > model shards: Qwen3.8-Flash-Next-GSQ-RCO-IQ3_S-00001-of-00002.gguf, Qwen3.8-Flash-Next-GSQ-RCO-IQ3_S-00002-of-00002.gguf > index.txt: 1079 tensors, 302 served natively, 0 in extra.bin, arena 1.43 GiB > tokenizer/: vocab 248320, merges 247587, pre qwen35, specials {'tokenizer.ggml.eos_token_id': 248046, 'tokenizer.ggml.padding_token_id': 248044, 'tokenizer.ggml.bos_token_id': 248044} > [ok] model prepared: C:\Tools\Strata\Strata-data\packs\iq3_s > The MTP draft layer (speculative decoding, ~2x faster output) comes from the original Qwen checkpoint: > only its ~5 GB of MTP tensors are downloaded. > > C:\Tools\Strata\Strata\.venv\Scripts\python.exe C:\Tools\Strata\Strata\tools\mtp_fetch.py fetch --out C:\Tools\Strata\Strata-data\mtp > # MTP block in the BF16 checkpoint > > 31 tensors, 5.214 GB, in 28 shards. > > | tensor | dtype | shape | MB | > |---|---|---|---:| > | `mtp.fc_embedding.weight` | BF16 | 2560x2560 | 13.1 | > | `mtp.fc_hidden.weight` | BF16 | 2560x2560 | 13.1 | > | `mtp.hyper_connection_mixer.hc_norm.weight` | BF16 | 10240 | 0.0 | > | `mtp.hyper_connection_mixer.input_mix_weight_down.weight` | BF16 | 320x10240 | 6.6 | > | `mtp.hyper_connection_mixer.input_mix_weight_up.weight` | BF16 | 10240x320 | 6.6 | > | `mtp.layers.0.attn_hyper_connection.block_inject_weight.weight` | BF16 | 4x10240 | 0.1 | > | `mtp.layers.0.attn_hyper_connection.hc_norm.weight` | BF16 | 10240 | 0.0 | > | `mtp.layers.0.attn_hyper_connection.input_mix_weight_down.weight` | BF16 | 320x10240 | 6.6 | > | `mtp.layers.0.attn_hyper_connection.input_mix_weight_up.weight` | BF16 | 10240x320 | 6.6 | > | `mtp.layers.0.mlp.experts.down_proj` | BF16 | 512x2560x640 | 1677.7 | > | `mtp.layers.0.mlp.experts.gate_up_proj` | BF16 | 512x1280x2560 | 3355.4 | > | `mtp.layers.0.mlp.gate.weight` | BF16 | 512x2560 | 2.6 | > | `mtp.layers.0.mlp.shared_expert.down_proj.weight` | BF16 | 2560x640 | 3.3 | > | `mtp.layers.0.mlp.shared_expert.gate_proj.weight` | BF16 | 640x2560 | 3.3 | > | `mtp.layers.0.mlp.shared_expert.up_proj.weight` | BF16 | 640x2560 | 3.3 | > | `mtp.layers.0.mlp.shared_expert_gate.weight` | BF16 | 1x2560 | 0.0 | > | `mtp.layers.0.mlp_hyper_connection.block_inject_weight.weight` | BF16 | 4x10240 | 0.1 | > | `mtp.layers.0.mlp_hyper_connection.hc_norm.weight` | BF16 | 10240 | 0.0 | > | `mtp.layers.0.mlp_hyper_connection.input_mix_weight_down.weight` | BF16 | 320x10240 | 6.6 | > | `mtp.layers.0.mlp_hyper_connection.input_mix_weight_up.weight` | BF16 | 10240x320 | 6.6 | > | `mtp.layers.0.self_attn.indexer.index_qk_proj.weight` | BF16 | 640x2560 | 3.3 | > | `mtp.layers.0.self_attn.indexer.k_layernorm.weight` | BF16 | 128 | 0.0 | > | `mtp.layers.0.self_attn.indexer.q_layernorm.weight` | BF16 | 128 | 0.0 | > | `mtp.layers.0.self_attn.k_norm.weight` | BF16 | 256 | 0.0 | > | `mtp.layers.0.self_attn.k_proj.weight` | BF16 | 512x2560 | 2.6 | > | `mtp.layers.0.self_attn.o_proj.weight` | BF16 | 2560x6144 | 31.5 | > | `mtp.layers.0.self_attn.q_norm.weight` | BF16 | 256 | 0.0 | > | `mtp.layers.0.self_attn.q_proj.weight` | BF16 | 12288x2560 | 62.9 | > | `mtp.layers.0.self_attn.v_proj.weight` | BF16 | 512x2560 | 2.6 | > | `mtp.pre_fc_norm_embedding.weight` | BF16 | 2560 | 0.0 | > | `mtp.pre_fc_norm_hidden.weight` | BF16 | 10240 | 0.0 | > > mtp.fc_embedding.weight 100% > mtp.fc_hidden.weight 100% > mtp.hyper_connection_mixer.hc_norm.weight 100% > mtp.hyper_connection_mixer.input_mix_weight_down.weight 100% > mtp.hyper_connection_mixer.input_mix_weight_up.weight 100% > mtp.layers.0.attn_hyper_connection.block_inject_weight.weight 100% > mtp.layers.0.attn_hyper_connection.hc_norm.weight 100% > mtp.layers.0.attn_hyper_connection.input_mix_weight_down.weight 100% > mtp.layers.0.attn_hyper_connection.input_mix_weight_up.weight 100% > mtp.layers.0.mlp.experts.down_proj 4% > mtp.layers.0.mlp.experts.down_proj 8% > mtp.layers.0.mlp.experts.down_proj 12% > mtp.layers.0.mlp.experts.down_proj 16% > mtp.layers.0.mlp.experts.down_proj 20% > mtp.layers.0.mlp.experts.down_proj 24% > mtp.layers.0.mlp.experts.down_proj 28% > mtp.layers.0.mlp.experts.down_proj 32% > mtp.layers.0.mlp.experts.down_proj 36% > mtp.layers.0.mlp.experts.down_proj 40% > mtp.layers.0.mlp.experts.down_proj 44% > mtp.layers.0.mlp.experts.down_proj 48% > mtp.layers.0.mlp.experts.down_proj 52% > mtp.layers.0.mlp.experts.down_proj 56% > mtp.layers.0.mlp.experts.down_proj 60% > mtp.layers.0.mlp.experts.down_proj 64% > mtp.layers.0.mlp.experts.down_proj 68% > mtp.layers.0.mlp.experts.down_proj 72% > mtp.layers.0.mlp.experts.down_proj 76% > mtp.layers.0.mlp.experts.down_proj 80% > mtp.layers.0.mlp.experts.down_proj 84% > mtp.layers.0.mlp.experts.down_proj 88% > mtp.layers.0.mlp.experts.down_proj 92% > mtp.layers.0.mlp.experts.down_proj 96% > mtp.layers.0.mlp.experts.down_proj 100% > mtp.layers.0.mlp.experts.gate_up_proj 2% > mtp.layers.0.mlp.experts.gate_up_proj 4% > mtp.layers.0.mlp.experts.gate_up_proj 6% > mtp.layers.0.mlp.experts.gate_up_proj 8% > mtp.layers.0.mlp.experts.gate_up_proj 10% > mtp.layers.0.mlp.experts.gate_up_proj 12% > mtp.layers.0.mlp.experts.gate_up_proj 14% > mtp.layers.0.mlp.experts.gate_up_proj 16% > mtp.layers.0.mlp.experts.gate_up_proj 18% > mtp.layers.0.mlp.experts.gate_up_proj 20% > mtp.layers.0.mlp.experts.gate_up_proj 22% > mtp.layers.0.mlp.experts.gate_up_proj 24% > mtp.layers.0.mlp.experts.gate_up_proj 26% > mtp.layers.0.mlp.experts.gate_up_proj 28% > mtp.layers.0.mlp.experts.gate_up_proj 30% > mtp.layers.0.mlp.experts.gate_up_proj 32% > mtp.layers.0.mlp.experts.gate_up_proj 34% > mtp.layers.0.mlp.experts.gate_up_proj 36% > mtp.layers.0.mlp.experts.gate_up_proj 38% > mtp.layers.0.mlp.experts.gate_up_proj 40% > mtp.layers.0.mlp.experts.gate_up_proj 42% > mtp.layers.0.mlp.experts.gate_up_proj 44% > mtp.layers.0.mlp.experts.gate_up_proj 46% > mtp.layers.0.mlp.experts.gate_up_proj 48% > mtp.layers.0.mlp.experts.gate_up_proj 50% > mtp.layers.0.mlp.experts.gate_up_proj 52% > mtp.layers.0.mlp.experts.gate_up_proj 54% > mtp.layers.0.mlp.experts.gate_up_proj 56% > mtp.layers.0.mlp.experts.gate_up_proj 58% > mtp.layers.0.mlp.experts.gate_up_proj 60% > mtp.layers.0.mlp.experts.gate_up_proj 62% > mtp.layers.0.mlp.experts.gate_up_proj 64% > mtp.layers.0.mlp.experts.gate_up_proj 66% > mtp.layers.0.mlp.experts.gate_up_proj 68% > mtp.layers.0.mlp.experts.gate_up_proj 70% > mtp.layers.0.mlp.experts.gate_up_proj 72% > mtp.layers.0.mlp.experts.gate_up_proj 74% > mtp.layers.0.mlp.experts.gate_up_proj 76% > mtp.layers.0.mlp.experts.gate_up_proj 78% > mtp.layers.0.mlp.experts.gate_up_proj 80% > mtp.layers.0.mlp.experts.gate_up_proj 82% > mtp.layers.0.mlp.experts.gate_up_proj 84% > mtp.layers.0.mlp.experts.gate_up_proj 86% > mtp.layers.0.mlp.experts.gate_up_proj 88% > mtp.layers.0.mlp.experts.gate_up_proj 90% > mtp.layers.0.mlp.experts.gate_up_proj 92% > mtp.layers.0.mlp.experts.gate_up_proj 94% > mtp.layers.0.mlp.experts.gate_up_proj 96% > mtp.layers.0.mlp.experts.gate_up_proj 98% > mtp.layers.0.mlp.experts.gate_up_proj 100% > mtp.layers.0.mlp.gate.weight 100% > mtp.layers.0.mlp.shared_expert.down_proj.weight 100% > mtp.layers.0.mlp.shared_expert.gate_proj.weight 100% > mtp.layers.0.mlp.shared_expert.up_proj.weight 100% > mtp.layers.0.mlp.shared_expert_gate.weight 100% > mtp.layers.0.mlp_hyper_connection.block_inject_weight.weight 100% > mtp.layers.0.mlp_hyper_connection.hc_norm.weight 100% > mtp.layers.0.mlp_hyper_connection.input_mix_weight_down.weight 100% > mtp.layers.0.mlp_hyper_connection.input_mix_weight_up.weight 100% > mtp.layers.0.self_attn.indexer.index_qk_proj.weight 100% > mtp.layers.0.self_attn.indexer.k_layernorm.weight 100% > mtp.layers.0.self_attn.indexer.q_layernorm.weight 100% > mtp.layers.0.self_attn.k_norm.weight 100% > mtp.layers.0.self_attn.k_proj.weight 100% > mtp.layers.0.self_attn.o_proj.weight 100% > mtp.layers.0.self_attn.q_norm.weight 100% > mtp.layers.0.self_attn.q_proj.weight 100% > mtp.layers.0.self_attn.v_proj.weight 100% > mtp.pre_fc_norm_embedding.weight 100% > mtp.pre_fc_norm_hidden.weight 100% > > C:\Tools\Strata\Strata\.venv\Scripts\python.exe C:\Tools\Strata\Strata\tools\mtp_pack.py --src C:\Tools\Strata\Strata-data\mtp --experts q2_0 --out C:\Tools\Strata\Strata-data\mtp\mtp-q2_0.gguf > mtp.fc_embedding.weight: BF16 13.1 MB > mtp.fc_hidden.weight: BF16 13.1 MB > mtp.hyper_connection_mixer.hc_norm.weight: F32 0.0 MB > mtp.hyper_connection_mixer.input_mix_weight_down.weight: BF16 6.6 MB > mtp.hyper_connection_mixer.input_mix_weight_up.weight: BF16 6.6 MB > mtp.layers.0.attn_hyper_connection.block_inject_weight.weight: BF16 0.1 MB > mtp.layers.0.attn_hyper_connection.hc_norm.weight: F32 0.0 MB > mtp.layers.0.attn_hyper_connection.input_mix_weight_down.weight: BF16 6.6 MB > mtp.layers.0.attn_hyper_connection.input_mix_weight_up.weight: BF16 6.6 MB > mtp.layers.0.mlp.experts.down_proj: q2_0 235.9 MB > mtp.layers.0.mlp.experts.gate_up_proj: q2_0 471.9 MB > mtp.layers.0.mlp.gate.weight: BF16 2.6 MB > mtp.layers.0.mlp.shared_expert.down_proj.weight: BF16 3.3 MB > mtp.layers.0.mlp.shared_expert.gate_proj.weight: BF16 3.3 MB > mtp.layers.0.mlp.shared_expert.up_proj.weight: BF16 3.3 MB > mtp.layers.0.mlp.shared_expert_gate.weight: BF16 0.0 MB > mtp.layers.0.mlp_hyper_connection.block_inject_weight.weight: BF16 0.1 MB > mtp.layers.0.mlp_hyper_connection.hc_norm.weight: F32 0.0 MB > mtp.layers.0.mlp_hyper_connection.input_mix_weight_down.weight: BF16 6.6 MB > mtp.layers.0.mlp_hyper_connection.input_mix_weight_up.weight: BF16 6.6 MB > mtp.layers.0.self_attn.indexer.index_qk_proj.weight: BF16 3.3 MB > mtp.layers.0.self_attn.indexer.k_layernorm.weight: F32 0.0 MB > mtp.layers.0.self_attn.indexer.q_layernorm.weight: F32 0.0 MB > mtp.layers.0.self_attn.k_norm.weight: F32 0.0 MB > mtp.layers.0.self_attn.k_proj.weight: BF16 2.6 MB > mtp.layers.0.self_attn.o_proj.weight: BF16 31.5 MB > mtp.layers.0.self_attn.q_norm.weight: F32 0.0 MB > mtp.layers.0.self_attn.q_proj.weight: BF16 62.9 MB > mtp.layers.0.self_attn.v_proj.weight: BF16 2.6 MB > mtp.pre_fc_norm_embedding.weight: F32 0.0 MB > mtp.pre_fc_norm_hidden.weight: F32 0.0 MB > wrote C:\Tools\Strata\Strata-data\mtp\mtp-q2_0.gguf: 0.889 GB of tensor data > > C:\Tools\Strata\Strata\.venv\Scripts\python.exe C:\Tools\Strata\Strata\tools\mtp_rt.py --gguf C:\Tools\Strata\Strata-data\mtp\mtp-q2_0.gguf --out C:\Tools\Strata\Strata-data\mtp\rt > experts.bin 707788800 B, dense.bin 116099072 B, 29 tensors -> C:\Tools\Strata\Strata-data\mtp\rt > fc_embedding.weight q8_0 2560 2560 0 6963200 > fc_hidden.weight q8_0 2560 2560 6963200 6963200 > hyper_connection_mixer.hc_norm.weight f32 1 10240 13926400 40960 > hyper_connection_mixer.input_mix_weight_down.weight bf16 320 10240 13967360 6553600 > hyper_connection_mixer.input_mix_weight_up.weight bf16 10240 320 20520960 6553600 > attn_hyper_connection.block_inject_weight.weight bf16 4 10240 27074560 81920 > attn_hyper_connection.hc_norm.weight f32 1 10240 27156480 40960 > attn_hyper_connection.input_mix_weight_down.weight bf16 320 10240 27197440 6553600 > attn_hyper_connection.input_mix_weight_up.weight bf16 10240 320 33751040 6553600 > mlp.gate.weight bf16 512 2560 40304640 2621440 > mlp.shared_expert.down_proj.weight q8_0 2560 640 42926080 1740800 > mlp.shared_expert.gate_proj.weight q8_0 640 2560 44666880 1740800 > mlp.shared_expert.up_proj.weight q8_0 640 2560 46407680 1740800 > mlp.shared_expert_gate.weight bf16 1 2560 48148480 5120 > mlp_hyper_connection.block_inject_weight.weight bf16 4 10240 48153600 81920 > mlp_hyper_connection.hc_norm.weight f32 1 10240 48235520 40960 > mlp_hyper_connection.input_mix_weight_down.weight bf16 320 10240 48276480 6553600 > mlp_hyper_connection.input_mix_weight_up.weight bf16 10240 320 54830080 6553600 > self_attn.indexer.index_qk_proj.weight q8_0 640 2560 61383680 1740800 > self_attn.indexer.k_layernorm.weight f32 1 128 63124480 512 > self_attn.indexer.q_layernorm.weight f32 1 128 63124992 512 > self_attn.k_norm.weight f32 1 256 63125504 1024 > self_attn.k_proj.weight q8_0 512 2560 63126528 1392640 > self_attn.o_proj.weight q8_0 2560 6144 64519168 16711680 > self_attn.q_norm.weight f32 1 256 81230848 1024 > self_attn.q_proj.weight q8_0 12288 2560 81231872 33423360 > self_attn.v_proj.weight q8_0 512 2560 114655232 1392640 > pre_fc_norm_embedding.weight f32 1 2560 116047872 10240 > pre_fc_norm_hidden.weight f32 1 10240 116058112 40960 > [ok] MTP draft layer: C:\Tools\Strata\Strata-data\mtp\rt > > === Step 7: writing the start script === > [ok] KV streaming on: the context's KV cache lives in RAM (3.6 GB), more experts fit in VRAM > [ok] hipBLASLt tuning table: gfx1201-hipblaslt-100500.txt (faster prompts) > [ok] start script: run-iq3_s.bat > > All set. > API (OpenAI): http://127.0.0.1:8080/v1 (any API key; model name: anything) > API (Anthropic): http://127.0.0.1:8080/v1/messages > Next time: just run START-HERE.bat (or run-iq3_s.bat) - it starts right away > [ok] GPU: AMD Radeon RX 9070 XT (16 GB, AMD) > > ---------------------------------------------------------------------------------------------------- > Starting qwen3.8-flash-next-iq3_s: it loads about 55 GB into RAM and locks part of it for the GPU. > While it does, YOUR PC CAN BE SLOW OR STOP RESPONDING FOR 1-3 MINUTES (longer the first time after a > restart). That is normal: please wait and don't close this window - the browser opens when it is ready. > Later, closing this window stops the model. > ---------------------------------------------------------------------------------------------------- > Settings (strata-iq3_s.json): --expert-cache auto --prefill auto --spec 4 --spec-min-p 0.5 > --max-context 262144 --kv int8 --kv-resident 32768; server 127.0.0.1:8080, gpu 1 > 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 55 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 browser opens when it is ready. > [strata] experts loaded: 46.84 GiB at 9.39 GiB/s (19 s so far) > [strata] filling the GPU's expert cache (1373 experts, 2.65 GiB of VRAM) ... > ready: http://127.0.0.1:8080/v1 (OpenAI: /v1/chat/completions, Anthropic: /v1/messages, context 262144 tokens) > open http://127.0.0.1:8080/ in a browser to chat; close this window to stop the model > [strata] thinking: 10 of max 262079 tokens, 47.6 tok/s, 1 s > [strata] done: 41 tokens in 2 s (54.6 tok/s) (stop, cancel=False), expert cache 33.8% hit > [strata] thinking: 30 of max 262046 tokens, 56.9 tok/s, 1 s > [strata] answering: 76 of max 262046 tokens, 49.6 tok/s, 2 s > [strata] answering: 131 of max 262046 tokens, 51.7 tok/s, 3 s > [strata] answering: 185 of max 262046 tokens, 52.0 tok/s, 4 s > [strata] answering: 231 of max 262046 tokens, 50.4 tok/s, 5 s > [strata] answering: 279 of max 262046 tokens, 49.9 tok/s, 6 s > [strata] answering: 343 of max 262046 tokens, 51.8 tok/s, 7 s > [strata] done: 375 tokens in 8 s (52.1 tok/s) (stop, cancel=False), expert cache 63.8% hit > [strata] reading the prompt: 427 of 432 tokens, 3 s so far > [strata] the engine reported an error: saving a conversation checkpoint failed > [strata] done: 0 tokens in 3 s (0.0 tok/s) (error, cancel=False) > [strata] the engine had stopped (exit code 1); starting it again (a minute or two) ... > [strata] starting the engine: reading the model's weights ... > [strata] loading the experts into RAM (about 55 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 browser opens when it is ready. > [strata] experts loaded: 46.84 GiB at 11.65 GiB/s (18 s so far) > [strata] filling the GPU's expert cache (1373 experts, 2.65 GiB of VRAM) ... > [strata] almost ready ... > [strata] the engine is running again > [strata] reading the prompt: 438 of 443 tokens, 3 s so far > [strata] the engine reported an error: saving a conversation checkpoint failed > [strata] done: 0 tokens in 3 s (0.0 tok/s) (error, cancel=False)
Author
Owner

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

Thanks for the full transcript. The "saving a conversation checkpoint failed" error is the engine noticing that the GPU had stopped (the checkpoint waits for the GPU first), and VIDEO_ENGINE_TIMEOUT_DETECTED is Windows resetting the driver after the GPU hung. It happened while reading a prompt with KV streaming on (--kv-resident 32768, which setup turns on from 64K context up), and we have two Linux reports on gfx1201 cards that stall at the same stage with the same setting (#579, #541).

Could you run SETUP.bat again, pick 32K context (no KV streaming there), and tell us whether it still happens on a few longer prompts? Please also post the last ~80 lines of strata-iq3_s.log after a crash and your AMD driver version.

<!-- gh-comment-id:5970948096 --> @Niko1221 commented on GitHub (Oct 3, 2026): Thanks for the full transcript. The "saving a conversation checkpoint failed" error is the engine noticing that the GPU had stopped (the checkpoint waits for the GPU first), and VIDEO_ENGINE_TIMEOUT_DETECTED is Windows resetting the driver after the GPU hung. It happened while reading a prompt with KV streaming on (`--kv-resident 32768`, which setup turns on from 64K context up), and we have two Linux reports on gfx1201 cards that stall at the same stage with the same setting (#579, #541). Could you run `SETUP.bat` again, pick 32K context (no KV streaming there), and tell us whether it still happens on a few longer prompts? Please also post the last ~80 lines of `strata-iq3_s.log` after a crash and your AMD driver version.
Author
Owner

@galmok commented on GitHub (Oct 3, 2026):

I tried running the start bat file again, and it didn't ask questions, but it worked fine then. I configured opencode to use the endpoint and have been working with it. The context got too large and I had to do a manual compaction. I am note sure what else I could do. Strata gave this message to opencode:

prompt (231136 tokens) + max tokens (32000) exceeds the context (262144); requests are never truncated. Send a smaller max_tokens (at most 31000 here), or add "fit_max_tokens": true to the model's strata-.json to shorten it to the room left (#54

I have attached the log file as is.

strata-iq3_s.log

<!-- gh-comment-id:5971166017 --> @galmok commented on GitHub (Oct 3, 2026): I tried running the start bat file again, and it didn't ask questions, but it worked fine then. I configured opencode to use the endpoint and have been working with it. The context got too large and I had to do a manual compaction. I am note sure what else I could do. Strata gave this message to opencode: > prompt (231136 tokens) + max tokens (32000) exceeds the context (262144); requests are never truncated. Send a smaller max_tokens (at most 31000 here), or add "fit_max_tokens": true to the model's strata-<model>.json to shorten it to the room left (#54 I have attached the log file as is. [strata-iq3_s.log](https://github.com/user-attachments/files/33006760/strata-iq3_s.log)
Author
Owner

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

Thanks for the full transcript. The checkpoint error comes from the engine waiting for the GPU after the prompt was read, and VIDEO_ENGINE_TIMEOUT_DETECTED is Windows resetting the driver after the GPU hung. In 0.1.39 that error says so directly ("the GPU stopped responding"). 0.1.39 adds two switches for this cluster (#579, #541), and both work in the Windows AMD zip:

  • STRATA_PF_STEP_SYNC=1: the prompt path waits for the GPU after each step and logs any step over 250 ms, so the log names the step that hangs.
  • STRATA_KV_HOST_DMA=1: no GPU kernel writes the RAM copy of the K/V during a prompt; it is copied by DMA instead. Same answers.

It would help to know whether it still happens with STRATA_KV_HOST_DMA=1 set in the config's "env" block, and whether it happens at 32K context (no KV streaming). Please also post the last ~80 lines of strata-iq3_s.log and your AMD driver version.

<!-- gh-comment-id:5979967528 --> @Niko1221 commented on GitHub (Oct 4, 2026): Thanks for the full transcript. The checkpoint error comes from the engine waiting for the GPU after the prompt was read, and VIDEO_ENGINE_TIMEOUT_DETECTED is Windows resetting the driver after the GPU hung. In 0.1.39 that error says so directly ("the GPU stopped responding"). 0.1.39 adds two switches for this cluster (#579, #541), and both work in the Windows AMD zip: - `STRATA_PF_STEP_SYNC=1`: the prompt path waits for the GPU after each step and logs any step over 250 ms, so the log names the step that hangs. - `STRATA_KV_HOST_DMA=1`: no GPU kernel writes the RAM copy of the K/V during a prompt; it is copied by DMA instead. Same answers. It would help to know whether it still happens with `STRATA_KV_HOST_DMA=1` set in the config's `"env"` block, and whether it happens at 32K context (no KV streaming). Please also post the last ~80 lines of `strata-iq3_s.log` and your AMD driver version.
Author
Owner

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

0.1.40 has the doorbell fence from #697 (HIP only). If you can, please test a prompt with KV streaming on that build and tell us if the TDR still happens.

<!-- gh-comment-id:6010864053 --> @Niko1221 commented on GitHub (Oct 6, 2026): 0.1.40 has the doorbell fence from #697 (HIP only). If you can, please test a prompt with KV streaming on that build and tell us if the TDR still happens.
Author
Owner

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

Please retest on 0.1.40: it adds the #697 fence and the TDR you saw happened with KV streaming on a prompt. Try STRATA_PF_STEP_SYNC=1 and tell us whether the VIDEO_ENGINE_TIMEOUT_DETECTED comes again, with the log.

<!-- gh-comment-id:6037718018 --> @Niko1221 commented on GitHub (Oct 7, 2026): Please retest on 0.1.40: it adds the #697 fence and the TDR you saw happened with KV streaming on a prompt. Try STRATA_PF_STEP_SYNC=1 and tell us whether the VIDEO_ENGINE_TIMEOUT_DETECTED comes again, with the log.
Author
Owner

@galmok commented on GitHub (Oct 7, 2026):

I tried pulling the latest changes using with "git pull", but got an error I haven't seen before. I guess I have to pull a new clone and start all over:
fatal: refusing to merge unrelated histories
It'll take a bit of time and I do not entirely remember the options I chose, so it wont be a one-to-one test.

<!-- gh-comment-id:6043001761 --> @galmok commented on GitHub (Oct 7, 2026): I tried pulling the latest changes using with "git pull", but got an error I haven't seen before. I guess I have to pull a new clone and start all over: fatal: refusing to merge unrelated histories It'll take a bit of time and I do not entirely remember the options I chose, so it wont be a one-to-one test.
Author
Owner

@galmok commented on GitHub (Oct 7, 2026):

I cloned the repo again, copied over strata-iq3_s.json, ran START-HERE.bat, it failed, then ran SETUP.bat, answered the question like I did the first time (without setting the two environment variables) and it started up just fine. I asked it to generate some text and it went along at expected speed. I told it to create a story.

I tried downloading the binary (for amd hip) but it was too cumbersome to start (never managed it, but didn't try very hard), which is why I cloned the repo fresh. That was much easier to get going.

Afterwards, I set the env var and started, and it also went fine:
PS C:\Tools\Strata\Strata> $env:STRATA_PF_STEP_SYNC=1
PS C:\Tools\Strata\Strata> .\START-HERE.bat

I am on commit:
commit e8ca9afd03 (HEAD -> main, tag: v0.1.40.2, origin/main, origin/HEAD)

<!-- gh-comment-id:6043681821 --> @galmok commented on GitHub (Oct 7, 2026): I cloned the repo again, copied over strata-iq3_s.json, ran START-HERE.bat, it failed, then ran SETUP.bat, answered the question like I did the first time (without setting the two environment variables) and it started up just fine. I asked it to generate some text and it went along at expected speed. I told it to create a story. I tried downloading the binary (for amd hip) but it was too cumbersome to start (never managed it, but didn't try very hard), which is why I cloned the repo fresh. That was much easier to get going. Afterwards, I set the env var and started, and it also went fine: PS C:\Tools\Strata\Strata> $env:STRATA_PF_STEP_SYNC=1 PS C:\Tools\Strata\Strata> .\START-HERE.bat I am on commit: commit e8ca9afd03d839d4f8dbbe82dffce7f8a3bafd7a (HEAD -> main, tag: v0.1.40.2, origin/main, origin/HEAD)
Author
Owner

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

Thanks for the report. To keep the tracker current we are closing issues older than three days: 0.1.44 is out with a long list of fixes, and many older reports are covered by it or by 0.1.43.1.

If this still happens on 0.1.44, please leave a comment here with your engine log (and the version line it prints), and we will reopen it. A new issue that links this one works too.

<!-- gh-comment-id:6155942604 --> @Niko1221 commented on GitHub (Oct 13, 2026): Thanks for the report. To keep the tracker current we are closing issues older than three days: [0.1.44](https://github.com/Niko1221/Strata/releases/tag/v0.1.44) is out with a long list of fixes, and many older reports are covered by it or by 0.1.43.1. If this still happens on 0.1.44, please leave a comment here with your engine log (and the version line it prints), and we will reopen it. A new issue that links this one works too.
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#291
No description provided.