mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[PR #279] [CLOSED] Windows: leave 1500 MiB of VRAM unused by default (decode stalled with 700) #2545
Labels
No labels
needs-format
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Niko1221/Strata#2545
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Niko1221/Strata/pull/279
Author: @sergqwer
Created: 9/30/2026
Status: ❌ Closed
Base:
main← Head:pr/windows-vram-reserve📝 Commits (1)
feb180cWindows: leave 1500 MiB of VRAM unused by default (was 700)📊 Changes
3 files changed (+11 additions, -1 deletions)
View changed files
📝
docs/DETAILS.md(+1 -0)📝
setup.py(+3 -1)📝
src/program/generate.cpp(+7 -0)📄 Description
Summary
On Windows the GPU usually also drives the desktop. With the default
--vram-reserve-mib 700, only ~470-570 MiBstayed free once the expert cache was written. Whenever the desktop's programs took more than that, WDDM stalled the
GPU. It did not happen in every run, which is what made it hard to see: decode speed simply differed from run to run.
The default is now 1500 MiB on Windows (700 elsewhere). setup's vision reserve no longer lowers it on Windows, and
DETAILS.md gets a troubleshooting row for older engines.
Measured
Measured on current main (0.1.29,
d6708a4) with ISTA-DASLab's IQ2_XS, RTX 5090 32 GB, Ryzen 9 9950X3D, 128 GB DDR5, Windows 11. KL is first-token KL divergence (STRATA_DUMP_FIRST_LOGITS, #276); two runs of main itself differ by 0 on 5 of 6 short prompts and by 0.00013 on the sixth. 400-token answers, 4 runs each, interleaved:An NVFP4 pack showed the same (700: 58-90 tok/s in half the runs, 104-116 in the others; 1500: 108-116 in every run).
The CPU pool, the draft acceptance and the expert cache are the same in slow and fast runs; only the GPU's own time
per round grows.
Switch
--vram-reserve-mib 700brings the old default back.🤖 Generated with Claude Code
https://claude.ai/code/session_01VZy1yKaDDiA8a7svdwaHio
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.