mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[GH-ISSUE #1715] [Strix Halo, 128 GB unified memory] setup's --expert-cache auto (no --resident-budget-gib) causes a global OOM with UD-IQ4_XS #687
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#687
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 @nsbradley88 on GitHub (Oct 9, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/1715
Setup: Strix Halo laptop (HP ZBook Ultra G1a, Ryzen AI Max+ 395, 128 GB, gfx1151), Ubuntu 26.04, kernel 7.0.0-38, v0.1.41 source build per
docs/STRIX_HALO.md(ROCm 7.14.1 tarball), Unsloth UD-IQ4_XS, hostttm.pages_limit=29360128(112 GiB GTT) andamd_iommu=off, desktop session running.What happened: an engine run with the arguments setup writes for this model —
--expert-cache autoand no--resident-budget-gib(otherwise--prefill 16384 --spec 4 --spec-min-p 0.5 --mtp ... --kv int8 --lookup-chain 3 --mtp-q4 all, plus thedocs/STRIX_HALO.md§5 fast config) — triggered a global OOM. The kernel killed the engine and processes in the desktop session:Expected:
autoleaves enough room on a unified-memory APU.docs/STRIX_HALO.mdsaysdevice_free_bytes()countsMemAvailableless 6 GiB; here that still overcommitted — possibly because the expert cache and the resident/host copies both draw on the same 128 GB, or because the larger GTT pool makes "free VRAM" look bigger than what RAM can back.Workaround: explicit
--expert-cache 24576 --resident-budget-gib 55is stable (≥45 GiBMemAvailablethroughout agentic and 128K-context runs; all 24,576 experts resident).Benchmark results from the same machine are in a separate PR (community report). Write-up: https://github.com/nsbradley88/halo-tuning
@Niko1221 commented on GitHub (Oct 10, 2026):
setup now writes a number instead of --expert-cache auto when the GPU is a unified-memory APU and the model has a RAM budget (UD-IQ4_XS, UD-Q4_K_XL): the RAM less 24 GB less the budget, in slots (priced at 1.1x the average expert). On a 124 GB box with the 55 GiB budget that is about 17,000 slots; with no room it keeps auto and warns. Unit tests in tools/test_setup_unsloth.py (StrixHaloCache). We have no Strix Halo box, so the number is conservative: your measured config (24576 slots with 55 GiB) stays reachable by editing --expert-cache in the config's args. Please try v0.1.42 and tell us if you want it higher.
@Niko1221 commented on GitHub (Oct 13, 2026):
Thanks for the report. To keep the tracker current we are closing issues older than three days: 0.1.44 is out with a long list of fixes, and many older reports are covered by it or by 0.1.43.1.
If this still happens on 0.1.44, please leave a comment here with your engine log (and the version line it prints), and we will reopen it. A new issue that links this one works too.