mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[PR #799] [CLOSED] docs: the expert cache size is a budget, and on Windows an over-sized one pages instead of failing #2836
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#2836
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?
📋 Pull Request Information
Original PR: https://github.com/Niko1221/Strata/pull/799
Author: @1314521gjy
Created: 10/4/2026
Status: ❌ Closed
Base:
main← Head:docs-vram-budget📝 Commits (10+)
fa16567setup: an earlier config that does not parse is skipped, not a crash; configs are written atomically (#459)749d957setup (--backend hip): a system ROCm without the HIP development files falls back to the wheels (#446)5a30024calibrate: the engine's arguments come from the server's engine_args; a failed tuning says why (#447)9f60d13serve, setup: name the small split card that caps the prompt chunk; setup recommends the big card alone (#448)eb8da1d/metrics: each request's speculative draft counts, and their sums in the totals (#457)6a09387setup (--gguf-dir): GGUFs Strata cannot run are named as such, with the --family/--model to use (#444)d6a91e2docs: the Coder is weaker outside code, Chinese/CJK text included; the unpruned sizes for that (#438)d8d4ad3Merge branch 'f-135-eng' into rel-0.1.357b600d5Merge branch 'f-135-small' into rel-0.1.35d9ab843Engine 0.1.35: Windows AMD uses its bundled HIP runtime (#468 #461), the low-RAM resident mode on Windows 32 GB PCs (#467), fixes #460 #459 #446 #447 #457 #448 #444; setup requires it📊 Changes
1 file changed (+45 additions, -0 deletions)
View changed files
📝
docs/DETAILS.md(+45 -0)📄 Description
Documentation only, no engine change.
--expert-cache NisNtimes the largest expert blob, and the engine compares it only with the free VRAM it reads before the slots are written.--expert-cache autochecks again after they are written and shrinks if they do not fit; that second check is auto-only. On Windows an allocation is not resident until it is touched, the free figure read before can be about a gigabyte too high, and the driver's default sysmem fallback moves an over-committed allocation to system memory instead of failing - so the start looks normal and only the speed shows it.Measured on an RTX 4080 SUPER 32 GB, IQ3_S, 0.1.39,
--max-context 1048576(yarn factor 4), fresh 43,969 / 45,670 / 47,956-token prompts, 200 generated each, one engine start per row:--expert-cache 8900LOW)autoLOW)auto+--vram-reserve-mib 1500--expert-cache 7000--max-context 524288453 slots (0.86 GiB) separate 13.7 from 102 tok/s, and the slower run had the higher cache hit rate, so it is not misses. The page says what to do (leave it on
auto, size it smaller, or raise--vram-reserve-mib, which is deducted before the cache is sized).The mechanism was suggested by the maintainer in #781; the measurements and the write-up are ours, including a negative result: the
\GPU Process Memory(*)\Shared Usage/Dedicated Usagecounters did not separate the slow run from the fast ones on that machine (they track the pinned expert arena and pinned K/V), which the page records rather than hides.The full report is PR #780; the same numbers with the profiler tables are in
bench/results/2026-10-04-community-rtx-4080s-iq3s/README.md.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.