[GH-ISSUE #3425] [Engine] Recommended IQ3_XXS on 32 GB RAM + 16 GB VRAM generates at 0.5–7 t/s #1387

Closed
opened 2026-11-04 01:50:53 +07:00 by bsakaguchi · 6 comments
Owner

Originally created by @POMXARK on GitHub (Oct 20, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/3425

Problem

The size Strata recommends for 48 GB RAM + VRAM (IQ3_XXS, 47.0 GB) fills system RAM on a 32 GB RAM + 16 GB VRAM PC. Generation runs at 5–7 t/s and drops to 0.5 t/s as the context grows, against the published 62 t/s. The GPU stays almost idle. A simple question in the built-in Strata chat did not finish in 20 minutes.

Environment

  • Strata version / commit:
  • OS: Windows 11 23H2 (build 22631)
  • GPU: NVIDIA RTX 5080 16 GB, driver 617.14, CUDA 13.4, PCIe Gen3 x16
  • CPU: AMD Ryzen 7 5700X (8C/16T)
  • RAM: 32 GB DDR4 (XMP: <on/off>)
  • Storage: W:\Strata\Strata-data on <NVMe / SATA SSD>
  • Model: Qwen3.8-Flash-Next IQ3_XXS (GSQ-RCO)
  • Settings: context 64K, resource mode "Leave 20% for my work", image reading on
  • Client: the built-in Strata GUI chat with its agent tools (workspace "Strata")

Reproduce

  1. On the PC above, pick the model recommended for 48 GB (IQ3_XXS) and keep the defaults listed above.
  2. The Strata UI shows "43.9 GB RAM + VRAM" and "About 10 GB will be read from SSD, so answers may be slower".
  3. In a new Strata chat, attach a screenshot and ask: "how do I add the Strata model to OpenCode" (asked in Russian).

Expected

An answer within a few minutes, with generation close to the published 62 t/s for IQ3_XXS. Otherwise, a recommended size that leaves enough free RAM for a normal desktop session.

Actual

  • The model thinks for 2m 41s, then calls tools: the glob **/opencode* times out ("Glob timed out (huge home dir)"), and two pwsh commands run.
  • After that the status stays at "Preparing answer..." for 19m 10s with only 869 tokens generated, and no answer is ever given.
  • Request log from the Strata dashboard for the same session:
time      prompt   reused   output   gen t/s   duration
14:21:38      53        0        1       7.6     16.9 s
14:25:12   7,068        0      897       5.1    5m 55s
14:31:40   8,010    7,964      142       5.8     34.4 s
14:39:49   8,317    8,152      144       5.9     45.1 s
14:40:43  19,139    8,462        2       0.5    3m 42s
  • Prompt processing: 35–50 t/s, while the published figure is 1,750 t/s.

Evidence

  • System RAM: 25.9 / 32 GB after the first requests, 31.0 / 32 GB at 19K context.
  • VRAM: 14.1–14.2 / 16 GB; experts in VRAM: 3,405 (5.6 GB).
  • GPU load during generation: 6–8 %, power draw 47–58 W out of 360 W.
  • PCIe traffic to the GPU: 18–48 MB/s; disk read: 4–6 MB/s.
  • The "VRAM hit rate" column is empty ("—") for every request.
  • Log: strata-.log attached (sanitized). Screenshots of the chat and the dashboard attached.

Same PC with plain llama.cpp and a model that fits fully in VRAM, used as a coding agent in OpenCode:

llama-server.exe -hf unsloth/Qwen3.8-27B-GGUF:UD-IQ3_XXS ^
  -ngl 99 -c 65536 -fa on -np 1 --jinja --cache-ram 0 ^
  -ctk q8_0 -ctv q8_0 ^
  --spec-type draft-mtp --spec-draft-n-max 2

Result: 30–70 t/s generation and stable tool calls; a question like this one is answered in a couple of minutes. So the hardware can run a coding model quickly; the slowdown comes from the recommended Strata size not fitting in free memory.

Suggestions:

  • Subtract the memory already in use (Windows, browser and IDE take 6–10 GB) when recommending a size, or warn when less than about 8 GB would stay free.
  • Show the expert cache hit rate in the UI, so users can tell whether VRAM, RAM or SSD is the bottleneck.

Reproduction status

Reproduced by me on the hardware above, in one session with several requests. Not yet retested with "Full performance" mode, XMP on, or with other applications closed.

Test results (update)

Short prompt without tools, new chat in the Strata GUI, same IQ3_XXS model:

Write a C++17 function that parses a CSV line with quoted fields. No explanation.

request                               output   duration   average
CSV function (C++17)                     454    3m 4s     ~2.5 t/s
"how to add the model to OpenCode"     1,183   19m 31s    ~1.0 t/s
  • Settings: context 64K, "Read pictures" on.
  • The Strata UI warns: "About 10 GB will be read from the SSD, so answers can be a little slower."
  • The dashboard shows Speed as "Unavailable" for these requests, so I could only compute the averages (output / duration). The first figure may include model load time.
  • After the requests the model was unloaded ("No model loaded"; RAM 7.0 / 32 GB, VRAM 1.2 / 16 GB).

Storage note: all model files are on an external SSD connected over USB Type-C. llama.cpp loads Qwen3.8-27B from the same drive and still generates at 30–70 t/s, because that model fits fully in VRAM and the drive is read only at load time. With Strata the recommended size relies on reading about 10 GB from this drive during generation, and the UI gives no warning that external or USB storage is unsuitable for that.

Originally created by @POMXARK on GitHub (Oct 20, 2026). Original GitHub issue: https://github.com/Niko1221/Strata/issues/3425 ### Problem The size Strata recommends for 48 GB RAM + VRAM (IQ3_XXS, 47.0 GB) fills system RAM on a 32 GB RAM + 16 GB VRAM PC. Generation runs at 5–7 t/s and drops to 0.5 t/s as the context grows, against the published 62 t/s. The GPU stays almost idle. A simple question in the built-in Strata chat did not finish in 20 minutes. ### Environment - Strata version / commit: <version> - OS: Windows 11 23H2 (build 22631) - GPU: NVIDIA RTX 5080 16 GB, driver 617.14, CUDA 13.4, PCIe Gen3 x16 - CPU: AMD Ryzen 7 5700X (8C/16T) - RAM: 32 GB DDR4 (XMP: <on/off>) - Storage: W:\Strata\Strata-data on <NVMe / SATA SSD> - Model: Qwen3.8-Flash-Next IQ3_XXS (GSQ-RCO) - Settings: context 64K, resource mode "Leave 20% for my work", image reading on - Client: the built-in Strata GUI chat with its agent tools (workspace "Strata") ### Reproduce 1. On the PC above, pick the model recommended for 48 GB (IQ3_XXS) and keep the defaults listed above. 2. The Strata UI shows "43.9 GB RAM + VRAM" and "About 10 GB will be read from SSD, so answers may be slower". 3. In a new Strata chat, attach a screenshot and ask: "how do I add the Strata model to OpenCode" (asked in Russian). ### Expected An answer within a few minutes, with generation close to the published 62 t/s for IQ3_XXS. Otherwise, a recommended size that leaves enough free RAM for a normal desktop session. ### Actual - The model thinks for 2m 41s, then calls tools: the glob `**/opencode*` times out ("Glob timed out (huge home dir)"), and two pwsh commands run. - After that the status stays at "Preparing answer..." for 19m 10s with only 869 tokens generated, and no answer is ever given. - Request log from the Strata dashboard for the same session: ~~~text time prompt reused output gen t/s duration 14:21:38 53 0 1 7.6 16.9 s 14:25:12 7,068 0 897 5.1 5m 55s 14:31:40 8,010 7,964 142 5.8 34.4 s 14:39:49 8,317 8,152 144 5.9 45.1 s 14:40:43 19,139 8,462 2 0.5 3m 42s ~~~ - Prompt processing: 35–50 t/s, while the published figure is 1,750 t/s. ### Evidence - System RAM: 25.9 / 32 GB after the first requests, 31.0 / 32 GB at 19K context. - VRAM: 14.1–14.2 / 16 GB; experts in VRAM: 3,405 (5.6 GB). - GPU load during generation: 6–8 %, power draw 47–58 W out of 360 W. - PCIe traffic to the GPU: 18–48 MB/s; disk read: 4–6 MB/s. - The "VRAM hit rate" column is empty ("—") for every request. - Log: strata-<model>.log attached (sanitized). Screenshots of the chat and the dashboard attached. Same PC with plain llama.cpp and a model that fits fully in VRAM, used as a coding agent in OpenCode: ~~~bat llama-server.exe -hf unsloth/Qwen3.8-27B-GGUF:UD-IQ3_XXS ^ -ngl 99 -c 65536 -fa on -np 1 --jinja --cache-ram 0 ^ -ctk q8_0 -ctv q8_0 ^ --spec-type draft-mtp --spec-draft-n-max 2 ~~~ Result: 30–70 t/s generation and stable tool calls; a question like this one is answered in a couple of minutes. So the hardware can run a coding model quickly; the slowdown comes from the recommended Strata size not fitting in free memory. Suggestions: - Subtract the memory already in use (Windows, browser and IDE take 6–10 GB) when recommending a size, or warn when less than about 8 GB would stay free. - Show the expert cache hit rate in the UI, so users can tell whether VRAM, RAM or SSD is the bottleneck. ### Reproduction status Reproduced by me on the hardware above, in one session with several requests. Not yet retested with "Full performance" mode, XMP on, or with other applications closed. ### Test results (update) Short prompt without tools, new chat in the Strata GUI, same IQ3_XXS model: > Write a C++17 function that parses a CSV line with quoted fields. No explanation. ~~~text request output duration average CSV function (C++17) 454 3m 4s ~2.5 t/s "how to add the model to OpenCode" 1,183 19m 31s ~1.0 t/s ~~~ - Settings: context 64K, "Read pictures" on. - The Strata UI warns: "About 10 GB will be read from the SSD, so answers can be a little slower." - The dashboard shows Speed as "Unavailable" for these requests, so I could only compute the averages (output / duration). The first figure may include model load time. - After the requests the model was unloaded ("No model loaded"; RAM 7.0 / 32 GB, VRAM 1.2 / 16 GB). Storage note: all model files are on an external SSD connected over USB Type-C. llama.cpp loads Qwen3.8-27B from the same drive and still generates at 30–70 t/s, because that model fits fully in VRAM and the drive is read only at load time. With Strata the recommended size relies on reading about 10 GB from this drive during generation, and the UI gives no warning that external or USB storage is unsuitable for that.
Author
Owner

@github-actions[bot] commented on GitHub (Oct 20, 2026):

Thanks for the issue. To keep the tracker readable, every item needs an area prefix in the title and the parts of the issue form filled in. This one is missing:

  • Start the title with its area: [Engine], [GUI], [TUI], [Benchmark], [Docs] or [Other], then a short description. Example: "[Engine] decode stops after 2 minutes".

Edit the issue (title and description) and this note goes away on its own. If it is still missing parts in 5 days it will be closed, which is not a rejection: fix it and comment /reopen.

Details: CONTRIBUTING.md

<!-- gh-comment-id:6290285989 --> @github-actions[bot] commented on GitHub (Oct 20, 2026): Thanks for the issue. To keep the tracker readable, every item needs an area prefix in the title and the parts of the issue form filled in. This one is missing: - [ ] Start the title with its area: [Engine], [GUI], [TUI], [Benchmark], [Docs] or [Other], then a short description. Example: "[Engine] decode stops after 2 minutes". Edit the issue (title and description) and this note goes away on its own. If it is still missing parts in 5 days it will be closed, which is not a rejection: fix it and comment `/reopen`. Details: [CONTRIBUTING.md](https://github.com/Niko1221/Strata/blob/main/CONTRIBUTING.md)
Author
Owner

@github-actions[bot] commented on GitHub (Oct 20, 2026):

Thanks, this follows the format now.

<!-- gh-comment-id:6290409784 --> @github-actions[bot] commented on GitHub (Oct 20, 2026): Thanks, this follows the format now.
Author
Owner

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

The pick is the 48 GB tier (RAM + VRAM). On your PC the app's own arithmetic says about 11 GB of IQ3_XXS is read from the SSD while answering (the desktop keeps about 10 GB of RAM), and your files are on a USB SSD, which makes that very slow. For 0.2.2, the next release (not out yet), the recommendation says this plainly next to the pick. The tier rule itself is unchanged. Please try Swift IQ2_XS or Gyro-M, and an internal NVMe if possible.

<!-- gh-comment-id:6308097448 --> @Niko1221 commented on GitHub (Oct 21, 2026): The pick is the 48 GB tier (RAM + VRAM). On your PC the app's own arithmetic says about 11 GB of IQ3_XXS is read from the SSD while answering (the desktop keeps about 10 GB of RAM), and your files are on a USB SSD, which makes that very slow. For 0.2.2, the next release (not out yet), the recommendation says this plainly next to the pick. The tier rule itself is unchanged. Please try Swift IQ2_XS or Gyro-M, and an internal NVMe if possible.
Author
Owner

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

From 0.2.2 the recommended size counts RAM + VRAM minus 5 GB kept for Windows. A 32 GB RAM + 16 GB VRAM PC now gets Swift 1.5 IQ2_XS instead of IQ3_XXS, and bigger sizes can still be picked. Please try 0.2.2 and let us know if it fits your system better.

<!-- gh-comment-id:6314513914 --> @Niko1221 commented on GitHub (Oct 21, 2026): From 0.2.2 the recommended size counts RAM + VRAM minus 5 GB kept for Windows. A 32 GB RAM + 16 GB VRAM PC now gets Swift 1.5 IQ2_XS instead of IQ3_XXS, and bigger sizes can still be picked. Please try 0.2.2 and let us know if it fits your system better.
Author
Owner

@POMXARK commented on GitHub (Oct 23, 2026):

@Niko1221 not good NVME SSD

Image Image
<!-- gh-comment-id:6374690102 --> @POMXARK commented on GitHub (Oct 23, 2026): @Niko1221 not good NVME SSD <img width="1138" height="597" alt="Image" src="https://github.com/user-attachments/assets/f074d553-0c84-4eae-819e-0970da44215d" /> <img width="1351" height="1144" alt="Image" src="https://github.com/user-attachments/assets/21349e6b-7a89-4cde-9fc9-45f2b1958c74" />
Author
Owner

@POMXARK commented on GitHub (Oct 24, 2026):

Hi @Niko1221 ,
I wanted to share a major success story regarding the Strata Coder (IQ1_M) model. It managed to resolve a highly complex, low-level game engine bug where multiple other dense models failed, got stuck in reasoning loops, or hallucinated the solution.

The Problem:

We are developing a C++ 3D game engine using DirectX 9. In the wind-vegetation demo scene, all generated trees and the terrain mesh were completely invisible (rendering a blank background color), despite being loaded into memory successfully with no D3D or shader compilation errors.
Other models hallucinated that the camera position was being lost in NODER::Draw and blamed near-plane clipping (z=0 < 0.1), suggesting destructive changes to the core matrix pipeline.

How Strata Coder Solved It:

Strata Coder analyzed the logs and source files, rejected the misleading near-plane clipping theory after retro-engineering the engine's camera re-injection wrappers, and precisely isolated two completely separate bugs that were masking each other:

  1. Scripting Bug (Message Format): It found an unformatted argument string bug in wind_vegetation.c:
    • Before: SendMessage(&TreeN, "l", MSG_MODEL_SET_WIND, 1);
    • Fix: Changed "l" to "ll". The omitted format character for the long argument was causing stack errors, leaving the useWind flag FALSE and crushing the global gWVP matrix to zero.
  2. Shader Bug (Matrix Multiplication Order): It identified a reversed multiplication order in windleaf.fx:61:
    • Before: o.pos = mul(gWVP, pos); (column-vector convention)
    • Fix: Changed to o.pos = mul(pos, gWVP); to strictly match the engine's row-major / row-vector convention used in all other working shaders (like grass.fx).

Result:

After applying both atomic fixes provided by the model, the scene rendered flawlessly—the ground, trunks, and crowns are fully visible with valid wind physics animation.
Even with the extreme linguistic pruning of the IQ1_M format (which makes it struggle with regular Russian prose), its raw coding core and LiveCodeBench capabilities are absolutely outstanding for low-level C++ engineering and reverse-engineering tasks. Thanks for the amazing work on this architecture!

<!-- gh-comment-id:6390787550 --> @POMXARK commented on GitHub (Oct 24, 2026): Hi @Niko1221 , I wanted to share a major success story regarding the Strata Coder (IQ1_M) model. It managed to resolve a highly complex, low-level game engine bug where multiple other dense models failed, got stuck in reasoning loops, or hallucinated the solution. The Problem: We are developing a C++ 3D game engine using DirectX 9. In the wind-vegetation demo scene, all generated trees and the terrain mesh were completely invisible (rendering a blank background color), despite being loaded into memory successfully with no D3D or shader compilation errors. Other models hallucinated that the camera position was being lost in NODER::Draw and blamed near-plane clipping (z=0 < 0.1), suggesting destructive changes to the core matrix pipeline. How Strata Coder Solved It: Strata Coder analyzed the logs and source files, rejected the misleading near-plane clipping theory after retro-engineering the engine's camera re-injection wrappers, and precisely isolated two completely separate bugs that were masking each other: 1. Scripting Bug (Message Format): It found an unformatted argument string bug in wind_vegetation.c: • Before: SendMessage(&TreeN, "l", MSG_MODEL_SET_WIND, 1); • Fix: Changed "l" to "ll". The omitted format character for the long argument was causing stack errors, leaving the useWind flag FALSE and crushing the global gWVP matrix to zero. 2. Shader Bug (Matrix Multiplication Order): It identified a reversed multiplication order in windleaf.fx:61: • Before: o.pos = mul(gWVP, pos); (column-vector convention) • Fix: Changed to o.pos = mul(pos, gWVP); to strictly match the engine's row-major / row-vector convention used in all other working shaders (like grass.fx). Result: After applying both atomic fixes provided by the model, the scene rendered flawlessly—the ground, trunks, and crowns are fully visible with valid wind physics animation. Even with the extreme linguistic pruning of the IQ1_M format (which makes it struggle with regular Russian prose), its raw coding core and LiveCodeBench capabilities are absolutely outstanding for low-level C++ engineering and reverse-engineering tasks. Thanks for the amazing work on this architecture!
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#1387
No description provided.