Archived
Revert "budget: a rank whose cache costs less backs the same tokens with a smaller pool"
This reverts commit fa01bd2. Its premise -- the attention-zero rank holds a larger share of the experts, so the bytes its cache does not need are best spent in its weights pool -- went with the experts' remainder-first placement (665d181): the experts cut as every world always has and no rank has a larger share. What the re-split did keep was a KV pool on that rank a third the size of its peers', and BetterBench after three 250k prefills (a cache three quarters full) decoded 13-23% slower at every concurrency than the same tree without it, while a cold server measured faster. The pool goes back to the common split; what the rank does not carve for attention it lends, as every rank's idle cache does.
This commit is contained in:
1 parent
92b8aaff2b
commit
9f5feb24ee
2 files changed
+1
-42
No files matched your search
@@ -76,10 +76,6 @@ private:
|
||||
* shared BY POINTER rather than broadcast (spec §1). */
|
||||
struct Rank;
|
||||
std::vector<std::unique_ptr<Rank>> ranks_;
|
||||
/* Each rank's pool budgets: cfg_'s, except where a rank's cache costs less than its peers'
|
||||
* and its KV pool is sized for the same tokens with the difference in its weights (see the
|
||||
* resolve in Engine::plan). */
|
||||
std::vector<Config> rank_cfg_;
|
||||
/* THE DISK HALF OF THE IDLE TIERS. One store for the engine, not one per rank: it is
|
||||
* keyed by a chained hash of TOKENS, which every rank computes identically, and a
|
||||
* per-rank store would write the same key several times over. Off unless
|
||||
|
||||
Reference in new issue
Block a user