mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[PR #4223] [CLOSED] [TUI] accept --vram-reserve-mib in strata launch #4957
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#4957
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/4223
Author: @Cyneric
Created: 10/26/2026
Status: ❌ Closed
Base:
main← Head:fix-vram-reserve-cli📝 Commits (2)
f304dcb[TUI] accept VRAM reserve in launche4befbd[TUI] merge main and preserve both launch flags📊 Changes
3 files changed (+32 additions, -1 deletions)
View changed files
📝
docs/TERMINAL_LAUNCH.md(+1 -0)📝
strata_cli/launch/cmd.py(+14 -0)📝
tests/terminal/test_launch.py(+17 -1)📄 Description
Problem and result
strata launch --vram-reserve-mib 2048was rejected as an unknown option.--set vram-reserve-mib=2048already passed the setting through, but there was no direct launch flag for it.This adds the direct option, accepts
0or a positive whole number of MiB, applies it to this launch (taking precedence over the same key in--set), and documents it. Defaults and launches without the flag are unchanged.Related discussion: #4134
Approach
The CLI stores the value in the existing advanced-setting path, so it reaches the engine without changing engine code or backend behavior.
Validation
& .\.terminal-test-venv\Scripts\python.exe -m pytest tests/terminal/test_launch.py -q— 114 passed, 1 skipped.python -m py_compile strata_cli/launch/cmd.py tests/terminal/test_launch.py;git diff --check.mainat4b9e05a2: the install shell check cannot launch WSL/bin/bash; the folder-step and Cloudflare-warning TUI assertions fail. No changes were made for those failures.python -m pytest tests/terminaldid not finish within 10 minutes (it reached 51%); the machine has no Radeon 7900 XTX, so the setting's effect on that hardware was not verified.Limits and help wanted
This verifies CLI parsing and argument forwarding, not actual VRAM headroom on an AMD card. Draft pending a run on the reported Radeon 7900 XTX. Could the reporter or a maintainer run
strata launch --vram-reserve-mib 2048with their usual model and share the engine startup log and observed VRAM use?🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.