[GH-ISSUE #916] Unable to launch Strata on RTX 2060 6GB VRAM + 32 GB RAM #399

Closed
opened 2026-11-04 01:42:39 +07:00 by bsakaguchi · 17 comments
Owner

Originally created by @lollo78 on GitHub (Oct 5, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/916

**Hi, I'm trying to launch Strata also on my laptop, but it fails.

Here the full log:**

`Strata - Qwen3.8-Flash-Next on a normal PC (a GPU + system RAM + CPU)

=== Step 1: checking your PC ===
[ok] GPU: NVIDIA GeForce RTX 2060, 6.0 GB VRAM, compute capability 7.5, driver 617.14
[!] less than 12 GB of VRAM: Strata will run, but most experts stay on the CPU and it will be slow
[ok] RAM: 32 GB
[ok] CPU: Intel(R) Core(TM) i7-10750H CPU @ 2.60GHz (AVX2)

=== 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 quantizations - UD-IQ4_XS: a 94 GB download; with less than ~80 GB of RAM part of its experts are read from the SSD (UD-Q4_K_XL, 111 GB: experimental)
    Which model? [1]: 3
    [ok] model: Qwen3.8-Flash-Next Coder

  5. IQ1_M the Coder's only size: half the experts, stored like IQ3_S (3.5 bits); download 58 GB, uses ~23 GB of RAM <- fits in the low-RAM mode (the GPU holds ~4%, the rest from the SSD)
    Which size? [1]:
    [ok] size: IQ1_M

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 (recommended for your GPU)
  3. 64K tokens
  4. 128K tokens
  5. 256K tokens
  6. 384K tokens (experimental: setup adds rope scaling)
  7. 512K tokens (experimental: setup adds rope scaling)
    Context? [2]: 2
    [ok] context: 32768 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]: 2
    [ok] KV cache: 4-bit (Hadamard-rotated)

Images: the model can also read pictures (screenshots, photos, scanned pages). This adds a 0.9 GB
download and keeps ~1.4 GB of VRAM free for the image encoder, so text is a few % slower.
Do you want images? [n]: n
[ok] images: off
[ok] low-RAM mode: IQ1_M's experts (23 GB) are read from the model folder through the OS file cache instead of a copy in RAM (32 GB); the GPU holds ~4% of them
[!] most of the experts are read from the SSD while it answers: expect it to be much slower than with enough RAM (a faster SSD and a smaller size help)

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 ...

D:\Strata-main.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: 0.04 / 0.04 GB (100%)
[ok] llama.cpp source downloaded
[ok] llama.cpp 3cf0325 (gguf-py, ggml, mtmd)
Downloading the ready-made Strata engine ...
Strata engine: 0.09 / 0.12 GB (75%)
[ok] Strata engine downloaded
[ok] ready-made engine 0.1.39 for sm_75, sm_86, sm_89, sm_120 (CUDA 13.0)
Installing NVIDIA CUDA libraries (cuBLAS, CUDA runtime; ~0.4 GB) ...

D:\Strata-main.venv\Scripts\python.exe -m pip install --quiet --disable-pip-version-check nvidia-cublas==13.0.2.14 nvidia-cuda-runtime==13.0.96
[ok] NVIDIA CUDA libraries (cuBLAS, CUDA runtime; ~0.4 GB) installed
[ok] engine: D:\Strata-main\engine\strata.exe

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

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

D:\Strata-main.venv\Scripts\python.exe D:\Strata-main\tools\iq_pack.py --gguf D:\Strata-data\models\coder-IQ1_M\Qwen3.8-Flash-Next-GSQ-RCO-IQ1_M-00001-of-00002.gguf --out D:\Strata-data\packs\coder-iq1_m
model shards: Qwen3.8-Flash-Next-GSQ-RCO-IQ1_M-00001-of-00002.gguf, Qwen3.8-Flash-Next-GSQ-RCO-IQ1_M-00002-of-00002.gguf
index.txt: 1079 tensors, 302 served natively, 0 in extra.bin, arena 1.37 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}
Writing the experts into one file for the low-RAM mode (one time, 23 GB) ...
D:\Strata-main.venv\Scripts\python.exe D:\Strata-main\tools\iq_pack.py --gguf D:\Strata-data\models\coder-IQ1_M\Qwen3.8-Flash-Next-GSQ-RCO-IQ1_M-00001-of-00002.gguf --out D:\Strata-data\packs\coder-iq1_m --experts-bin
model shards: Qwen3.8-Flash-Next-GSQ-RCO-IQ1_M-00001-of-00002.gguf, Qwen3.8-Flash-Next-GSQ-RCO-IQ1_M-00002-of-00002.gguf
index.txt: 1079 tensors, 302 served natively, 0 in extra.bin, arena 1.37 GiB
layer 0 IQ3_XXS /IQ4_NL blob 2176000 at 0.00 GiB
layer 8 IQ2_S /Q2_0 blob 1510400 at 3.75 GiB
layer 16 IQ3_XXS /IQ4_NL blob 2176000 at 7.17 GiB
layer 24 IQ2_S /IQ4_NL blob 1971200 at 11.07 GiB
layer 32 IQ2_S /IQ4_NL blob 1971200 at 15.16 GiB
layer 40 IQ3_S /IQ4_NL blob 2329600 at 19.04 GiB
experts.bin: 48 layers, 23.42 GiB
[ok] model prepared: D:\Strata-data\packs\coder-iq1_m
The MTP draft layer (speculative decoding, ~2x faster output) comes from the original Qwen checkpoint:
only its ~5 GB of MTP tensors are downloaded.
D:\Strata-main.venv\Scripts\python.exe D:\Strata-main\tools\mtp_fetch.py fetch --out D:\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%

D:\Strata-main.venv\Scripts\python.exe D:\Strata-main\tools\mtp_pack.py --src D:\Strata-data\mtp --experts q2_0 --out D:\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 D:\Strata-data\mtp\mtp-q2_0.gguf: 0.889 GB of tensor data
D:\Strata-main.venv\Scripts\python.exe D:\Strata-main\tools\mtp_rt.py --gguf D:\Strata-data\mtp\mtp-q2_0.gguf --out D:\Strata-data\mtp\rt
experts.bin 707788800 B, dense.bin 116099072 B, 29 tensors -> D:\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: D:\Strata-data\mtp\rt
Tip for a 6 GB card: the draft layer's default token subset (with Chinese, Japanese and Korean) needs up to ~348 MiB of VRAM.
For English and code answers, START-HERE.bat --draft-vocab en needs up to ~133 MiB (cyrillic: ~193) and leaves the rest to the expert cache - and it is the
fix when the start stops with "the draft head does not fit". The model keeps the choice.

=== Step 7: writing the start script ===
If the start stops with "no VRAM is left for the expert cache" (the engine's log says how much is short):
run START-HERE.bat --setup again with an 8K context (a smaller KV cache) and --draft-vocab en (a draft head of ~133 MiB instead of ~348), or close other programs that use the GPU.
Tune Strata for this PC now? It measures a few engine settings (about 5-10 minutes; the PC is busy meanwhile; later: START-HERE --calibrate) [y]: y

Tuning Strata for this PC: the output speed is measured with a few engine settings (the PCIe share, the
draft depth, the CPU threads). It takes about 5-10 minutes; the PC is busy meanwhile.
Loading the model for the measurements ...
[strata] starting the engine: reading the model's weights ...
[strata] mapping the experts from the model files (about 30 GB, --mmap-experts): they are not loaded into RAM - the OS file cache reads them as the GPU's expert cache fills and as requests need them.
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] almost ready ...
[!] the tuning did not finish (the engine exited before it was ready (see D:\Strata-main\strata-coder-iq1_m.log)
the engine log's last lines:
strata generate: PCIe probe: 12.7 GB/s host->device (best of 12.7 12.7 12.7 12.7) -> pcie_frac 0.35 (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: D:\Strata-data\packs\coder-iq1_m experts (largest blob 2.66 MB), token embedding IQ4_XS in mapped host memory (322 MiB)
strata generate: 1406 MiB of weights loaded from D:\Strata-data\packs\coder-iq1_m (302 canonical tensors skipped: served natively)
strata generate: 300 native projection matrices, 2018.88 MiB of weights
strata generate: the SSD is kept awake while rows are read: one page of the table after 100 ms without a read, until 60 s after the last request (STRATA_SSD_KEEPALIVE=0 turns it off)
strata generate: profile D:\Strata-main\data\expert-profile-coder.bin: 12288 ranked pairs, built for 12288 slots
strata generate: PLE on, table 320001536 rows of D:\Strata-data\models\coder-IQ1_M\Qwen3.8-Flash-Next-GSQ-RCO-IQ1_M-00002-of-00002.gguf
strata mtp: draft layer loaded, 824 MiB of VRAM (experts 675, dense 111), files read in 0.52 s (1525 MiB/s)
strata generate: experimental native Q5_K head, 521472000 bytes
strata generate: GPU 0: NVIDIA GeForce RTX 2060, compute capability 7.5
strata generate: experts via mmap (--mmap-experts; the A/B arm of R2.1)
strata generate: expert cache auto: 0.00 GiB free, 700 MiB reserved (+218 MiB for the draft head) -> 0 slots
strata generate: no VRAM is left for the expert cache: it needs at least 241 slots (611 MiB), about 1131 MiB more than this card has free. To make room: a smaller --max-context (the session, mostly its KV cache, takes 393 MiB at 32768 tokens), --kv q4_0, the English draft subset (setup --draft-vocab en; the draft head takes 218 MiB now), images on the CPU, or close other programs that use the GPU
strata generate: pre-filled 0 of 0 slots from the profile; slot 0 verified
strata generate: 5 expert-pool workers + the host thread
strata generate: session is up (engine 0.1.39)
strata serve: the prompt path allocates its own buffers (too few cache slots to borrow)
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 serve: verify: needs the profile-filled VRAM expert tier (--expert-profile and --expert-cache); with --expert-cache auto, no VRAM was left for it - the 'no VRAM is left for the expert cache' line above says how much is short and what makes room (a smaller --max-context, --kv q4_0, setup --draft-vocab en, images on the CPU)): the default settings stay
the engine said: strata serve: verify: needs the profile-filled VRAM expert tier (--expert-profile and --expert-cache); with --expert-cache auto, no VRAM was left for it - the 'no VRAM is left for the expert cache' line above says how much is short and what makes room (a smaller --max-context, --kv q4_0, setup --draft-vocab en, images on the CPU)
[ok] start script: run-coder-iq1_m.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-coder-iq1_m.bat) - it starts right away
Several requests at once: left at one at a time - parallel N reduces waiting for several users but costs about 10-25% speed per request on this card (docs/BATCHING.md).
Tuning: FAILED (the reason is above): the default settings stay - START-HERE.bat --calibrate tries again
[ok] GPU: GPU 0 (NVIDIA GeForce RTX 2060, 6 GB)


Starting qwen3.8-flash-next-coder-iq1_m: it maps about 30 GB of experts from the model files (the OS file cache reads them).
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-coder-iq1_m.json): --expert-cache auto --prefill auto --spec 4 --spec-min-p 0.5
--max-context 32768 --kv q4_0 --mmap-experts; server 127.0.0.1:8080, gpu 0
loading the model (the first start takes a minute or two) ...
[strata] starting the engine: reading the model's weights ...
[strata] mapping the experts from the model files (about 30 GB, --mmap-experts): they are not loaded into RAM - the OS file cache reads them as the GPU's expert cache fills and as requests need them.
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] almost ready ...
Traceback (most recent call last):
File "D:\Strata-main\serve\server.py", line 4145, in
sys.exit(main())
^^^^^^
File "D:\Strata-main\serve\server.py", line 4001, in main
engine = StrataEngine(exe, engine_args(cfg) + (effort_end or []), cwd=cfg.get("cwd"), log=cfg.get("log"),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\Strata-main\serve\server.py", line 478, in init
raise RuntimeError("the engine exited before it was ready" + (f" (see {log})" if log else "") +
RuntimeError: the engine exited before it was ready (see D:\Strata-main\strata-coder-iq1_m.log)
the engine log's last lines:
strata generate: PCIe probe: 12.6 GB/s host->device (best of 12.6 12.5 12.5 12.5) -> pcie_frac 0.35 (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: D:\Strata-data\packs\coder-iq1_m experts (largest blob 2.66 MB), token embedding IQ4_XS in mapped host memory (322 MiB)
strata generate: 1406 MiB of weights loaded from D:\Strata-data\packs\coder-iq1_m (302 canonical tensors skipped: served natively)
strata generate: 300 native projection matrices, 2018.88 MiB of weights
strata generate: the SSD is kept awake while rows are read: one page of the table after 100 ms without a read, until 60 s after the last request (STRATA_SSD_KEEPALIVE=0 turns it off)
strata generate: profile D:\Strata-main\data\expert-profile-coder.bin: 12288 ranked pairs, built for 12288 slots
strata generate: PLE on, table 320001536 rows of D:\Strata-data\models\coder-IQ1_M\Qwen3.8-Flash-Next-GSQ-RCO-IQ1_M-00002-of-00002.gguf
strata mtp: draft layer loaded, 824 MiB of VRAM (experts 675, dense 111), files read in 0.40 s (1968 MiB/s)
strata generate: experimental native Q5_K head, 521472000 bytes
strata generate: GPU 0: NVIDIA GeForce RTX 2060, compute capability 7.5
strata generate: experts via mmap (--mmap-experts; the A/B arm of R2.1)
strata generate: expert cache auto: 0.00 GiB free, 700 MiB reserved (+218 MiB for the draft head) -> 0 slots
strata generate: no VRAM is left for the expert cache: it needs at least 241 slots (611 MiB), about 1131 MiB more than this card has free. To make room: a smaller --max-context (the session, mostly its KV cache, takes 393 MiB at 32768 tokens), --kv q4_0, the English draft subset (setup --draft-vocab en; the draft head takes 218 MiB now), images on the CPU, or close other programs that use the GPU
strata generate: pre-filled 0 of 0 slots from the profile; slot 0 verified
strata generate: 5 expert-pool workers + the host thread
strata generate: session is up (engine 0.1.39)
strata serve: the prompt path allocates its own buffers (too few cache slots to borrow)
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 serve: verify: needs the profile-filled VRAM expert tier (--expert-profile and --expert-cache); with --expert-cache auto, no VRAM was left for it - the 'no VRAM is left for the expert cache' line above says how much is short and what makes room (a smaller --max-context, --kv q4_0, setup --draft-vocab en, images on the CPU)
Premere un tasto per continuare . . .`

I tried closing some apps (to free VRAM) and using the en vocab but nothing:

`D:\Strata-main>START-HERE.bat --draft-vocab en
Strata - Qwen3.8-Flash-Next on a normal PC (a GPU + system RAM + CPU)
[ok] GPU: GPU 0 (NVIDIA GeForce RTX 2060, 6 GB)


Starting qwen3.8-flash-next-coder-iq1_m: it maps about 30 GB of experts from the model files (the OS file cache reads them).
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-coder-iq1_m.json): --expert-cache auto --prefill auto --spec 4 --spec-min-p 0.5
--max-context 32768 --kv q4_0 --mmap-experts; server 127.0.0.1:8080, gpu 0, draft_vocab en
loading the model (the first start takes a minute or two) ...
[strata] starting the engine: reading the model's weights ...
[strata] mapping the experts from the model files (about 30 GB, --mmap-experts): they are not loaded into RAM - the OS file cache reads them as the GPU's expert cache fills and as requests need them.
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] almost ready ...
Traceback (most recent call last):
File "D:\Strata-main\serve\server.py", line 4145, in
sys.exit(main())
^^^^^^
File "D:\Strata-main\serve\server.py", line 4001, in main
engine = StrataEngine(exe, engine_args(cfg) + (effort_end or []), cwd=cfg.get("cwd"), log=cfg.get("log"),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\Strata-main\serve\server.py", line 478, in init
raise RuntimeError("the engine exited before it was ready" + (f" (see {log})" if log else "") +
RuntimeError: the engine exited before it was ready (see D:\Strata-main\strata-coder-iq1_m.log)
the engine log's last lines:
strata generate: PCIe probe: 12.7 GB/s host->device (best of 12.7 12.7 12.7 12.7) -> pcie_frac 0.35 (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: D:\Strata-data\packs\coder-iq1_m experts (largest blob 2.66 MB), token embedding IQ4_XS in mapped host memory (322 MiB)
strata generate: 1406 MiB of weights loaded from D:\Strata-data\packs\coder-iq1_m (302 canonical tensors skipped: served natively)
strata generate: 300 native projection matrices, 2018.88 MiB of weights
strata generate: the SSD is kept awake while rows are read: one page of the table after 100 ms without a read, until 60 s after the last request (STRATA_SSD_KEEPALIVE=0 turns it off)
strata generate: profile D:\Strata-main\data\expert-profile-coder.bin: 12288 ranked pairs, built for 12288 slots
strata generate: PLE on, table 320001536 rows of D:\Strata-data\models\coder-IQ1_M\Qwen3.8-Flash-Next-GSQ-RCO-IQ1_M-00002-of-00002.gguf
strata mtp: draft layer loaded, 824 MiB of VRAM (experts 675, dense 111), files read in 0.37 s (2131 MiB/s)
strata generate: experimental native Q5_K head, 521472000 bytes
strata generate: GPU 0: NVIDIA GeForce RTX 2060, compute capability 7.5
strata generate: experts via mmap (--mmap-experts; the A/B arm of R2.1)
strata generate: expert cache auto: 0.00 GiB free, 700 MiB reserved (+86 MiB for the draft head) -> 0 slots
strata generate: no VRAM is left for the expert cache: it needs at least 241 slots (611 MiB), about 999 MiB more than this card has free. To make room: a smaller --max-context (the session, mostly its KV cache, takes 393 MiB at 32768 tokens), --kv q4_0, the English draft subset (setup --draft-vocab en; the draft head takes 86 MiB now), images on the CPU, or close other programs that use the GPU
strata generate: pre-filled 0 of 0 slots from the profile; slot 0 verified
strata generate: 5 expert-pool workers + the host thread
strata generate: session is up (engine 0.1.39)
strata serve: the prompt path allocates its own buffers (too few cache slots to borrow)
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 serve: verify: needs the profile-filled VRAM expert tier (--expert-profile and --expert-cache); with --expert-cache auto, no VRAM was left for it - the 'no VRAM is left for the expert cache' line above says how much is short and what makes room (a smaller --max-context, --kv q4_0, setup --draft-vocab en, images on the CPU)
Premere un tasto per continuare . . .`

Any advise?
Thanks

Originally created by @lollo78 on GitHub (Oct 5, 2026). Original GitHub issue: https://github.com/Niko1221/Strata/issues/916 **Hi, I'm trying to launch Strata also on my laptop, but it fails. Here the full log:** `Strata - Qwen3.8-Flash-Next on a normal PC (a GPU + system RAM + CPU) === Step 1: checking your PC === [ok] GPU: NVIDIA GeForce RTX 2060, 6.0 GB VRAM, compute capability 7.5, driver 617.14 [!] less than 12 GB of VRAM: Strata will run, but most experts stay on the CPU and it will be slow [ok] RAM: 32 GB [ok] CPU: Intel(R) Core(TM) i7-10750H CPU @ 2.60GHz (AVX2) === 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 quantizations - UD-IQ4_XS: a 94 GB download; with less than ~80 GB of RAM part of its experts are read from the SSD (UD-Q4_K_XL, 111 GB: experimental) Which model? [1]: 3 [ok] model: Qwen3.8-Flash-Next Coder 1) IQ1_M the Coder's only size: half the experts, stored like IQ3_S (3.5 bits); download 58 GB, uses ~23 GB of RAM <- fits in the low-RAM mode (the GPU holds ~4%, the rest from the SSD) Which size? [1]: [ok] size: IQ1_M 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 (recommended for your GPU) 3) 64K tokens 4) 128K tokens 5) 256K tokens 6) 384K tokens (experimental: setup adds rope scaling) 7) 512K tokens (experimental: setup adds rope scaling) Context? [2]: 2 [ok] context: 32768 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]: 2 [ok] KV cache: 4-bit (Hadamard-rotated) Images: the model can also read pictures (screenshots, photos, scanned pages). This adds a 0.9 GB download and keeps ~1.4 GB of VRAM free for the image encoder, so text is a few % slower. Do you want images? [n]: n [ok] images: off [ok] low-RAM mode: IQ1_M's experts (23 GB) are read from the model folder through the OS file cache instead of a copy in RAM (32 GB); the GPU holds ~4% of them [!] most of the experts are read from the SSD while it answers: expect it to be much slower than with enough RAM (a faster SSD and a smaller size help) 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 ... > D:\Strata-main\.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: 0.04 / 0.04 GB (100%) [ok] llama.cpp source downloaded [ok] llama.cpp 3cf0325 (gguf-py, ggml, mtmd) Downloading the ready-made Strata engine ... Strata engine: 0.09 / 0.12 GB (75%) [ok] Strata engine downloaded [ok] ready-made engine 0.1.39 for sm_75, sm_86, sm_89, sm_120 (CUDA 13.0) Installing NVIDIA CUDA libraries (cuBLAS, CUDA runtime; ~0.4 GB) ... > D:\Strata-main\.venv\Scripts\python.exe -m pip install --quiet --disable-pip-version-check nvidia-cublas==13.0.2.14 nvidia-cuda-runtime==13.0.96 [ok] NVIDIA CUDA libraries (cuBLAS, CUDA runtime; ~0.4 GB) installed [ok] engine: D:\Strata-main\engine\strata.exe === Step 5: downloading Qwen3.8-Flash-Next Coder IQ1_M === The model files go in D:\Strata-data\models\coder-IQ1_M Files you already have: put them here with their original names (Qwen3.8-Flash-Next-GSQ-RCO-IQ1_M-00001-of-00002.gguf, Qwen3.8-Flash-Next-GSQ-RCO-IQ1_M-00002-of-00002.gguf), or use --gguf-dir <their folder>. Qwen3.8-Flash-Next-GSQ-RCO-IQ1_M-00001-of-00002.gguf: 29.59 / 29.61 GB (100%) [ok] Qwen3.8-Flash-Next-GSQ-RCO-IQ1_M-00001-of-00002.gguf downloaded Qwen3.8-Flash-Next-GSQ-RCO-IQ1_M-00002-of-00002.gguf: 28.78 / 28.80 GB (100%) [ok] Qwen3.8-Flash-Next-GSQ-RCO-IQ1_M-00002-of-00002.gguf downloaded [ok] model files present === Step 6: preparing the model for Strata === > D:\Strata-main\.venv\Scripts\python.exe D:\Strata-main\tools\iq_pack.py --gguf D:\Strata-data\models\coder-IQ1_M\Qwen3.8-Flash-Next-GSQ-RCO-IQ1_M-00001-of-00002.gguf --out D:\Strata-data\packs\coder-iq1_m model shards: Qwen3.8-Flash-Next-GSQ-RCO-IQ1_M-00001-of-00002.gguf, Qwen3.8-Flash-Next-GSQ-RCO-IQ1_M-00002-of-00002.gguf index.txt: 1079 tensors, 302 served natively, 0 in extra.bin, arena 1.37 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} Writing the experts into one file for the low-RAM mode (one time, 23 GB) ... > D:\Strata-main\.venv\Scripts\python.exe D:\Strata-main\tools\iq_pack.py --gguf D:\Strata-data\models\coder-IQ1_M\Qwen3.8-Flash-Next-GSQ-RCO-IQ1_M-00001-of-00002.gguf --out D:\Strata-data\packs\coder-iq1_m --experts-bin model shards: Qwen3.8-Flash-Next-GSQ-RCO-IQ1_M-00001-of-00002.gguf, Qwen3.8-Flash-Next-GSQ-RCO-IQ1_M-00002-of-00002.gguf index.txt: 1079 tensors, 302 served natively, 0 in extra.bin, arena 1.37 GiB layer 0 IQ3_XXS /IQ4_NL blob 2176000 at 0.00 GiB layer 8 IQ2_S /Q2_0 blob 1510400 at 3.75 GiB layer 16 IQ3_XXS /IQ4_NL blob 2176000 at 7.17 GiB layer 24 IQ2_S /IQ4_NL blob 1971200 at 11.07 GiB layer 32 IQ2_S /IQ4_NL blob 1971200 at 15.16 GiB layer 40 IQ3_S /IQ4_NL blob 2329600 at 19.04 GiB experts.bin: 48 layers, 23.42 GiB [ok] model prepared: D:\Strata-data\packs\coder-iq1_m The MTP draft layer (speculative decoding, ~2x faster output) comes from the original Qwen checkpoint: only its ~5 GB of MTP tensors are downloaded. > D:\Strata-main\.venv\Scripts\python.exe D:\Strata-main\tools\mtp_fetch.py fetch --out D:\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% > D:\Strata-main\.venv\Scripts\python.exe D:\Strata-main\tools\mtp_pack.py --src D:\Strata-data\mtp --experts q2_0 --out D:\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 D:\Strata-data\mtp\mtp-q2_0.gguf: 0.889 GB of tensor data > D:\Strata-main\.venv\Scripts\python.exe D:\Strata-main\tools\mtp_rt.py --gguf D:\Strata-data\mtp\mtp-q2_0.gguf --out D:\Strata-data\mtp\rt experts.bin 707788800 B, dense.bin 116099072 B, 29 tensors -> D:\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: D:\Strata-data\mtp\rt Tip for a 6 GB card: the draft layer's default token subset (with Chinese, Japanese and Korean) needs up to ~348 MiB of VRAM. For English and code answers, START-HERE.bat --draft-vocab en needs up to ~133 MiB (cyrillic: ~193) and leaves the rest to the expert cache - and it is the fix when the start stops with "the draft head does not fit". The model keeps the choice. === Step 7: writing the start script === If the start stops with "no VRAM is left for the expert cache" (the engine's log says how much is short): run START-HERE.bat --setup again with an 8K context (a smaller KV cache) and --draft-vocab en (a draft head of ~133 MiB instead of ~348), or close other programs that use the GPU. Tune Strata for this PC now? It measures a few engine settings (about 5-10 minutes; the PC is busy meanwhile; later: START-HERE --calibrate) [y]: y Tuning Strata for this PC: the output speed is measured with a few engine settings (the PCIe share, the draft depth, the CPU threads). It takes about 5-10 minutes; the PC is busy meanwhile. Loading the model for the measurements ... [strata] starting the engine: reading the model's weights ... [strata] mapping the experts from the model files (about 30 GB, --mmap-experts): they are not loaded into RAM - the OS file cache reads them as the GPU's expert cache fills and as requests need them. 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] almost ready ... [!] the tuning did not finish (the engine exited before it was ready (see D:\Strata-main\strata-coder-iq1_m.log) the engine log's last lines: strata generate: PCIe probe: 12.7 GB/s host->device (best of 12.7 12.7 12.7 12.7) -> pcie_frac 0.35 (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: D:\Strata-data\packs\coder-iq1_m experts (largest blob 2.66 MB), token embedding IQ4_XS in mapped host memory (322 MiB) strata generate: 1406 MiB of weights loaded from D:\Strata-data\packs\coder-iq1_m (302 canonical tensors skipped: served natively) strata generate: 300 native projection matrices, 2018.88 MiB of weights strata generate: the SSD is kept awake while rows are read: one page of the table after 100 ms without a read, until 60 s after the last request (STRATA_SSD_KEEPALIVE=0 turns it off) strata generate: profile D:\Strata-main\data\expert-profile-coder.bin: 12288 ranked pairs, built for 12288 slots strata generate: PLE on, table 320001536 rows of D:\Strata-data\models\coder-IQ1_M\Qwen3.8-Flash-Next-GSQ-RCO-IQ1_M-00002-of-00002.gguf strata mtp: draft layer loaded, 824 MiB of VRAM (experts 675, dense 111), files read in 0.52 s (1525 MiB/s) strata generate: experimental native Q5_K head, 521472000 bytes strata generate: GPU 0: NVIDIA GeForce RTX 2060, compute capability 7.5 strata generate: experts via mmap (--mmap-experts; the A/B arm of R2.1) strata generate: expert cache auto: 0.00 GiB free, 700 MiB reserved (+218 MiB for the draft head) -> 0 slots strata generate: no VRAM is left for the expert cache: it needs at least 241 slots (611 MiB), about 1131 MiB more than this card has free. To make room: a smaller --max-context (the session, mostly its KV cache, takes 393 MiB at 32768 tokens), --kv q4_0, the English draft subset (setup --draft-vocab en; the draft head takes 218 MiB now), images on the CPU, or close other programs that use the GPU strata generate: pre-filled 0 of 0 slots from the profile; slot 0 verified strata generate: 5 expert-pool workers + the host thread strata generate: session is up (engine 0.1.39) strata serve: the prompt path allocates its own buffers (too few cache slots to borrow) 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 serve: verify: needs the profile-filled VRAM expert tier (--expert-profile and --expert-cache); with --expert-cache auto, no VRAM was left for it - the 'no VRAM is left for the expert cache' line above says how much is short and what makes room (a smaller --max-context, --kv q4_0, setup --draft-vocab en, images on the CPU)): the default settings stay the engine said: strata serve: verify: needs the profile-filled VRAM expert tier (--expert-profile and --expert-cache); with --expert-cache auto, no VRAM was left for it - the 'no VRAM is left for the expert cache' line above says how much is short and what makes room (a smaller --max-context, --kv q4_0, setup --draft-vocab en, images on the CPU) [ok] start script: run-coder-iq1_m.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-coder-iq1_m.bat) - it starts right away Several requests at once: left at one at a time - parallel N reduces waiting for several users but costs about 10-25% speed per request on this card (docs/BATCHING.md). Tuning: FAILED (the reason is above): the default settings stay - START-HERE.bat --calibrate tries again [ok] GPU: GPU 0 (NVIDIA GeForce RTX 2060, 6 GB) ---------------------------------------------------------------------------------------------------- Starting qwen3.8-flash-next-coder-iq1_m: it maps about 30 GB of experts from the model files (the OS file cache reads them). 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-coder-iq1_m.json): --expert-cache auto --prefill auto --spec 4 --spec-min-p 0.5 --max-context 32768 --kv q4_0 --mmap-experts; server 127.0.0.1:8080, gpu 0 loading the model (the first start takes a minute or two) ... [strata] starting the engine: reading the model's weights ... [strata] mapping the experts from the model files (about 30 GB, --mmap-experts): they are not loaded into RAM - the OS file cache reads them as the GPU's expert cache fills and as requests need them. 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] almost ready ... Traceback (most recent call last): File "D:\Strata-main\serve\server.py", line 4145, in <module> sys.exit(main()) ^^^^^^ File "D:\Strata-main\serve\server.py", line 4001, in main engine = StrataEngine(exe, engine_args(cfg) + (effort_end or []), cwd=cfg.get("cwd"), log=cfg.get("log"), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\Strata-main\serve\server.py", line 478, in __init__ raise RuntimeError("the engine exited before it was ready" + (f" (see {log})" if log else "") + RuntimeError: the engine exited before it was ready (see D:\Strata-main\strata-coder-iq1_m.log) the engine log's last lines: strata generate: PCIe probe: 12.6 GB/s host->device (best of 12.6 12.5 12.5 12.5) -> pcie_frac 0.35 (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: D:\Strata-data\packs\coder-iq1_m experts (largest blob 2.66 MB), token embedding IQ4_XS in mapped host memory (322 MiB) strata generate: 1406 MiB of weights loaded from D:\Strata-data\packs\coder-iq1_m (302 canonical tensors skipped: served natively) strata generate: 300 native projection matrices, 2018.88 MiB of weights strata generate: the SSD is kept awake while rows are read: one page of the table after 100 ms without a read, until 60 s after the last request (STRATA_SSD_KEEPALIVE=0 turns it off) strata generate: profile D:\Strata-main\data\expert-profile-coder.bin: 12288 ranked pairs, built for 12288 slots strata generate: PLE on, table 320001536 rows of D:\Strata-data\models\coder-IQ1_M\Qwen3.8-Flash-Next-GSQ-RCO-IQ1_M-00002-of-00002.gguf strata mtp: draft layer loaded, 824 MiB of VRAM (experts 675, dense 111), files read in 0.40 s (1968 MiB/s) strata generate: experimental native Q5_K head, 521472000 bytes strata generate: GPU 0: NVIDIA GeForce RTX 2060, compute capability 7.5 strata generate: experts via mmap (--mmap-experts; the A/B arm of R2.1) strata generate: expert cache auto: 0.00 GiB free, 700 MiB reserved (+218 MiB for the draft head) -> 0 slots strata generate: no VRAM is left for the expert cache: it needs at least 241 slots (611 MiB), about 1131 MiB more than this card has free. To make room: a smaller --max-context (the session, mostly its KV cache, takes 393 MiB at 32768 tokens), --kv q4_0, the English draft subset (setup --draft-vocab en; the draft head takes 218 MiB now), images on the CPU, or close other programs that use the GPU strata generate: pre-filled 0 of 0 slots from the profile; slot 0 verified strata generate: 5 expert-pool workers + the host thread strata generate: session is up (engine 0.1.39) strata serve: the prompt path allocates its own buffers (too few cache slots to borrow) 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 serve: verify: needs the profile-filled VRAM expert tier (--expert-profile and --expert-cache); with --expert-cache auto, no VRAM was left for it - the 'no VRAM is left for the expert cache' line above says how much is short and what makes room (a smaller --max-context, --kv q4_0, setup --draft-vocab en, images on the CPU) Premere un tasto per continuare . . .` **I tried closing some apps (to free VRAM) and using the en vocab but nothing:** `D:\Strata-main>START-HERE.bat --draft-vocab en Strata - Qwen3.8-Flash-Next on a normal PC (a GPU + system RAM + CPU) [ok] GPU: GPU 0 (NVIDIA GeForce RTX 2060, 6 GB) ---------------------------------------------------------------------------------------------------- Starting qwen3.8-flash-next-coder-iq1_m: it maps about 30 GB of experts from the model files (the OS file cache reads them). 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-coder-iq1_m.json): --expert-cache auto --prefill auto --spec 4 --spec-min-p 0.5 --max-context 32768 --kv q4_0 --mmap-experts; server 127.0.0.1:8080, gpu 0, draft_vocab en loading the model (the first start takes a minute or two) ... [strata] starting the engine: reading the model's weights ... [strata] mapping the experts from the model files (about 30 GB, --mmap-experts): they are not loaded into RAM - the OS file cache reads them as the GPU's expert cache fills and as requests need them. 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] almost ready ... Traceback (most recent call last): File "D:\Strata-main\serve\server.py", line 4145, in <module> sys.exit(main()) ^^^^^^ File "D:\Strata-main\serve\server.py", line 4001, in main engine = StrataEngine(exe, engine_args(cfg) + (effort_end or []), cwd=cfg.get("cwd"), log=cfg.get("log"), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\Strata-main\serve\server.py", line 478, in __init__ raise RuntimeError("the engine exited before it was ready" + (f" (see {log})" if log else "") + RuntimeError: the engine exited before it was ready (see D:\Strata-main\strata-coder-iq1_m.log) the engine log's last lines: strata generate: PCIe probe: 12.7 GB/s host->device (best of 12.7 12.7 12.7 12.7) -> pcie_frac 0.35 (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: D:\Strata-data\packs\coder-iq1_m experts (largest blob 2.66 MB), token embedding IQ4_XS in mapped host memory (322 MiB) strata generate: 1406 MiB of weights loaded from D:\Strata-data\packs\coder-iq1_m (302 canonical tensors skipped: served natively) strata generate: 300 native projection matrices, 2018.88 MiB of weights strata generate: the SSD is kept awake while rows are read: one page of the table after 100 ms without a read, until 60 s after the last request (STRATA_SSD_KEEPALIVE=0 turns it off) strata generate: profile D:\Strata-main\data\expert-profile-coder.bin: 12288 ranked pairs, built for 12288 slots strata generate: PLE on, table 320001536 rows of D:\Strata-data\models\coder-IQ1_M\Qwen3.8-Flash-Next-GSQ-RCO-IQ1_M-00002-of-00002.gguf strata mtp: draft layer loaded, 824 MiB of VRAM (experts 675, dense 111), files read in 0.37 s (2131 MiB/s) strata generate: experimental native Q5_K head, 521472000 bytes strata generate: GPU 0: NVIDIA GeForce RTX 2060, compute capability 7.5 strata generate: experts via mmap (--mmap-experts; the A/B arm of R2.1) strata generate: expert cache auto: 0.00 GiB free, 700 MiB reserved (+86 MiB for the draft head) -> 0 slots strata generate: no VRAM is left for the expert cache: it needs at least 241 slots (611 MiB), about 999 MiB more than this card has free. To make room: a smaller --max-context (the session, mostly its KV cache, takes 393 MiB at 32768 tokens), --kv q4_0, the English draft subset (setup --draft-vocab en; the draft head takes 86 MiB now), images on the CPU, or close other programs that use the GPU strata generate: pre-filled 0 of 0 slots from the profile; slot 0 verified strata generate: 5 expert-pool workers + the host thread strata generate: session is up (engine 0.1.39) strata serve: the prompt path allocates its own buffers (too few cache slots to borrow) 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 serve: verify: needs the profile-filled VRAM expert tier (--expert-profile and --expert-cache); with --expert-cache auto, no VRAM was left for it - the 'no VRAM is left for the expert cache' line above says how much is short and what makes room (a smaller --max-context, --kv q4_0, setup --draft-vocab en, images on the CPU) Premere un tasto per continuare . . .` **Any advise? Thanks**
Author
Owner

@lollo78 commented on GitHub (Oct 5, 2026):

I tried also with 8K max contest, but nothing.

<!-- gh-comment-id:5991367153 --> @lollo78 commented on GitHub (Oct 5, 2026): I tried also with 8K max contest, but nothing.
Author
Owner

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

i was able to run iq2_xs with 64k context on 6gb rtx 4050, are you using nvidia optimus or have you disabled the igpu? (you are out of vram)

<!-- gh-comment-id:6011189143 --> @grigoriitropin commented on GitHub (Oct 6, 2026): i was able to run iq2_xs with 64k context on 6gb rtx 4050, are you using nvidia optimus or have you disabled the igpu? (you are out of vram)
Author
Owner

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

Hi, I can't use iq2_xs due to my RAM (only 32GB). For this reason I'm on coder-iq1_m.
Seems that here are no issue with Nvidia Optimus. My system use igpu and leave dgpu totally free:

Image

I don't know what to do...

<!-- gh-comment-id:6017341087 --> @lollo78 commented on GitHub (Oct 6, 2026): Hi, I can't use iq2_xs due to my RAM (only 32GB). For this reason I'm on coder-iq1_m. Seems that here are no issue with Nvidia Optimus. My system use igpu and leave dgpu totally free: <img width="1026" height="731" alt="Image" src="https://github.com/user-attachments/assets/6f6cfa39-6658-467e-8978-a0e6e61ed8b2" /> I don't know what to do...
Author
Owner

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

probably wait until smaller models get better, iq1 quant can't really do any hard tasks, context is to small etc etc.

<!-- gh-comment-id:6017992087 --> @grigoriitropin commented on GitHub (Oct 6, 2026): probably wait until smaller models get better, iq1 quant can't really do any hard tasks, context is to small etc etc.
Author
Owner

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

actually there is something that works for me, was able to disable mtp, and using the vram i recieved, i was able to switch model to iq3_xss and expand context to 131k. performance dropped from 145 t/s on prefill and 25 t/s on decode to something about 120 t/s on prefill and 20 t/s on decode, but for better quantization and more context imo it worth it.

having flag to disable mtp on systems with low amounts of vram would be usefull
P.S. was able to extend context window to 180k

<!-- gh-comment-id:6043864376 --> @grigoriitropin commented on GitHub (Oct 7, 2026): actually there is something that works for me, was able to disable mtp, and using the vram i recieved, i was able to switch model to iq3_xss and expand context to 131k. performance dropped from 145 t/s on prefill and 25 t/s on decode to something about 120 t/s on prefill and 20 t/s on decode, but for better quantization and more context imo it worth it. having flag to disable mtp on systems with low amounts of vram would be usefull P.S. was able to extend context window to 180k
Author
Owner

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

@grigoriitropin I am also having 4050 6 GB but ram is just 24 GB.
What which model are you running pruned coder iq3_XSS or vanilla qwen iq3_XSS?
Do you think it will fit in 24 GB RAM?

<!-- gh-comment-id:6045215259 --> @sathya731 commented on GitHub (Oct 7, 2026): @grigoriitropin I am also having 4050 6 GB but ram is just 24 GB. What which model are you running pruned coder iq3_XSS or vanilla qwen iq3_XSS? Do you think it will fit in 24 GB RAM?
Author
Owner

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

i have 64gb of ddr4 ram and model consumes 44gb. im running vanilla iq3_xss. 24gb... you can try coder version, i haven't tested it but in setup script it says it needs 23gb of ram, you can try i guess, but not sure about how it will perform. however can't say how much vram it needs

but this is both under vram and ram requirements, so wouldn't count on it running well

<!-- gh-comment-id:6045379332 --> @grigoriitropin commented on GitHub (Oct 7, 2026): i have 64gb of ddr4 ram and model consumes 44gb. im running vanilla iq3_xss. 24gb... you can try coder version, i haven't tested it but in setup script it says it needs 23gb of ram, you can try i guess, but not sure about how it will perform. however can't say how much vram it needs but this is both under vram and ram requirements, so wouldn't count on it running well
Author
Owner

@djismgaming commented on GitHub (Oct 8, 2026):

actually there is something that works for me, was able to disable mtp, and using the vram i recieved, i was able to switch model to iq3_xss and expand context to 131k. performance dropped from 145 t/s on prefill and 25 t/s on decode to something about 120 t/s on prefill and 20 t/s on decode, but for better quantization and more context imo it worth it.

having flag to disable mtp on systems with low amounts of vram would be usefull P.S. was able to extend context window to 180k

How did you disable the mtp?

<!-- gh-comment-id:6049919696 --> @djismgaming commented on GitHub (Oct 8, 2026): > actually there is something that works for me, was able to disable mtp, and using the vram i recieved, i was able to switch model to iq3_xss and expand context to 131k. performance dropped from 145 t/s on prefill and 25 t/s on decode to something about 120 t/s on prefill and 20 t/s on decode, but for better quantization and more context imo it worth it. > > having flag to disable mtp on systems with low amounts of vram would be usefull P.S. was able to extend context window to 180k How did you disable the mtp?
Author
Owner

@grigoriitropin commented on GitHub (Oct 8, 2026):

to disable mtp.... you have to change source code. i asked ai to do it. here is short recap:
Currently,there is no official CLI flag to disable MTP in server mode becausestrata
servehard-requires--mtp

` and assumes speculative drafting is active.

To completely disable MTP (saving ~800–900 MB of VRAM on 6 GB cards), you only need a 

small patch in src/program/generate.cpp and a quick recompile:

### 1. Patch `src/program/generate.cpp`                                               
                                                                                      
* **Trigger / Bypass loading** (~line 3005, right before `strata::core::MtpDrafter    

mtp;): Clear o.mtp` if an environment variable or marker file is present:
```cpp
if (std::getenv("STRATA_NO_MTP") != nullptr || ::access(".no_mtp", F_OK) == 0) {
o.mtp.clear();
}

(When o.mtp is empty, mtp.load() is skipped and 0 bytes are allocated for draft
experts/head in VRAM).

• Allow server startup without MTP (~line 4615):
Define const bool use_mtp = !o.mtp.empty(); and relax the check:
// change if (o.spec < 2 || o.mtp.empty() || ...) to:
if ((use_mtp && o.spec < 2) || o.prefill_chunk <= 0 || ...)

• Guard runtime MTP calls with use_mtp:
• Line ~5148: (use_mtp && !mtp.bind(...)) instead of !mtp.bind(...).
• Line ~5214 & snapshot restore/validate lines: pass use_mtp ? &mtp.kv_state() :
nullptr instead of &mtp.kv_state().
• Line ~5389 (sp.on_chunk): wrap sp.draft_kv / mtp.prefill inside if (use_mtp) { ...
}.
• Line ~6736: (use_mtp && !mtp.prefill(...)).
• Force 1-token decode step (~line 7103 & ~line 7184):
• In the decode loop:
int T = use_mtp ? S_mtp : 1;
if (first_window || !use_mtp) T = 1;

  • In the draft completion check:                                                    
    const bool drafted = !use_mtp || eos || produced_n >= max_new || mtp.draft(...);  

──────

2. Recompile & deploy

ninja -C build strata
cp build/strata engine/strata

Update engine/BUILD.json with the new source hash so setup.py doesn't overwrite it on
start:

python3 -c 'import setup, json, pathlib; f=pathlib.Path("engine/BUILD.json"); d=json. 

loads(f.read_text()); d["src"]=setup.source_hash(setup.ENGINE_SOURCES); f.
write_text(json.dumps(d, indent=1))'
──────

3. Run

Create the marker file touch .no_mtp (or export STRATA_NO_MTP=1) and start ./setup.sh.

The engine will log:
strata serve: MTP draft layer is disabled (0 MiB VRAM used)
and will run in pure autoregressive 1-token decode mode, leaving the extra ~850 MB VRAM
entirely for the expert cache / context window.

<!-- gh-comment-id:6049973526 --> @grigoriitropin commented on GitHub (Oct 8, 2026): to disable mtp.... you have to change source code. i asked ai to do it. here is short recap: Currently,` there is no official CLI flag to disable MTP in server mode because `strata serve` hard-requires `--mtp <DIR>` and assumes speculative drafting is active. To completely disable MTP (saving ~800–900 MB of VRAM on 6 GB cards), you only need a small patch in `src/program/generate.cpp` and a quick recompile: ### 1. Patch `src/program/generate.cpp` * **Trigger / Bypass loading** (~line 3005, right before `strata::core::MtpDrafter mtp;`): Clear `o.mtp` if an environment variable or marker file is present: ```cpp if (std::getenv("STRATA_NO_MTP") != nullptr || ::access(".no_mtp", F_OK) == 0) { o.mtp.clear(); } (When o.mtp is empty, mtp.load() is skipped and 0 bytes are allocated for draft experts/head in VRAM). • Allow server startup without MTP (~line 4615): Define const bool use_mtp = !o.mtp.empty(); and relax the check: // change `if (o.spec < 2 || o.mtp.empty() || ...)` to: if ((use_mtp && o.spec < 2) || o.prefill_chunk <= 0 || ...) • Guard runtime MTP calls with use_mtp: • Line ~5148: (use_mtp && !mtp.bind(...)) instead of !mtp.bind(...). • Line ~5214 & snapshot restore/validate lines: pass use_mtp ? &mtp.kv_state() : nullptr instead of &mtp.kv_state(). • Line ~5389 (sp.on_chunk): wrap sp.draft_kv / mtp.prefill inside if (use_mtp) { ... }. • Line ~6736: (use_mtp && !mtp.prefill(...)). • Force 1-token decode step (~line 7103 & ~line 7184): • In the decode loop: int T = use_mtp ? S_mtp : 1; if (first_window || !use_mtp) T = 1; • In the draft completion check: const bool drafted = !use_mtp || eos || produced_n >= max_new || mtp.draft(...); ────── ### 2. Recompile & deploy ninja -C build strata cp build/strata engine/strata Update engine/BUILD.json with the new source hash so setup.py doesn't overwrite it on start: python3 -c 'import setup, json, pathlib; f=pathlib.Path("engine/BUILD.json"); d=json. loads(f.read_text()); d["src"]=setup.source_hash(setup.ENGINE_SOURCES); f. write_text(json.dumps(d, indent=1))' ────── ### 3. Run Create the marker file touch .no_mtp (or export STRATA_NO_MTP=1) and start ./setup.sh. The engine will log: strata serve: MTP draft layer is disabled (0 MiB VRAM used) and will run in pure autoregressive 1-token decode mode, leaving the extra ~850 MB VRAM entirely for the expert cache / context window.
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:6155985488 --> @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.
Author
Owner

@lollo78 commented on GitHub (Oct 19, 2026):

Hi @Niko1221,
I tried to run Qwen3.8 Flash-Next (Coder) also with 0.1.45 release but I have always the same issue described in the OP.

I tried also with the "new" model supported, Qwen3.6-35B, but it fails.
In attached the logs.

log.txt

Thanks for all

<!-- gh-comment-id:6262525838 --> @lollo78 commented on GitHub (Oct 19, 2026): Hi @Niko1221, I tried to run Qwen3.8 Flash-Next (Coder) also with 0.1.45 release but I have always the same issue described in the OP. I tried also with the "new" model supported, Qwen3.6-35B, but it fails. In attached the logs. [log.txt](https://github.com/user-attachments/files/33654944/log.txt) Thanks for all
Author
Owner

@lollo78 commented on GitHub (Oct 20, 2026):

Also 0.2.0 release fails to start on my laptop:

Image

Log in attached:
strata-coder-iq1_m.log

<!-- gh-comment-id:6286186025 --> @lollo78 commented on GitHub (Oct 20, 2026): Also 0.2.0 release fails to start on my laptop: <img width="933" height="743" alt="Image" src="https://github.com/user-attachments/assets/24fef9ac-8221-476e-a5d2-5c2bfd453462" /> Log in attached: [strata-coder-iq1_m.log](https://github.com/user-attachments/files/33705834/strata-coder-iq1_m.log)
Author
Owner

@lollo78 commented on GitHub (Oct 27, 2026):

@
I tried also with Gyro-S (not only with Coder iQ1_M) and the latest release of Strata v0.2.6 (Engine v0.1.50) but the error is always the same;

Image

In attached both logs:

strata-gyro-gyro-s.log
strata-coder-iq1_m.log

<!-- gh-comment-id:6436767779 --> @lollo78 commented on GitHub (Oct 27, 2026): @ I tried also with Gyro-S (not only with Coder iQ1_M) and the latest release of Strata v0.2.6 (Engine v0.1.50) but the error is always the same; <img width="992" height="703" alt="Image" src="https://github.com/user-attachments/assets/654feb36-5007-4b4c-9f4a-84361997d927" /> In attached both logs: [strata-gyro-gyro-s.log](https://github.com/user-attachments/files/34004640/strata-gyro-gyro-s.log) [strata-coder-iq1_m.log](https://github.com/user-attachments/files/34004641/strata-coder-iq1_m.log)
Author
Owner

@grigoriitropin commented on GitHub (Oct 27, 2026):

try linux instead of windows

<!-- gh-comment-id:6445170703 --> @grigoriitropin commented on GitHub (Oct 27, 2026): try linux instead of windows
Author
Owner

@lollo78 commented on GitHub (Nov 2, 2026):

I tried again using these settings and Strata loads,

Image

but it stops before the replay.

Image Image Image

With "32K" context and/or with "Drafting" on "Auto (reccomended)" it doesn't start:

Image

same issue using Coder instead of Gyro:

Image Image

@Niko1221
This could be due to the low context (8K)?
I hope it could be fixed

<!-- gh-comment-id:6572573737 --> @lollo78 commented on GitHub (Nov 2, 2026): I tried again using these settings and Strata loads, <img width="1119" height="640" alt="Image" src="https://github.com/user-attachments/assets/97210cc7-8ae9-4eb9-a6f3-69093003ac4a" /> but it stops before the replay. <img width="1132" height="1038" alt="Image" src="https://github.com/user-attachments/assets/bfcee649-2990-492f-ac36-4cc8eb17e170" /> <img width="1432" height="912" alt="Image" src="https://github.com/user-attachments/assets/d15d891c-2b1f-4bec-9f46-64b0e087e584" /> <img width="828" height="580" alt="Image" src="https://github.com/user-attachments/assets/7cd47441-a0b9-4729-b6b1-60f461a82f24" /> With "32K" context and/or with "Drafting" on "Auto (reccomended)" it doesn't start: <img width="1120" height="670" alt="Image" src="https://github.com/user-attachments/assets/a973b227-1b0b-412b-98ec-f908af0e8fe2" /> same issue using Coder instead of Gyro: <img width="1421" height="710" alt="Image" src="https://github.com/user-attachments/assets/057c0241-29a8-43f0-9969-9be011bd5f9f" /> <img width="1540" height="1056" alt="Image" src="https://github.com/user-attachments/assets/252481b2-dd96-4f58-b548-80c9783f3412" /> @Niko1221 This could be due to the low context (8K)? I hope it could be fixed
Author
Owner

@dewdgi commented on GitHub (Nov 2, 2026):

can you send logs?

<!-- gh-comment-id:6580350975 --> @dewdgi commented on GitHub (Nov 2, 2026): can you send logs?
Author
Owner

@Johnreidsilver commented on GitHub (Nov 3, 2026):

RTX 3060 6GB VRAM + 32GB RAM here and can't load the smallest VRAM+RAM (22.3GB) model in QWEN3.6 : UD-Q4_K_XL

I'm using linux, Ubuntu 24.04.5, APU+dGPU so all RTX VRAM is dedicated to strata. Also using zram to gain a bit above the real 32GB.

edit: was using strata 0.2.9, just tried with 0.2.11, same result:

`ggml_cuda_init: failed to initialize CUDA: no CUDA-capable device is detected
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.0 s
strata-vision: on the CPU, 8 threads, no warm-up
[strata] 2026-11-05 18:32:12 engine started: /home/user/.local/share/strata/components/engine/0.1.55-linux-x86_64-cuda-cuda13/strata --serve --native /home/user/Documents/Strata/models/qwen36-UD-Q4_K_XL/Qwen3.6-35B-A3B-UD-Q4_K_XL.gguf --max-context 8192 --prefill auto --mtp 2 --vision --pool-workers 7 --resident-budget-gib 11 --vram-reserve-mib 1536
strata-q36: ignoring --resident-budget-gib 11 (not an option of this engine)
strata-q36: ignoring --vram-reserve-mib 1536 (not an option of this engine)
strata-q36: /home/user/Documents/Strata/models/qwen36-UD-Q4_K_XL/Qwen3.6-35B-A3B-UD-Q4_K_XL.gguf: 753 tensors (layout checked), 4.40 GiB on the GPU in 1.8 s (the routed experts are placed after the engine's buffers)
strata-q36: cudaMalloc(&p, n * 4) failed: out of memory (/data/split-pkg/r29/e/appsrc/src/qwen35/q36_engine.cu:1128)`

I'm using dual graphics and without external monitor nvtop and nvidia-smi show 4MB of RTX 3060 VRAM in usage. Though nvtop at the mem bar show 344MB in usage of 6Gi total VRAM

NVIDIA-SMI 595.91.07 Driver Version: 595.91.07 CUDA Version: 13.2
kernel 7.0.0-31-generic

With read pictures disabled (would be cool if it could use the APU's gfx90c via Vulkan):
[strata] 2026-11-05 18:33:37 engine started: /home/user/.local/share/strata/components/engine/0.1.55-linux-x86_64-cuda-cuda13/strata --serve --native /home/user/Documents/Strata/models/qwen36-UD-Q4_K_XL/Qwen3.6-35B-A3B-UD-Q4_K_XL.gguf --max-context 8192 --prefill auto --mtp 2 --pool-workers 7 --resident-budget-gib 11 --vram-reserve-mib 1536 strata-q36: ignoring --resident-budget-gib 11 (not an option of this engine) strata-q36: ignoring --vram-reserve-mib 1536 (not an option of this engine) strata-q36: /home/user/Documents/Strata/models/qwen36-UD-Q4_K_XL/Qwen3.6-35B-A3B-UD-Q4_K_XL.gguf: 753 tensors (layout checked), 4.40 GiB on the GPU in 1.8 s (the routed experts are placed after the engine's buffers) strata-q36: cudaMalloc(&p, n * 4) failed: out of memory (/data/split-pkg/r29/e/appsrc/src/qwen35/q36_engine.cu:1128)

Log for Coder IQ1_M:
[strata] 2026-11-05 20:04:50 engine started: /home/user/.local/share/strata/components/engine/0.1.55-linux-x86_64-cuda-cuda13/strata --serve --pack /home/user/Documents/Strata/packs/coder-iq1_m --native /home/user/Documents/Strata/models/coder-IQ1_M/Qwen3.8-Flash-Next-GSQ-RCO-IQ1_M-00001-of-00002.gguf --ple-gguf /home/user/Documents/Strata/models/coder-IQ1_M/Qwen3.8-Flash-Next-GSQ-RCO-IQ1_M-00002-of-00002.gguf --expert-profile /tmp/.mount_StrataocOIhi/usr/lib/Strata/control/data/expert-profile-coder.bin --expert-cache auto --prefill auto --spec 4 --spec-min-p 0.5 --mtp /home/user/Documents/Strata/mtp/rt --max-context 8192 --mmap-experts --pool-workers 7 --vram-reserve-mib 1536 --kv-resident 4096 strata: sm_86 (Ampere): 9 exact speed switches on by default (STRATA_SM86_PERF=0 turns them off; a switch you set is kept): ADAPT_NOWAIT ADAPT_LAG CPU_IQ_ALL_EXACT1 SIDE_MIXER ATTN_DAILY GR_UP75 GU_SWIGLU QSA_ROWS B6_MMVQ_ROWS strata generate: memory guard: limit 27.3 GiB (source: meminfo), current 4.2 GiB, reclaimable cache credited 0.0 GiB; available 23.0 GiB (MemAvailable 23.0 GiB), floor 2560 MiB strata generate: PCIe probe: 6.7 GB/s host->device (best of 6.7 6.7 6.7 6.7) -> pcie_frac 0.18 (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: /home/user/Documents/Strata/packs/coder-iq1_m experts (largest blob 2.66 MB), token embedding IQ4_XS in mapped host memory (322 MiB, 0.3 s) strata generate: 1406 MiB of weights loaded from /home/user/Documents/Strata/packs/coder-iq1_m in 0.4 s (302 canonical tensors skipped: served natively) strata generate: 300 native projection matrices, 2018.88 MiB of weights, in 0.5 s strata generate: PLE direct read probe: 48210 rows/s (fine) strata generate: the SSD is kept awake while rows are read: one page of the table after 100 ms without a read, until 60 s after the last request (STRATA_SSD_KEEPALIVE=0 turns it off) strata generate: profile /tmp/.mount_StrataocOIhi/usr/lib/Strata/control/data/expert-profile-coder.bin: 12288 ranked pairs, built for 12288 slots strata generate: PLE on, table 320001536 rows of /home/user/Documents/Strata/models/coder-IQ1_M/Qwen3.8-Flash-Next-GSQ-RCO-IQ1_M-00002-of-00002.gguf strata mtp: draft layer loaded, 809 MiB of VRAM (experts 675, dense 111), files read in 0.50 s (1566 MiB/s) strata generate: experimental native Q5_K head, 521472000 bytes, in 0.1 s strata generate: GPU 0: NVIDIA GeForce RTX 3060 Laptop GPU, compute capability 8.6 strata generate: experts via mmap (--mmap-experts; the A/B arm of R2.1) strata generate: file tier (Linux defaults, experts.bin: its pages are read from the mapping as they are): page-cached experts computed from the mapping (STRATA_COLD_OVERLAP=0), io prefetch with whole-blob preads on 8 I/O threads, the decode's read-ahead only while the page cache has room for it and it pays (STRATA_IO_PF_GATE=1); off: STRATA_COLD_OVERLAP=0, STRATA_IO_PREFETCH=0, STRATA_IO_PF_GATE=0 strata generate: GPU host-callback thread started before host-core pinning strata generate: CPU pool tasks/phase: 24 (automatic), participating threads: 8 strata generate: 7 pool workers on logical processors 2,4,6,8,10,12,14, the host thread on 0 (draining too) (--host-core first) strata generate: CPU workers on logical processors 2,4,...,14 (7 workers, one per physical core; host on 0) strata aux cpus: threads that are neither pool workers nor the host go to CPUs 1 (off at start; a request's aux_cpus=1 turns it on) strata generate: expert cache auto: 0.29 GiB free, 1536 MiB reserved (+218 MiB for the draft head) -> 0 slots strata generate: no VRAM is left for the expert cache: it needs at least 263 slots (667 MiB), about 2125 MiB more than this card has free. To make room: a smaller --max-context (the session, mostly its KV cache, takes 327 MiB at 8192 tokens), --kv q4_0, the English draft subset (setup --draft-vocab en; the draft head takes 218 MiB now), a smaller --vram-reserve-mib (1536 now; 300 is enough on a small card), images on the CPU, or close other programs that use the GPU strata generate: the profile fill asks for 256 pairs ahead (STRATA_FILL_AHEAD) strata generate: pre-filled 0 of 0 slots from the profile in 0.0 s (0 MB/s); slot 0 verified strata generate: routing-aware prefetch on (the next layer's router, file tier) strata generate: 7 expert-pool workers + the host thread strata generate: session is up (engine 0.1.55) strata: the CPU prefill share is not armed by default: the experts it would read are 23.4 GiB of file pages and only 22.2 GiB of RAM is free to keep them. STRATA_PREFILL_CPU_SHARE=auto turns it on anyway strata serve: the prompt path allocates its own buffers (too few cache slots to borrow) strata serve: prefill: device buffers for a chunk of 1024 tokens do not fit (5 of 5806 MiB free at the failure; 117 MiB taken, the failing buffer wanted 231 MiB): trying a 512-token chunk strata serve: prefill: device buffers for a chunk of 512 tokens do not fit (7 of 5806 MiB free at the failure; 116 MiB taken, the failing buffer wanted 115 MiB) strata serve: the GPU has too little free VRAM for the prompt path: turn images off (setup: --vision no), close other programs using the GPU, use a shorter context, or read prompts in smaller chunks (--prefill 512)

<!-- gh-comment-id:6618383222 --> @Johnreidsilver commented on GitHub (Nov 3, 2026): RTX 3060 6GB VRAM + 32GB RAM here and can't load the smallest VRAM+RAM (22.3GB) model in QWEN3.6 : UD-Q4_K_XL I'm using linux, Ubuntu 24.04.5, APU+dGPU so all RTX VRAM is dedicated to strata. Also using zram to gain a bit above the real 32GB. edit: was using strata 0.2.9, just tried with 0.2.11, same result: `ggml_cuda_init: failed to initialize CUDA: no CUDA-capable device is detected 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.0 s strata-vision: on the CPU, 8 threads, no warm-up [strata] 2026-11-05 18:32:12 engine started: /home/user/.local/share/strata/components/engine/0.1.55-linux-x86_64-cuda-cuda13/strata --serve --native /home/user/Documents/Strata/models/qwen36-UD-Q4_K_XL/Qwen3.6-35B-A3B-UD-Q4_K_XL.gguf --max-context 8192 --prefill auto --mtp 2 --vision --pool-workers 7 --resident-budget-gib 11 --vram-reserve-mib 1536 strata-q36: ignoring --resident-budget-gib 11 (not an option of this engine) strata-q36: ignoring --vram-reserve-mib 1536 (not an option of this engine) strata-q36: /home/user/Documents/Strata/models/qwen36-UD-Q4_K_XL/Qwen3.6-35B-A3B-UD-Q4_K_XL.gguf: 753 tensors (layout checked), 4.40 GiB on the GPU in 1.8 s (the routed experts are placed after the engine's buffers) strata-q36: cudaMalloc(&p, n * 4) failed: out of memory (/data/split-pkg/r29/e/appsrc/src/qwen35/q36_engine.cu:1128)` I'm using dual graphics and without external monitor nvtop and nvidia-smi show 4MB of RTX 3060 VRAM in usage. Though nvtop at the mem bar show 344MB in usage of 6Gi total VRAM NVIDIA-SMI 595.91.07 Driver Version: 595.91.07 CUDA Version: 13.2 kernel 7.0.0-31-generic With read pictures disabled (would be cool if it could use the APU's gfx90c via Vulkan): `[strata] 2026-11-05 18:33:37 engine started: /home/user/.local/share/strata/components/engine/0.1.55-linux-x86_64-cuda-cuda13/strata --serve --native /home/user/Documents/Strata/models/qwen36-UD-Q4_K_XL/Qwen3.6-35B-A3B-UD-Q4_K_XL.gguf --max-context 8192 --prefill auto --mtp 2 --pool-workers 7 --resident-budget-gib 11 --vram-reserve-mib 1536 strata-q36: ignoring --resident-budget-gib 11 (not an option of this engine) strata-q36: ignoring --vram-reserve-mib 1536 (not an option of this engine) strata-q36: /home/user/Documents/Strata/models/qwen36-UD-Q4_K_XL/Qwen3.6-35B-A3B-UD-Q4_K_XL.gguf: 753 tensors (layout checked), 4.40 GiB on the GPU in 1.8 s (the routed experts are placed after the engine's buffers) strata-q36: cudaMalloc(&p, n * 4) failed: out of memory (/data/split-pkg/r29/e/appsrc/src/qwen35/q36_engine.cu:1128)` Log for Coder IQ1_M: `[strata] 2026-11-05 20:04:50 engine started: /home/user/.local/share/strata/components/engine/0.1.55-linux-x86_64-cuda-cuda13/strata --serve --pack /home/user/Documents/Strata/packs/coder-iq1_m --native /home/user/Documents/Strata/models/coder-IQ1_M/Qwen3.8-Flash-Next-GSQ-RCO-IQ1_M-00001-of-00002.gguf --ple-gguf /home/user/Documents/Strata/models/coder-IQ1_M/Qwen3.8-Flash-Next-GSQ-RCO-IQ1_M-00002-of-00002.gguf --expert-profile /tmp/.mount_StrataocOIhi/usr/lib/Strata/control/data/expert-profile-coder.bin --expert-cache auto --prefill auto --spec 4 --spec-min-p 0.5 --mtp /home/user/Documents/Strata/mtp/rt --max-context 8192 --mmap-experts --pool-workers 7 --vram-reserve-mib 1536 --kv-resident 4096 strata: sm_86 (Ampere): 9 exact speed switches on by default (STRATA_SM86_PERF=0 turns them off; a switch you set is kept): ADAPT_NOWAIT ADAPT_LAG CPU_IQ_ALL_EXACT1 SIDE_MIXER ATTN_DAILY GR_UP75 GU_SWIGLU QSA_ROWS B6_MMVQ_ROWS strata generate: memory guard: limit 27.3 GiB (source: meminfo), current 4.2 GiB, reclaimable cache credited 0.0 GiB; available 23.0 GiB (MemAvailable 23.0 GiB), floor 2560 MiB strata generate: PCIe probe: 6.7 GB/s host->device (best of 6.7 6.7 6.7 6.7) -> pcie_frac 0.18 (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: /home/user/Documents/Strata/packs/coder-iq1_m experts (largest blob 2.66 MB), token embedding IQ4_XS in mapped host memory (322 MiB, 0.3 s) strata generate: 1406 MiB of weights loaded from /home/user/Documents/Strata/packs/coder-iq1_m in 0.4 s (302 canonical tensors skipped: served natively) strata generate: 300 native projection matrices, 2018.88 MiB of weights, in 0.5 s strata generate: PLE direct read probe: 48210 rows/s (fine) strata generate: the SSD is kept awake while rows are read: one page of the table after 100 ms without a read, until 60 s after the last request (STRATA_SSD_KEEPALIVE=0 turns it off) strata generate: profile /tmp/.mount_StrataocOIhi/usr/lib/Strata/control/data/expert-profile-coder.bin: 12288 ranked pairs, built for 12288 slots strata generate: PLE on, table 320001536 rows of /home/user/Documents/Strata/models/coder-IQ1_M/Qwen3.8-Flash-Next-GSQ-RCO-IQ1_M-00002-of-00002.gguf strata mtp: draft layer loaded, 809 MiB of VRAM (experts 675, dense 111), files read in 0.50 s (1566 MiB/s) strata generate: experimental native Q5_K head, 521472000 bytes, in 0.1 s strata generate: GPU 0: NVIDIA GeForce RTX 3060 Laptop GPU, compute capability 8.6 strata generate: experts via mmap (--mmap-experts; the A/B arm of R2.1) strata generate: file tier (Linux defaults, experts.bin: its pages are read from the mapping as they are): page-cached experts computed from the mapping (STRATA_COLD_OVERLAP=0), io prefetch with whole-blob preads on 8 I/O threads, the decode's read-ahead only while the page cache has room for it and it pays (STRATA_IO_PF_GATE=1); off: STRATA_COLD_OVERLAP=0, STRATA_IO_PREFETCH=0, STRATA_IO_PF_GATE=0 strata generate: GPU host-callback thread started before host-core pinning strata generate: CPU pool tasks/phase: 24 (automatic), participating threads: 8 strata generate: 7 pool workers on logical processors 2,4,6,8,10,12,14, the host thread on 0 (draining too) (--host-core first) strata generate: CPU workers on logical processors 2,4,...,14 (7 workers, one per physical core; host on 0) strata aux cpus: threads that are neither pool workers nor the host go to CPUs 1 (off at start; a request's aux_cpus=1 turns it on) strata generate: expert cache auto: 0.29 GiB free, 1536 MiB reserved (+218 MiB for the draft head) -> 0 slots strata generate: no VRAM is left for the expert cache: it needs at least 263 slots (667 MiB), about 2125 MiB more than this card has free. To make room: a smaller --max-context (the session, mostly its KV cache, takes 327 MiB at 8192 tokens), --kv q4_0, the English draft subset (setup --draft-vocab en; the draft head takes 218 MiB now), a smaller --vram-reserve-mib (1536 now; 300 is enough on a small card), images on the CPU, or close other programs that use the GPU strata generate: the profile fill asks for 256 pairs ahead (STRATA_FILL_AHEAD) strata generate: pre-filled 0 of 0 slots from the profile in 0.0 s (0 MB/s); slot 0 verified strata generate: routing-aware prefetch on (the next layer's router, file tier) strata generate: 7 expert-pool workers + the host thread strata generate: session is up (engine 0.1.55) strata: the CPU prefill share is not armed by default: the experts it would read are 23.4 GiB of file pages and only 22.2 GiB of RAM is free to keep them. STRATA_PREFILL_CPU_SHARE=auto turns it on anyway strata serve: the prompt path allocates its own buffers (too few cache slots to borrow) strata serve: prefill: device buffers for a chunk of 1024 tokens do not fit (5 of 5806 MiB free at the failure; 117 MiB taken, the failing buffer wanted 231 MiB): trying a 512-token chunk strata serve: prefill: device buffers for a chunk of 512 tokens do not fit (7 of 5806 MiB free at the failure; 116 MiB taken, the failing buffer wanted 115 MiB) strata serve: the GPU has too little free VRAM for the prompt path: turn images off (setup: --vision no), close other programs using the GPU, use a shorter context, or read prompts in smaller chunks (--prefill 512)`
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#399
No description provided.