mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[PR #39] [CLOSED] telemetry: decode-only cache hit rate, prompt checkpoint retention, and dashboard #2425
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#2425
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/39
Author: @code-martin
Created: 9/28/2026
Status: ❌ Closed
Base:
main← Head:feature/decode-hit-rate-telemetry📝 Commits (3)
5b51359core: implement elastic expert cache via CUDA VMM and on-demand GPU vision2b4cf19moe: continuous adaptive expert cache eviction with exponential decay1d40c82telemetry: decode-only expert cache hit rate and web dashboard monitor📊 Changes
8 files changed (+833 additions, -92 deletions)
View changed files
📝
CMakeLists.txt(+2 -2)📝
include/strata/core/expert_cache.hpp(+67 -0)📝
serve/server.py(+227 -28)📝
serve/web/app.js(+25 -3)📝
serve/web/index.html(+4 -2)📝
src/core/expert_cache.cpp(+338 -36)📝
src/program/generate.cpp(+124 -21)➕
tools/test_vision_client.py(+46 -0)📄 Description
Summary
Refines MoE cache telemetry to accurately report token generation hit rate (excluding prompt prefill skew), adds multi-turn prefix/system prompt KV cache retention, and provides real-time cache metrics in the web UI.
Key Changes
eq_hits,
eq_look, otal_swaps, and drift.
ecent_hit_pct,
ecent_hits,
ecent_lookups, and cumulative counters in /metrics and /api/stats.
Testing
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.