[PR #1354] [CLOSED] docs: the expert cache is a budget, and on Windows an over-sized one pages instead of failing #3403

Closed
opened 2026-11-07 14:41:14 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Niko1221/Strata/pull/1354
Author: @1314521gjy
Created: 10/7/2026
Status: ❌ Closed

Base: main ← Head: docs-v2


📝 Commits (1)

  • 43cbdcc docs: the expert cache is a budget and an over-sized one pages on Windows

📊 Changes

1 file changed (+56 additions, -0 deletions)

View changed files

📝 docs/DETAILS.md (+56 -0)

📄 Description

Rebuilt on 82f46a8: the earlier PR with this change (#799) was closed automatically when main was force-pushed during the history cleanup, so this is the same content cherry-picked onto the new main, plus the issue #781 data that arrived afterwards.

What it documents. --expert-cache N is compared only with the free VRAM read before the slots are written; auto checks again once they exist and shrinks, and that second check is auto-only. Under WDDM an over-committed allocation is not resident until it is touched and is put in system memory instead of failing, so the engine starts normally and only the speed shows it: 0 MiB free at 1,048,576 ran at 13.7 tok/s where 217 MiB ran at 102, and 453 slots (0.86 GiB) separate them, with the slower run showing the higher cache hit rate (so it is not misses). The startup line is the tell, and the two ways out are auto and a larger --vram-reserve-mib (deducted before the cache is sized).

Added since the closed PR: the 16 GB RTX 5080 reproduction from #781 (enkynakamura) - reserve 770 -> 0 grew the cache from 2,782 to 3,115 slots while decode fell from 40.9 to 16.6 tok/s with the hit rate flat - and the 2x RTX 5090 control from #781 (gucasbrg), where the same reserve change at healthy margins left decode unchanged (157.8 against 157.7 tok/s at 1,048,576). Together they separate the two regimes: the reserve is a safety knob, not a speed knob, unless the card is already at 0 MiB free.

Docs only, no engine changes, no new flags. The section points at issue #781 for the measurements, and the RTX 4080 SUPER configuration behind the numbers is in bench/results/2026-10-04-community-rtx-4080s-iq3s (PR #1351).


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Niko1221/Strata/pull/1354 **Author:** [@1314521gjy](https://github.com/1314521gjy) **Created:** 10/7/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `docs-v2` --- ### 📝 Commits (1) - [`43cbdcc`](https://github.com/Niko1221/Strata/commit/43cbdcc77dac82147330b33ec943fa5f3d70fe66) docs: the expert cache is a budget and an over-sized one pages on Windows ### 📊 Changes **1 file changed** (+56 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `docs/DETAILS.md` (+56 -0) </details> ### 📄 Description Rebuilt on `82f46a8`: the earlier PR with this change (#799) was closed automatically when `main` was force-pushed during the history cleanup, so this is the same content cherry-picked onto the new main, plus the issue #781 data that arrived afterwards. **What it documents.** `--expert-cache N` is compared only with the free VRAM read *before* the slots are written; `auto` checks again once they exist and shrinks, and that second check is auto-only. Under WDDM an over-committed allocation is not resident until it is touched and is put in system memory instead of failing, so the engine starts normally and only the speed shows it: 0 MiB free at 1,048,576 ran at 13.7 tok/s where 217 MiB ran at 102, and 453 slots (0.86 GiB) separate them, with the slower run showing the *higher* cache hit rate (so it is not misses). The startup line is the tell, and the two ways out are `auto` and a larger `--vram-reserve-mib` (deducted before the cache is sized). **Added since the closed PR:** the 16 GB RTX 5080 reproduction from #781 (enkynakamura) - reserve 770 -> 0 grew the cache from 2,782 to 3,115 slots while decode fell from 40.9 to 16.6 tok/s with the hit rate flat - and the 2x RTX 5090 control from #781 (gucasbrg), where the same reserve change at healthy margins left decode unchanged (157.8 against 157.7 tok/s at 1,048,576). Together they separate the two regimes: the reserve is a safety knob, not a speed knob, unless the card is already at 0 MiB free. Docs only, no engine changes, no new flags. The section points at issue #781 for the measurements, and the RTX 4080 SUPER configuration behind the numbers is in `bench/results/2026-10-04-community-rtx-4080s-iq3s` (PR #1351). --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-07 14:41:14 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Niko1221/Strata#3403
No description provided.