mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[GH-ISSUE #4134] [Engine] launch --vram-reserve-mib is an unknown argument #1810
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#1810
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 @OneOfOne on GitHub (Oct 25, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/4134
It maxes out my VRAM and crashes, and the option can't be used.
OS: CachyOS
GPU: AMD 7900XTX
ROCM: 7.2.4
@ukrolelo commented on GitHub (Oct 25, 2026):
this parameter should be in the json ?
@OneOfOne commented on GitHub (Oct 25, 2026):
I added it to json and it got auto deleted
~/.config/strata/launch-presets/iq1_m-64k.jsonafter the next time I launched.@OneOfOne commented on GitHub (Oct 25, 2026):
doesn't change anything, it always maxes my vram.
@ukrolelo commented on GitHub (Oct 26, 2026):
i had same problem with q5 but fixed it, idk what specifically helped but you can check some of the settings https://github.com/Niko1221/Strata/issues/3691
@Cyneric commented on GitHub (Oct 26, 2026):
@OneOfOne We’ve opened draft PR #4223 to add
--vram-reserve-mibtostrata launch. We verified that the CLI accepts and forwards the value, but we don’t have a Radeon 7900 XTX to check the actual VRAM behavior. Could you try the PR with your usual setup and share the engine startup log and observed VRAM use? Please redact any private paths or other sensitive details.@Cyneric commented on GitHub (Oct 26, 2026):
If anyone else with a Radeon 7900 XTX can test draft PR #4223 with
--vram-reserve-mib 2048, confirmation of the startup log and observed VRAM use would also be very helpful.@OneOfOne commented on GitHub (Oct 26, 2026):
I can confirm
passes it to the engine, it just chooses it to ignore it (sometimes, today it didn't, but it causes a different problem)
EDIT:
I set it to 0 and it still won't start:
EDIT 2:
I can't even run
--retunenow, it dies with OOM.@Cyneric commented on GitHub (Oct 26, 2026):
Thanks for the logs. They confirm that the JSON setting reaches the engine.
Looking at the code,
session state allocation failedoccurs before the automatic expert cache is sized using--vram-reserve-mib. That may explain why both2048and0fail here. This is based on code inspection; we haven't reproduced it on a Radeon.Could you share the free VRAM and running GPU processes immediately before launch, plus the full
--retunefailure log? A separate run with a smaller context would also help narrow this down.For PR #4223 specifically, could you confirm whether you installed that branch and tested the direct
strata launch --vram-reserve-mib 2048option? The JSONextraroute already existed; the PR adds the direct launch option without changing engine memory allocation.@XiaoBinGan commented on GitHub (Oct 27, 2026):
The plumbing already carries this value; only the dedicated flag is missing. Measured in the official image
0.2.2-cuda13(engine 0.1.47) on a 32 GB RTX 5090, Ubuntu 20.04 host:So
--setstores it where the engine arguments are assembled (LaunchSettings.extra), and the plan'sflagsline echoes--set vram-reserve-mib=832. Inside the container the same thing is reachable without--set:docker/entrypoint.shtranslatesSTRATA_SET(STRATA_SET="vram-reserve-mib=832") into one--setperKEY=VALUE, which is whatdocs/DOCKER.mddocuments under Settings.Two consequences for this issue and #4223:
--vram-reserve-mib 832to the config's args") from a Terminal install hits the rejected flag above, not the workaround. Naming--set vram-reserve-mib=832in the engine's advice, or accepting the flag as #4223 does, closes that gap; the value already reaches the engine either way.Not related to the cause you are chasing (the engine ignoring the value on a 7900 XTX): I have no AMD card here and did not test that half. This is only about the argument path.
@Cyneric commented on GitHub (Oct 27, 2026):
Thanks for testing. I should have mentioned
--set. This already works in released Terminal versions:PR #4223 just adds the direct
--vram-reserve-mibflag. It doesn't change how the engine allocates memory, so the 7900 XTX startup failure still needs investigating.@OneOfOne commented on GitHub (Oct 27, 2026):
we can close this for now and the PR since the config json works as intended.
I'll try to open another ticket later, I've been really busy the last few days.
@Niko1221 commented on GitHub (Oct 29, 2026):
The setting is
strata launch --set vram-reserve-mib=2048, or"extra": {"--vram-reserve-mib": "2048"}in the preset. Closing as you suggested. The failuresession state allocation failedon the 7900 XTX is a separate engine problem; please open a new issue for it with the free VRAM before launch and the full log.@pjsgsy commented on GitHub (Nov 3, 2026):
For me, this has no effect. I tried updating to the tui today, as I could not get dflash via the old 'UPDATE.bat' method, nor manually trying to push it, but, it's a config disaster! lol. --vram-reserve-mib is reported as not a valid argument in the TUI. Adding it manually per above, it's just ignored. It's in the json config, but loading with 1/3rd of the experts it does with the old (original) setup, as it seems to simply ignore the vram-reserve-mib.