[GH-ISSUE #3215] [Engine] Forced 1536 MiB VRAM reserve overwrites user config on 0.2.0-beta, dropping decode speed from 80 to 50 tok/s #1303

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

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

Problem:
On Strata 0.2.0-beta (Windows 11), the engine/launcher forcibly resets and overwrites --vram-reserve-mib to 1536 during model loading, ignoring user configuration (0 or lower values). On a dedicated compute GPU (where the display is driven by the CPU iGPU), this unnecessary 1.5 GB VRAM reserve truncates the expert cache and drops decode throughput by ~37%.

Environment:

  • Strata version: 0.2.0-beta (engine 0.1.45.3)
  • OS: Windows 11
  • CPU: AMD Ryzen 7 7700 (Display connected to motherboard; iGPU handles all desktop rendering & DWM)
  • GPU: NVIDIA GeForce RTX 5070 12GB (Dedicated compute GPU, 0% display overhead)
  • RAM: 64 GB DDR5
  • Model: swift1.5-qwen3.8-flash-next-125b-IQ3_S
  • Relevant settings: --vram-reserve-mib 0, Vision disabled

Reproduce:

  1. Configure swift1.5-qwen3.8-flash-next-125b-IQ3_S on Windows 11.
  2. In the model config JSON (strata-*.json), explicitly set --vram-reserve-mib 0 (or 256 / 512) to maximize VRAM expert cache, and ensure vision is disabled.
  3. Launch the model via strata launch or the Strata 0.2.0 app.
  4. Check the startup log and the JSON configuration during/after loading.

Expected:
The explicit --vram-reserve-mib 0 setting is respected and kept without being overwritten, allowing the entire 12 GB VRAM to be utilized for the expert cache (achieving ~80 tok/s as in 0.1.45).

Actual:
During model loading, the reserve is forcibly recalculated/overwritten to --vram-reserve-mib 1536. 1.5 GB of VRAM is permanently locked away, reducing expert cache capacity and dropping decode speed from ~80 tok/s down to ~50 tok/s. Disabling vision does not reclaim this memory.

Evidence:

  • Strata 0.1.45 (full VRAM utilized for expert cache): ~80 tok/s decode
  • Strata 0.2.0-beta (1536 MiB forced reserve): ~50 tok/s decode (~37% regression)
  • Config JSON is modified back to 1536 upon launch.

Reproduction status:
reproduced locally

Originally created by @mesosomeso on GitHub (Oct 19, 2026). Original GitHub issue: https://github.com/Niko1221/Strata/issues/3215 Problem: On Strata 0.2.0-beta (Windows 11), the engine/launcher forcibly resets and overwrites `--vram-reserve-mib` to `1536` during model loading, ignoring user configuration (`0` or lower values). On a dedicated compute GPU (where the display is driven by the CPU iGPU), this unnecessary 1.5 GB VRAM reserve truncates the expert cache and drops decode throughput by ~37%. Environment: - Strata version: 0.2.0-beta (engine 0.1.45.3) - OS: Windows 11 - CPU: AMD Ryzen 7 7700 (Display connected to motherboard; iGPU handles all desktop rendering & DWM) - GPU: NVIDIA GeForce RTX 5070 12GB (Dedicated compute GPU, 0% display overhead) - RAM: 64 GB DDR5 - Model: `swift1.5-qwen3.8-flash-next-125b-IQ3_S` - Relevant settings: `--vram-reserve-mib 0`, Vision disabled Reproduce: 1. Configure `swift1.5-qwen3.8-flash-next-125b-IQ3_S` on Windows 11. 2. In the model config JSON (`strata-*.json`), explicitly set `--vram-reserve-mib 0` (or `256` / `512`) to maximize VRAM expert cache, and ensure vision is disabled. 3. Launch the model via `strata launch` or the Strata 0.2.0 app. 4. Check the startup log and the JSON configuration during/after loading. Expected: The explicit `--vram-reserve-mib 0` setting is respected and kept without being overwritten, allowing the entire 12 GB VRAM to be utilized for the expert cache (achieving ~80 tok/s as in 0.1.45). Actual: During model loading, the reserve is forcibly recalculated/overwritten to `--vram-reserve-mib 1536`. 1.5 GB of VRAM is permanently locked away, reducing expert cache capacity and dropping decode speed from ~80 tok/s down to ~50 tok/s. Disabling vision does not reclaim this memory. Evidence: - Strata 0.1.45 (full VRAM utilized for expert cache): ~80 tok/s decode - Strata 0.2.0-beta (1536 MiB forced reserve): ~50 tok/s decode (~37% regression) - Config JSON is modified back to 1536 upon launch. Reproduction status: reproduced locally
Author
Owner

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

I have a similar problem; in this version, I haven't been able to import vram-reserve-mib or other options.

Perhaps you could help me with this: in the previous version, 0.1.45, I was able to use vram-reserve-mib=450 (on a dedicated GPU with 12GB of VRAM), but any attempt to set vram-reserve-mib=0 or any value less than 450 results in an error.

<!-- gh-comment-id:6275241321 --> @elusuario73 commented on GitHub (Oct 19, 2026): I have a similar problem; in this version, I haven't been able to import `vram-reserve-mib` or other options. Perhaps you could help me with this: in the previous version, 0.1.45, I was able to use `vram-reserve-mib=450` (on a dedicated GPU with 12GB of VRAM), but any attempt to set `vram-reserve-mib=0` or any value less than 450 results in an error.
Author
Owner

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

Same. This makes the engine impossible on GPUs with Low VRAM (like my 2060) so i hope this gets fixed soon.

<!-- gh-comment-id:6275272512 --> @Dampfinchen commented on GitHub (Oct 19, 2026): Same. This makes the engine impossible on GPUs with Low VRAM (like my 2060) so i hope this gets fixed soon.
Author
Owner

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

Yep, unable to run the engine. Using igpu for screen so I have as much vram as I can squeeze together.

While im here I just want to take my hat off to Niko for Strata. I never dreamed I would be able to use 3.8 NF on my system and its a dream come true. Literally lol.

<!-- gh-comment-id:6275609813 --> @UncleMart commented on GitHub (Oct 19, 2026): Yep, unable to run the engine. Using igpu for screen so I have as much vram as I can squeeze together. While im here I just want to take my hat off to Niko for Strata. I never dreamed I would be able to use 3.8 NF on my system and its a dream come true. Literally lol.
Author
Owner

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

Thanks for the clear measurements. You were right: the app forced the reserve to 1536 MiB on every Load. In 0.2.1 a number you set (0 included) is used as it is, and a card that the engine finds drives no display now defaults to 512 MiB instead of 1536.

This is in Strata 0.2.1: https://github.com/Niko1221/Strata/releases/tag/v0.2.1

<!-- gh-comment-id:6286722039 --> @Niko1221 commented on GitHub (Oct 20, 2026): Thanks for the clear measurements. You were right: the app forced the reserve to 1536 MiB on every Load. In 0.2.1 a number you set (0 included) is used as it is, and a card that the engine finds drives no display now defaults to 512 MiB instead of 1536. This is in Strata 0.2.1: https://github.com/Niko1221/Strata/releases/tag/v0.2.1
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#1303
No description provided.