mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[GH-ISSUE #3719] [Engine] expert-cache auto leaves 0 slots on a 61 GB unified-memory APU (Linux, gfx1150): the default install cannot start #1549
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#1549
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 @Bunkmil on GitHub (Oct 22, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/3719
Area
[Engine] (speed, kernels, models, the server and API)
Desktop app, Terminal or source?
Source (START-HERE.bat, setup.sh or a build)
What happened
On a unified-memory AMD APU,
--expert-cache autoas written bysetup.pysizes the cache from zero bytes and the engine then refuses to start, so a default install of Qwen3.8-Flash-Next IQ3_XXS cannot be started at all without editing the config by hand. Measured today on 0.2.2 / engine 0.1.47.The 61 GB box, IQ3_XXS (43 GB of experts), 32768 context, from
strata-iq3_xxs.jsonexactly assetup.pywrote it:The engine dies with exit 1. The UMA reserve (
include/strata/core/uma_cache.hpp,uma_desktop_reserve_bytes()= 8 GiB or 8% of RAM) is doing what it says — the arena has already taken the host memory the sizer then reads as "the OS has 7.10 GiB available" — but the result is a default configuration that cannot run, whereas the same code on a discrete card (where the cache lives in VRAM and the arena in RAM) is fine. Refusing instead of being OOM-killed is an improvement over issue #2701's engine; being unable to start is not.Smallest fix that would have worked for me: a floor on the auto size — the engine's own minimum is 277 slots (615 MiB) here — or
setup.pywriting that floor instead ofautofor a UMA card whose RAM is close to the model's requirement.Smallest steps or command that reproduce it
Reproduction status
Reproduced locally
Strata version
Strata 0.2.2 · engine 0.1.47 (both built from source at
011c9e60, HIP, gfx1150)Graphics card, memory and system
AMD Radeon 890M (gfx1150, Strix Point, Ryzen AI 9 HX 370) · 1.0 GB BIOS carve-out + 30.7 GB GTT out of 61 GB of RAM shared with the CPU · CachyOS, Linux 7.2 · system ROCm 10.1, hipBLASLt 1.4.1 (table
tools/hip/gfx1150-hipblaslt-100401.txt)Model, size and settings
Qwen3.8-Flash-Next IQ3_XXS (47.0 GB requirement, 43 GB of experts) · 32768 context ·
--kv int8·--prefill auto --spec 4 --spec-min-p 0.5·--visionwith the CPU reader ·--expert-cache autoas setup wrote itLogs
The lines above are the whole failure. For comparison, the same install with
--expert-cache 1536set by hand (the only change to the config):and it runs: 15.5 tok/s decode (18.4 tok/s behind a 1785-token prompt), prompt 170 tok/s, expert-cache hit rate 59.5-68.2% on decode. On a 92 GB machine with 8192 slots (17.8 GiB) the same model and quantization reaches 23.1-24.8 tok/s (issue #2701), which is the expected shape: the cache is the whole difference here.
Two smaller things noticed in the same path, for whoever touches it:
uma_desktop_reserve_bytes()(8 GiB minimum) but the older warning on the neighbouring branch still prints "less 4 GiB for the OS".autonot reserving--batchslots (#3364) and reading free VRAM under WDDM (#3692); this one is the Linux/HIP, UMA-host-headroom case.@Niko1221 commented on GitHub (Nov 5, 2026):
Thanks for taking the time to report this.
Strata has changed a lot since this was opened, and 0.2.11 is out now, so many older reports no longer apply. We're closing issues older than a week that have had no new reports in the last week. Closed here does not mean rejected.
To reopen it takes about two minutes:
/reopen. A check runs and either reopens the issue or lists what is still missing.The rules are in CONTRIBUTING.md.