Repository navigation
Conversation
Anjiangy
force-pushed
the
add-program-kv
branch
2 times, most recently
from
November 14, 2026 08:35
c39abd2 to
c1bb32e
Compare
Anjiangy
force-pushed
the
add-program-kv
branch
from
November 14, 2026 08:37
c1bb32e to
15eb0e1
Compare
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add PROGRAM-KV: program-aware request/KV controller
新增一条 portfolio 条目:Program-Aware Request/KV Controller(
code: PROGRAM-KV)。一句话定位
以 program 为单位的准入与 KV 常驻控制:按块预算把驻留集合装箱到多卡,按需换出/换回某个 program 的 KV,
并随超容比在细粒度换入换出与整批轮转之间切换。
机制
Σp_resident + p_next ≤ (1 − headroom)·C,否则排队(把死锁变成排队)p = ceil(L/128)+2)贪心分卡/kv/park)与按需取回(/kv/restore),192 KB/tokenK/N ≤ 0.55时用整批轮转(批内不换入换出);否则细粒度实测(2 × Ascend 910B2,Qwen2.5-14B,892 块/卡)
收益随超容比下降:1.15× +13.2% / 1.53× +12.0% / 1.91× +6.6% / 2.35× reload 型失效。
变更
只改
data/control-plane-projects.json,在projects数组末尾追加一项(见 diff)。