Repository navigation
Conversation
…regression test (#236)
Port of Enntity/atlas 4d75b9e (AGPL-3.0-only). The carveout path charged no per-token auxiliary bytes, so a QSA model's pooled index keys grew unbudgeted when the KV pool extended into the display heap. KvShape gains auxiliary_block_bytes + with_per_token_aux; the factory calls it with aux_bytes_per_token (QSA indexer carry, 0 for non-QSA models, so their block count is unchanged). Capacity delta (qwen4_exp, rc16 profile): aux 768 B/token x block_size 16 = 12,288 B charged per block the carveout adds beyond the budget, so the pool extends to fewer blocks than before for the same budget — the correct, previously-unaccounted share. Parent value to compare: '76595 blocks x 16 tok/block' (rank0-j34-spark.log).
Contributor
Author
3 of 4 tasks
Contributor
Author
Contributor
Author
6 tasks done
4 of 7 tasks
1 of 2 tasks
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.
Replaces #243. GitHub closed #243 automatically during a restack: its branch briefly pointed at a commit its base already contained. It's the same branch (
stack/qsa-aux-kv-budget), now corrected; the history and receipts are on #243.Replaces #231. GitHub closed #231 automatically when a restack force-pushed its base branch, and once the head was force-pushed afterwards it couldn't be reopened. The branch is the same (
stack/qsa-aux-kv-budget); #231 has the history and receipts.Stack: main ← #198 ← #223 ← #224 ← #226 ← #227 ← #229 ← #230 ← this.
Summary
4d75b9ec(AGPL-3.0) with credit. When the KV pool grows into the GB10 display carveout (main's strix-hip train: the validated gfx1151 stack (build fix + suballoc + carveout + hipBLASLt) #197 mechanism), each added block now also pays the per-token auxiliary state: QSA's 768 B/token indexer keys, i.e. 12,288 B per 16-token block. Before this, that share wasn't budgeted.KvShapegainsauxiliary_block_bytes/with_per_token_aux.Test plan (vs parent #230)
kv_carveout8/8, including Enntity'sqwen_carveout_growth_reserves_indexer_state_for_every_added_tokenandcarveout_growth_is_unchanged_without_per_token_auxTracking: #220.
Generated with Devin