mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[PR #1458] [CLOSED] helper cache: configurable VRAM allowance with allocation-floor checks #3471
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#3471
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/1458
Author: @saikiran-rs
Created: 10/7/2026
Status: ❌ Closed
Base:
main← Head:community/helper-vram-reserve-20261007📝 Commits (1)
0889667helper cache: configurable VRAM allowance with work-buffer floor📊 Changes
5 files changed (+165 additions, -8 deletions)
View changed files
📝
CMakeLists.txt(+7 -0)📝
docs/SECOND_GPU.md(+37 -0)➕
include/strata/core/remote_reserve.hpp(+41 -0)📝
src/core/remote_experts.cpp(+19 -8)➕
src/core/remote_reserve_test.cpp(+61 -0)📄 Description
Helper expert caches use a fixed 512 MiB allowance during admission. Add
STRATA_REMOTE_RESERVE_MIBso a measured setup can explicitly choose a different allowance, while retaining 512 MiB when unset.What changed
This changes helper cache admission only. The historical 128 MiB setting was used on one Linux RX 7900 XTX + RX 6800 XT machine; the default remains 512 MiB. Its combined tuning results are documented in the companion benchmark report, with no isolated allowance speedup claimed.
Validation
Based on upstream
d5ea7133741e67743c0e886bb426c0ce8d69cf6c(0.1.40.3):ctest -R '^remote_reserve_test$': passed.remote_experts.cppcompiled against the HIP SDK in a fresh isolated build configuration: passed.git diff --check: passed.No new GPU/model inference run was performed on this isolated PR. Historical full-context/quality results refer to the earlier combined research build. CUDA and Windows runtime testing remain unmeasured.
Related #1184 handles primary-device selection and resident-RAM helper support; #848 handles a layer split's reserve. Their changes are not duplicated here.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.