Skip to content

Preserve CMLFQ learning across rebinds and correct TP cost units - #15

Merged
kaiwenKevinn merged 2 commits into
NetX-lab:mainfrom
tcyjohn:codex/fix-cmlfq-cost-state
Oct 20, 2026
Merged

kaiwenKevinn merged 2 commits into
NetX-lab:mainfrom
tcyjohn:codex/fix-cmlfq-cost-state

Conversation

@tcyjohn

@tcyjohn tcyjohn commented Oct 19, 2026 •

Copy link
Copy Markdown
Contributor

Rebinding a rollout engine currently drops CMLFQ's live prefix evidence, recent-trajectory window, and rebuild counters. Preserve independent copies of that learned state across both engine reconstruction and reconfiguration, so periodic rebuilds keep using the accumulated online window.

Also correct the analytic TP estimates used for resource and routing decisions: divide aggregate KV capacity by aggregate token storage, include replicated or uneven KV heads, and use per-worker bandwidth for per-worker decode reads.

Validation (re-run on 2026-10-20): local CPU CI passed all 101 tests, including 21 cases covering rebind/rebuild behavior, state isolation, and TP capacity/bandwidth units. No model or GPU runtime is required for these regressions.

@kaiwenKevinn
kaiwenKevinn merged commit 7aeb7c0 into NetX-lab:main Oct 20, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants