tether
tether copied to clipboard
[Metrics] Track Episode Cache Memory Usage
Description (GFI)
Granular memory tracking for the KV cache.
Task
- [ ] Update
EpisodeCacheto compute the byte-size of its stored tensors. - [ ] Expose
reflex_episode_cache_bytes_totalas a Prometheus metric.
Is this still available? Happy to take it on.
Completed by PR #258 at 8df88ea76a268619850fd84726c5a774de22f97d. EpisodeCache byte accounting now handles same-key replacement without double-counting/false eviction, and the production Pi0.5 episode-cache constructor supplies embodiment/model labels so tether_episode_cache_bytes_total is actually emitted. The focused cache, server, CUDA-graph, and fast-path suite passed with one expected CUDA-only skip.