Skip to content

feat(dp): add cache-aware dp balancing - #1607

Open
WANDY666 wants to merge 1 commit into
mainfrom
feat/dp-cache-aware-balancer
Open

WANDY666 wants to merge 1 commit into
mainfrom
feat/dp-cache-aware-balancer

Conversation

@WANDY666

Copy link
Copy Markdown
Contributor

Add --dp_balancer cache_aware using bounded token-prefix dispatch history and load-aware fallback. Keep request groups together, derive hash granularity from existing cache configuration, and preserve the default balancer.

This improves the chance of DP-local prefix reuse without sending all repeated prompts to an overloaded rank. Routing hints do not assert actual KV residency; disabled-cache requests bypass affinity, and temporary prompt mappings are released by their owner.

Tests: configured granularity, affinity, overload fallback, LRU eviction and mapping ownership (13 passed).

@WANDY666 WANDY666 changed the title feat(dp): add opt-in token-prefix cache-aware balancing feat(dp): add cache-aware dp balancing Sep 30, 2026
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