mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[GH-ISSUE #3496] [Engine] Windows Strix Halo: the expert arena registration leaves no VRAM for the expert cache #1431
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#1431
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 @seannee on GitHub (Oct 20, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/3496
Area
GUI
Desktop app, Terminal or source?
Desktop app (0.2.1, bundled engine 0.1.46.1). I also ran the same model through the source route for comparison.
What happened
On this machine the desktop app is about a third slower than the same engine started from a source checkout, and most of that is in settings the app writes itself.
Machine: Ryzen AI Max+ 395 with the Radeon 8060S (gfx1151), 128 GB of unified memory, Windows 11 build 26300, Adrenalin 32.0.31041.1004, BIOS carve-out 32 GB. Model IQ3_S at 131072 context, int8 KV.
The app's generated config (
%LOCALAPPDATA%\Strata\install\strata-iq3_s.json) comes out as:Measured through the app's own endpoint (
/v1/chat/completions, difference of an 8-token and a 200-token answer): 30.5 tok/s.Setting the model's "GPU memory for other apps (MiB)" to 0 gets the engine to
expert cache 24576 slots, 46.84 GiB of VRAMand 38.0 tok/s, so roughly 25% of the gap is that 16 GB reserve.The rest of it is
STRATA_SH_STREAM=0plus the opt-in gfx1151 prompt switches and--prefill auto:32768: with those, the source route reaches 45.8 tok/s on the same model and the same machine. Inside the app I could not deliver them at all:envdoes not survive:restoreNativeEnv()inhost/server/native-settings.mjsdrops everySTRATA_[A-Z0-9_]+key when settings are saved, so the key disappears from the file;strata-desktop.exedoes not reach the engine either, because the packaged host is spawned withinstallerEnvironment(...)rather than{...process.env}, so the engine never inherits them (the startup line still reports the 18 built-in switches, not the 19 you get whenSH_STREAMis set).So on an APU, where "VRAM" is the same LPDDR5X the model is running out of, the app both reserves 16 GB of it for nothing and blocks the single switch worth another 16% of decode.
Two things that would fix it, in the order I would value them:
envandargs), soSTRATA_SH_STREAM=0and the prompt switches can be set without leaving the app;--vram-reserve-mibon unified-memory APUs, or at least a hint next to that field saying it costs expert-cache slots one for one.Reproduction status
Measured locally, and it comes back on every model load with the app's defaults.
Strata version
App 0.2.1 with the bundled engine 0.1.46.1 (Windows,
hip-rdna3package).Graphics card, memory and system
Radeon 8060S iGPU in a Ryzen AI Max+ 395 (gfx1151), 128 GB LPDDR5X with a 32 GB BIOS carve-out, Windows 11 build 26300, Adrenalin 32.0.31041.1004.
Model, size and settings
IQ3_S, 131072 context, int8 KV, MTP on. All 24,576 experts fit in VRAM once the reserve is 0.
Logs
@github-actions[bot] commented on GitHub (Oct 20, 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:
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
@github-actions[bot] commented on GitHub (Oct 20, 2026):
Thanks, this follows the format now.
</tool_call>is missing ends at its own</function>#3733