mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[PR #38] [CLOSED] moe: continuous adaptive expert cache eviction with exponential decay #2424
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#2424
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/38
Author: @code-martin
Created: 9/28/2026
Status: ❌ Closed
Base:
main← Head:feature/adaptive-cache-eviction📝 Commits (2)
5b51359core: implement elastic expert cache via CUDA VMM and on-demand GPU vision2b4cf19moe: continuous adaptive expert cache eviction with exponential decay📊 Changes
6 files changed (+625 additions, -69 deletions)
View changed files
📝
CMakeLists.txt(+2 -2)📝
include/strata/core/expert_cache.hpp(+67 -0)📝
serve/server.py(+116 -26)📝
src/core/expert_cache.cpp(+338 -36)📝
src/program/generate.cpp(+56 -5)➕
tools/test_vision_client.py(+46 -0)📄 Description
Summary
Implements continuous, non-blocking MoE expert cache adaptation between VRAM resident slots and host RAM during multi-turn generation.
Motivation
Static expert placement profiles calibrated on generic corpora often yield low hit rates (~25–35%) when operating in specialized domains or conversations in other languages. Continuous adaptation enables the cache to dynamically follow conversation context.
Key Changes
Testing
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.