[GH-ISSUE #4171] Engine 0.1.50, Strata 0.2.6, Leaves my VRAM half-unused but completely fills my RAM and then overflows to my SSD #1828

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

Originally created by @nawoa on GitHub (Oct 26, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/4171

RTX 6000 Pro 96GB
5070 Ti as display card (not being used)
128GB RAM
2TB NVME

Certain combinations of model and parallel and kv-cache length and kv-cache quantization make Strata shit itself and it leaves my VRAM either completely empty or only partially used during model loading... while loading a model which is smaller than either my RAM or my VRAM let alone both combined... and then, so insatiable is its demand for additional unneeded RAM that it starts chewing up my NVME as well, doing god-knows-what.

Unsloth Q5: runs with parallel 2, 512K FP16 kv-cache, no problem. Unsloth Q8_0 also runs in the same configuration, no problem. But god help me if I want to run Q6, or if I want to run Swift Q3.

Swift Q3 is currently loaded. I have 36.3GB of VRAM in use on my 6000 Pro and 116GB of RAM in use, plus it overflowed to my SSD during loading.

Something about your logic about loading order or where to put experts and kv-cache is totally backward.

Originally created by @nawoa on GitHub (Oct 26, 2026). Original GitHub issue: https://github.com/Niko1221/Strata/issues/4171 RTX 6000 Pro 96GB 5070 Ti as display card (not being used) 128GB RAM 2TB NVME Certain combinations of model and parallel and kv-cache length and kv-cache quantization make Strata shit itself and it leaves my VRAM either *completely empty* or only partially used during model loading... while loading a model which is *smaller than either my RAM or my VRAM* let alone both combined... and then, so insatiable is its demand for additional unneeded RAM that it starts chewing up my NVME as well, doing god-knows-what. Unsloth Q5: runs with parallel 2, 512K FP16 kv-cache, no problem. Unsloth Q8_0 *also* runs in the same configuration, no problem. But god help me if I want to run Q6, or if I want to run Swift Q3. Swift Q3 is currently loaded. I have 36.3GB of VRAM in use on my 6000 Pro and 116GB of RAM in use, plus it overflowed to my SSD during loading. Something about your logic about loading order or where to put experts and kv-cache is totally backward.
bsakaguchi 2026-11-04 01:54:26 +07:00
Author
Owner

@github-actions[bot] commented on GitHub (Oct 26, 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".
  • Add the Strata version (Settings > About, or strata --version).

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:6405746548 --> @github-actions[bot] commented on GitHub (Oct 26, 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". - [ ] Add the Strata version (Settings > About, or `strata --version`). 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

@rugabunda commented on GitHub (Oct 26, 2026):

Have you tried adding/increasing expert cache in your models config json? set reserve vram to 0; and expert cache to im not even sure, maybe 40,000, 50,000? 2000 *which is actually around 2600, is roughly 4.6gb vram. This determines how many moe's run in vram. Increase it in increments and see what happens, report back if it works.

{
"exe": "engine/strata.exe",
"args": [
"--pack",
"data/packs/iq3_xxs",
"--native",
"models/IQ3_XXS/Qwen3.8-Flash-Next-GSQ-RCO-IQ3_XXS-00001-of-00002.gguf",
"--ple-gguf",
"models/IQ3_XXS/Qwen3.8-Flash-Next-GSQ-RCO-IQ3_XXS-00002-of-00002.gguf",
"--expert-profile",
"data/expert-profile.bin",
"--expert-cache",
"2000",
"--vram-reserve-mib",
"512",
"--prefill",
"auto",
"--spec",
"12",

<!-- gh-comment-id:6429860369 --> @rugabunda commented on GitHub (Oct 26, 2026): Have you tried adding/increasing expert cache in your models config json? set reserve vram to 0; and expert cache to im not even sure, maybe 40,000, 50,000? 2000 *which is actually around 2600, is roughly 4.6gb vram. This determines how many moe's run in vram. Increase it in increments and see what happens, report back if it works. { "exe": "engine/strata.exe", "args": [ "--pack", "data/packs/iq3_xxs", "--native", "models/IQ3_XXS/Qwen3.8-Flash-Next-GSQ-RCO-IQ3_XXS-00001-of-00002.gguf", "--ple-gguf", "models/IQ3_XXS/Qwen3.8-Flash-Next-GSQ-RCO-IQ3_XXS-00002-of-00002.gguf", "--expert-profile", "data/expert-profile.bin", "--expert-cache", "2000", "--vram-reserve-mib", "512", "--prefill", "auto", "--spec", "12",
Author
Owner

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

Please send strata --version, the model config, and the engine log from start to ready for the run that leaves VRAM unused (the expert cache, resident experts and KV lines).

<!-- gh-comment-id:6492035802 --> @Niko1221 commented on GitHub (Oct 29, 2026): Please send `strata --version`, the model config, and the engine log from start to ready for the run that leaves VRAM unused (the expert cache, resident experts and KV lines).
Author
Owner

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

Closing this issue because it still did not follow the format after 5 days. That is housekeeping, not a rejection.

To bring it back: fix the title (area prefix) and the missing parts, then comment /reopen. A check runs and reopens it, or tells you what is still missing. See CONTRIBUTING.md.

<!-- gh-comment-id:6538947198 --> @github-actions[bot] commented on GitHub (Oct 31, 2026): Closing this issue because it still did not follow the format after 5 days. That is housekeeping, not a rejection. To bring it back: fix the title (area prefix) and the missing parts, then comment `/reopen`. A check runs and reopens it, or tells you what is still missing. See [CONTRIBUTING.md](https://github.com/Niko1221/Strata/blob/main/CONTRIBUTING.md).
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Niko1221/Strata#1828
No description provided.