mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[GH-ISSUE #493] [Feature Request]: Configurable VRAM utilization #226
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#226
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?
Originally created by @mcgravier on GitHub (Oct 2, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/493
As for now, Strata fills entire VRAM first, and loads reminder to RAM
There are two issues with this behavior:
One is that on Linux with AMD card, system and apps compete for VRAM causing severe system slowdowns, second, this prevents multitasking and using other VRAM heavy applications on cards with surplus memory capacity (7900XTX, 4090, 5090)
There should be a flag allowing user to specify desired VRAM utilization.
@mkultra333 commented on GitHub (Oct 2, 2026):
I ran into a similar issue except I'm on windows 11 and an RTX 5060ti 16GB. I will sometimes be using agentic coding for video games, so I want to save a bit of VRAM for the game being developed.
I was thinking maybe either a flag that sets the maximum VRAM to use, or a flag that reserves some set amount of VRAM for other programs.
At the moment I'm using a workaround. I have a python script I run before starting Strata that grabs a chunk of VRAM (default is 2GB). Then with that running, I start up Strata. It adapts to the lower available VRAM and leaves that 2GB untouched. Then I can close the python program and free that VRAM for other things.
The script I use is this (Claude wrote it), it's nvidia specific and may or may not work on Linux, I don't know:
@Niko1221 commented on GitHub (Oct 2, 2026):
This exists already:
--vram-reserve-mib Nkeeps N MiB of VRAM free (default 700). Add it to theargsofstrata-<model>.json, e.g."--vram-reserve-mib", "2048", and restart; the expert cache then takes that much less. The next release documents it in INSTALL.md and lets setup set it (--vram-reserve-mib). Closing as answered.