mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[GH-ISSUE #3693] [Engine] An explicit --expert-cache N is not a cap: the fill overshoots it (4497 -> 5118 slots, 56 MiB free) and is slower than a smaller cache #1532
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#1532
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 @dai8647 on GitHub (Oct 22, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/3693
Area
[Engine]
Desktop app, Terminal or source?
Source (engine built from the release tag on Windows, HIP build).
What happened
An explicit
--expert-cache Nis not treated as a cap: the engine fillsmore slots than were asked for, lands in the "the card is this full" danger
zone, and is slower than a smaller cache.
Windows 11 / RX 7800 XT (gfx1101, 16 GB), engine 0.1.44.1, same pack and
profile, one arm per engine boot:
--expert-cacheauto4497The engine's own boot lines for the explicit arm:
Two things go wrong at once:
621 slots (1.0 GiB of VRAM), so the engine's own LOW warning fires on the
next request ("only 56 MiB of VRAM free ... when the card is this full the
driver can page GPU memory to system RAM, decode falls to a few tok/s").
(33.70 vs 34.98 tok/s) - the extra slots cost more than they bought.
This is not specific to 0.1.44.1: on 0.1.45 (
--expert-cache 3950and4490) the fill again ended at 5,118 slots / 8.32 GiB with ~0.4 GiB free, andthe same
expert cache autoline shrinks to 3,087 slots with "only 0 MiB freeonce the slots are written".
Smallest steps or command that reproduce it
--expert-cache 4497 --vram-reserve-mib 1280and read theexpert cache N slotsline in the engine log.--expert-cache autoon a fresh boot.Reproduction status
Reproduces on every boot with an explicit value: the fill lands on the same
5,118 slots / 8.32 GiB whatever number between 3950 and 4497 is asked for.
The
autoarm is stable at 4,400-4,700 slots on the same machine and the samepack.
Strata version
0.1.44.1 (the same overshoot happens on 0.1.45 and 0.2.0-beta).
Graphics card, memory and system
RX 7800 XT 16 GB (gfx1101) · 96 GB RAM · Ryzen 5 5500 (AVX2) · Windows 11
Model, size and settings
Swift-Qwen3.8-Flash-Next IQ3_XXS (Swift-abliterated), pack
packs/swift_mmap,--expert-cache 4497 --vram-reserve-mib 1280 --resident-budget-gib 40Logs
A suggestion: treating
--expert-cache Nas a cap on the number of slots (andwarning when the fill would exceed it) would make the flag mean what it says
and would keep the engine out of the #2065 range.
autoalready produces asane size on a card with room, so an explicit smaller number should be honoured
rather than overshot.
@github-actions[bot] commented on GitHub (Oct 22, 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 22, 2026):
Thanks, this follows the format now.
@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.