[PR #4223] [CLOSED] [TUI] accept --vram-reserve-mib in strata launch #4957

Closed
opened 2026-11-07 16:31:37 +07:00 by bsakaguchi · 0 comments
Owner

📋 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 launch
  • e4befbd [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 2048 was rejected as an unknown option. --set vram-reserve-mib=2048 already passed the setting through, but there was no direct launch flag for it.

This adds the direct option, accepts 0 or 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

  • Passed: & .\.terminal-test-venv\Scripts\python.exe -m pytest tests/terminal/test_launch.py -q — 114 passed, 1 skipped.
  • Passed: python -m py_compile strata_cli/launch/cmd.py tests/terminal/test_launch.py; git diff --check.
  • Failed (baseline): the three failing install/TUI tests also fail on main at 4b9e05a2: 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.
  • Not run: python -m pytest tests/terminal did 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 2048 with 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.

## 📋 Pull Request Information **Original PR:** https://github.com/Niko1221/Strata/pull/4223 **Author:** [@Cyneric](https://github.com/Cyneric) **Created:** 10/26/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `fix-vram-reserve-cli` --- ### 📝 Commits (2) - [`f304dcb`](https://github.com/Niko1221/Strata/commit/f304dcb373925398d800421c5e433fbeb4191a30) [TUI] accept VRAM reserve in launch - [`e4befbd`](https://github.com/Niko1221/Strata/commit/e4befbd8f00f796db6975f356c4275a29578afce) [TUI] merge main and preserve both launch flags ### 📊 Changes **3 files changed** (+32 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `docs/TERMINAL_LAUNCH.md` (+1 -0) 📝 `strata_cli/launch/cmd.py` (+14 -0) 📝 `tests/terminal/test_launch.py` (+17 -1) </details> ### 📄 Description ## Problem and result `strata launch --vram-reserve-mib 2048` was rejected as an unknown option. `--set vram-reserve-mib=2048` already passed the setting through, but there was no direct launch flag for it. This adds the direct option, accepts `0` or 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 - **Passed:** `& .\.terminal-test-venv\Scripts\python.exe -m pytest tests/terminal/test_launch.py -q` — 114 passed, 1 skipped. - **Passed:** `python -m py_compile strata_cli/launch/cmd.py tests/terminal/test_launch.py`; `git diff --check`. - **Failed (baseline):** the three failing install/TUI tests also fail on `main` at `4b9e05a2`: 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. - **Not run:** `python -m pytest tests/terminal` did 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 2048` with their usual model and share the engine startup log and observed VRAM use? --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-07 16:31:37 +07:00
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#4957
No description provided.