[GH-ISSUE #5239] [TUI] fit-to-card chose 3 parallel slots at 128K that could not load #3116

Open
opened 2026-11-07 14:38:12 +07:00 by bsakaguchi · 2 comments
Owner

Originally created by @Have-Purple on GitHub (Nov 4, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/5239

Area

[TUI] (the Terminal: strata launch, connect, monitor)

Desktop app, Terminal or source?

Terminal (the strata command)

What happened

strata launch planned three parallel slots for a 128K context on a 24 GB RTX 4090, then the engine
refused to start because three slots do not fit:

strata: The engine stopped while it was loading the model (exit code 1):
strata-q36: not enough VRAM for 3 slots at a context of 131072
(5.56 GiB each, 15.14 GiB free): use fewer slots ("parallel" / --batch)
or a shorter --max-context.

The launch chose the slot count from "fit to your card", so the plan looked valid and the failure
arrived after the model download and packing. --parallel 1 starts and serves correctly.

15.14 GiB free / 5.56 GiB per slot is 2.7, so two slots would have fit; three could not. The estimator
appears to round up or ignore one of the per-slot costs (KV, draft layer, buffers).

Smallest steps or command that reproduce it

strata launch --family qwen36 --model UD-Q4_K_XL --context 128k --vision off \
  --tune skip --access local --port 8080 --restart --no-tui

Expected: two slots, or a plan that says 2 fit. Actual: a plan for 3 slots and a start that fails.

Reproduction status

Reproduced locally

Strata version

Strata 0.1.56 — engine 0.1.56

Graphics card, memory and system

RTX 4090 24 GB — 64 GB RAM — Windows 11

Model, size and settings

Qwen3.6-35B-A3B UD-Q4_K_XL — 128K context — pictures off

Logs

The engine message is quoted above in full; there is no additional output before it. strata doctor
ran clean on this installation, and the same command with --parallel 1 serves correctly at 128K.

Prepared with AI assistance.

Originally created by @Have-Purple on GitHub (Nov 4, 2026). Original GitHub issue: https://github.com/Niko1221/Strata/issues/5239 ### Area [TUI] (the Terminal: strata launch, connect, monitor) ### Desktop app, Terminal or source? Terminal (the `strata` command) ### What happened `strata launch` planned three parallel slots for a 128K context on a 24 GB RTX 4090, then the engine refused to start because three slots do not fit: ``` strata: The engine stopped while it was loading the model (exit code 1): strata-q36: not enough VRAM for 3 slots at a context of 131072 (5.56 GiB each, 15.14 GiB free): use fewer slots ("parallel" / --batch) or a shorter --max-context. ``` The launch chose the slot count from "fit to your card", so the plan looked valid and the failure arrived after the model download and packing. `--parallel 1` starts and serves correctly. 15.14 GiB free / 5.56 GiB per slot is 2.7, so two slots would have fit; three could not. The estimator appears to round up or ignore one of the per-slot costs (KV, draft layer, buffers). ### Smallest steps or command that reproduce it ``` strata launch --family qwen36 --model UD-Q4_K_XL --context 128k --vision off \ --tune skip --access local --port 8080 --restart --no-tui ``` Expected: two slots, or a plan that says 2 fit. Actual: a plan for 3 slots and a start that fails. ### Reproduction status Reproduced locally ### Strata version Strata 0.1.56 — engine 0.1.56 ### Graphics card, memory and system RTX 4090 24 GB — 64 GB RAM — Windows 11 ### Model, size and settings Qwen3.6-35B-A3B UD-Q4_K_XL — 128K context — pictures off ### Logs The engine message is quoted above in full; there is no additional output before it. `strata doctor` ran clean on this installation, and the same command with `--parallel 1` serves correctly at 128K. Prepared with AI assistance.
Author
Owner

@github-actions[bot] commented on GitHub (Nov 4, 2026):

Thanks for the issue. To keep the tracker readable, every item needs an area prefix in the title and the parts of the issue form filled in. This one is missing:

  • Fill in "Area".
  • Fill in "Desktop app, Terminal or source?".
  • Fill in "Reproduction status".
  • Fill in "Strata version".
  • Fill in "Graphics card, memory and system".

Edit the issue (title and description) and this note goes away on its own. If it is still missing parts in 5 days it will be closed, which is not a rejection: fix it and comment /reopen.

Details: CONTRIBUTING.md

<!-- gh-comment-id:6637380652 --> @github-actions[bot] commented on GitHub (Nov 4, 2026): Thanks for the issue. To keep the tracker readable, every item needs an area prefix in the title and the parts of the issue form filled in. This one is missing: - [ ] Fill in "Area". - [ ] Fill in "Desktop app, Terminal or source?". - [ ] Fill in "Reproduction status". - [ ] Fill in "Strata version". - [ ] Fill in "Graphics card, memory and system". Edit the issue (title and description) and this note goes away on its own. If it is still missing parts in 5 days it will be closed, which is not a rejection: fix it and comment `/reopen`. Details: [CONTRIBUTING.md](https://github.com/Niko1221/Strata/blob/main/CONTRIBUTING.md)
Author
Owner

@github-actions[bot] commented on GitHub (Nov 5, 2026):

Thanks, this follows the format now.

<!-- gh-comment-id:6647314087 --> @github-actions[bot] commented on GitHub (Nov 5, 2026): Thanks, this follows the format now.
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#3116
No description provided.