[GH-ISSUE #5369] [TUI] profile from the installed run config keeps port 8080; bench --profile rejects a launch preset; 20 s cold first request (M2 Ultra 128 GB report) #3201

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

Originally created by @5ugAv on GitHub (Nov 6, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/5369

Area

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

Desktop app, Terminal or source?

Terminal (the strata command)

What happened

Mac Studio M2 Ultra 128 GB, macOS 27.2, Strata 0.2.11 release (Terminal install.sh), engine 0.1.57-metal, Qwen3.8-Flash-Next IQ3_S with the DFlash2 drafter. Everything ran in the end (standard protocol 21/21, sanity 12/12: PR #5368). These are the rough edges hit on the way, all observed on this machine; consolidated into one issue as CONTRIBUTING asks.

  1. A profile created from the installed run config keeps port 8080, not the preset's port. strata launch … --port 8086 --save-preset flashnext-iq3s served on 8086. strata profile create X --from-config ~/.local/share/strata/install/strata-iq3_s.json then produced a profile on 8080 (the installer default). strata bench run --profile X printed "using the server that is already running at this profile's address; it will not be stopped" and then "no Strata server answers at that address" (exit 5), because another program (Open WebUI) listens on 8080 here. Expected: the profile to take the port the model was set up on, or the message to say which address it checked. Workaround: strata profile set X port=8086.

  2. strata bench run --profile <launch preset> does not accept a launch preset and does not say where the run config is. It says "profile 'flashnext-iq3s' is not saved; use strata profile create" (exit 5). Finding ~/.local/share/strata/install/strata-<model>.json took a search. Expected: the message or BENCHMARK_PROTOCOL.md to name the run config path (or accept the preset).

  3. First request on a freshly loaded engine takes about 20 s to its first token (prompt read at 3.9 tok/s) because the Metal prompt kernels are built on first use ("prompt kernels … ready in 9181 ms" in the engine log); every later request is normal (first token 0.6 s short, prompt 735–746 tok/s). The protocol's warm-up covers it; a line in MAC.md would stop a user from reading it as a slow Mac.

For the Mac notes: with a 27 GB Ollama model also resident, the IQ3_S pack ran fine; free memory touched 0.1 GB at 16k–22k-token prompts without failure, and after about 3 minutes idle wired memory dropped from 81 GB to 23 GB with the next request still answering in under a second. 84 GB is the number to plan with for IQ3_S here (the launch plan says so; a third-party note claiming 63 GB was wrong). Worked without comment: JSON mode, stop sequences, max_tokens, client cancel mid-stream, two queued requests, a 100-request soak with no speed drift, /v1/messages.

Prepared with an AI assistant; every command, number and log line above was run and read on this machine.

Smallest steps or command that reproduce it

strata launch --family qwen --model iq3_s --model-path ~/models/<IQ3_S shards> --port 8086 --access local --no-api-key --context 32k --vision off --tune skip --save-preset flashnext-iq3s --yes --no-tui
strata launch --stop --preset flashnext-iq3s
strata bench run --profile flashnext-iq3s            # (2) "profile is not saved"
strata profile create bench1 --from-config ~/.local/share/strata/install/strata-iq3_s.json
strata bench run --profile bench1                    # (1) with something else on :8080: "server already running … no Strata server answers"
strata profile set bench1 port=8086 && strata bench run --profile bench1   # runs; warm-up shows (3)

Reproduction status

Reproduced locally

Strata version

Strata 0.2.11 · engine 0.1.57-metal

Graphics card, memory and system

Apple M2 Ultra (60-core GPU), 128 GB unified memory · macOS 27.2

Model, size and settings

Qwen3.8-Flash-Next IQ3_S (ISTA-DASLab GGUF), context 32k, pictures off, DFlash2 drafter, profile port 8086

Logs

Engine log and the full results are in PR #5368 (bench/results/2026-11-06-standard-apple-m2-ultra-1067121f/).

Originally created by @5ugAv on GitHub (Nov 6, 2026). Original GitHub issue: https://github.com/Niko1221/Strata/issues/5369 ### Area [TUI] (the Terminal: strata launch, connect, monitor) ### Desktop app, Terminal or source? Terminal (the `strata` command) ### What happened Mac Studio M2 Ultra 128 GB, macOS 27.2, Strata 0.2.11 release (Terminal install.sh), engine 0.1.57-metal, Qwen3.8-Flash-Next IQ3_S with the DFlash2 drafter. Everything ran in the end (standard protocol 21/21, sanity 12/12: PR #5368). These are the rough edges hit on the way, all observed on this machine; consolidated into one issue as CONTRIBUTING asks. 1. **A profile created from the installed run config keeps port 8080, not the preset's port.** `strata launch … --port 8086 --save-preset flashnext-iq3s` served on 8086. `strata profile create X --from-config ~/.local/share/strata/install/strata-iq3_s.json` then produced a profile on 8080 (the installer default). `strata bench run --profile X` printed "using the server that is already running at this profile's address; it will not be stopped" and then "no Strata server answers at that address" (exit 5), because another program (Open WebUI) listens on 8080 here. Expected: the profile to take the port the model was set up on, or the message to say which address it checked. Workaround: `strata profile set X port=8086`. 2. **`strata bench run --profile <launch preset>` does not accept a launch preset and does not say where the run config is.** It says "profile 'flashnext-iq3s' is not saved; use strata profile create" (exit 5). Finding `~/.local/share/strata/install/strata-<model>.json` took a search. Expected: the message or BENCHMARK_PROTOCOL.md to name the run config path (or accept the preset). 3. **First request on a freshly loaded engine takes about 20 s to its first token** (prompt read at 3.9 tok/s) because the Metal prompt kernels are built on first use ("prompt kernels … ready in 9181 ms" in the engine log); every later request is normal (first token 0.6 s short, prompt 735–746 tok/s). The protocol's warm-up covers it; a line in MAC.md would stop a user from reading it as a slow Mac. For the Mac notes: with a 27 GB Ollama model also resident, the IQ3_S pack ran fine; free memory touched 0.1 GB at 16k–22k-token prompts without failure, and after about 3 minutes idle wired memory dropped from 81 GB to 23 GB with the next request still answering in under a second. 84 GB is the number to plan with for IQ3_S here (the launch plan says so; a third-party note claiming 63 GB was wrong). Worked without comment: JSON mode, stop sequences, max_tokens, client cancel mid-stream, two queued requests, a 100-request soak with no speed drift, `/v1/messages`. Prepared with an AI assistant; every command, number and log line above was run and read on this machine. ### Smallest steps or command that reproduce it ``` strata launch --family qwen --model iq3_s --model-path ~/models/<IQ3_S shards> --port 8086 --access local --no-api-key --context 32k --vision off --tune skip --save-preset flashnext-iq3s --yes --no-tui strata launch --stop --preset flashnext-iq3s strata bench run --profile flashnext-iq3s # (2) "profile is not saved" strata profile create bench1 --from-config ~/.local/share/strata/install/strata-iq3_s.json strata bench run --profile bench1 # (1) with something else on :8080: "server already running … no Strata server answers" strata profile set bench1 port=8086 && strata bench run --profile bench1 # runs; warm-up shows (3) ``` ### Reproduction status Reproduced locally ### Strata version Strata 0.2.11 · engine 0.1.57-metal ### Graphics card, memory and system Apple M2 Ultra (60-core GPU), 128 GB unified memory · macOS 27.2 ### Model, size and settings Qwen3.8-Flash-Next IQ3_S (ISTA-DASLab GGUF), context 32k, pictures off, DFlash2 drafter, profile port 8086 ### Logs Engine log and the full results are in PR #5368 (`bench/results/2026-11-06-standard-apple-m2-ultra-1067121f/`).
Author
Owner

@github-actions[bot] commented on GitHub (Nov 6, 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:

  • Start the title with its area: [Engine], [GUI], [TUI], [Benchmark], [Docs] or [Other], then a short description. Example: "[Engine] decode stops after 2 minutes".

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:6674847909 --> @github-actions[bot] commented on GitHub (Nov 6, 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: - [ ] Start the title with its area: [Engine], [GUI], [TUI], [Benchmark], [Docs] or [Other], then a short description. Example: "[Engine] decode stops after 2 minutes". 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 6, 2026):

Thanks, this follows the format now.

<!-- gh-comment-id:6675477020 --> @github-actions[bot] commented on GitHub (Nov 6, 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#3201
No description provided.