Repository navigation
pr-set: repin #414 for the mix norm fusion, add #447 and #448 - #449
Closed
danielhanchen wants to merge 8 commits into
Closed
danielhanchen wants to merge 8 commits into
danielhanchen wants to merge 8 commits into
Conversation
From b12689 upstream retunes every CDNA MMQ config entry and the three pins no longer merge in mmq-config-cdna.cuh. Each pin branch merges b12690 and keeps upstream's table as is; the pin only re-adds its own type entries (IQ1_XS, IQ1_XXS, IQ1_XXXS, IQ1_M) with upstream's new values. - #61: fba16b7 -> 04aa258 - #332: c65584a -> 01e391a - #304: e4e1eba -> 938e672 #433 is dropped: the base carries the same MSVC fix from b12678, and pin_contract reports all of its lines already in the base. Its feature-checks.json entry goes with it.
…er Inkling 2 graph Upstream now writes the Inkling 2 clip as an L2 norm and a scale, and the depth mix weighted sum with the scores as src0. The two fusions only knew the older graph, so on a base with those changes they stop firing and decode runs more kernels per token. - #401: 6c0e84d -> 3178524. Also fuses [MUL,] L2_NORM, SCALE into the clip kernel, with the same math as the unfused ops. - #414: f766457 -> 36bc32b. Also fuses the weighted sum in the new operand order and writes either output layout. Both only add a matcher form; the old one stays, so the pins keep working on the current bases too.
- #414: 74a0ffc -> 82f1833. Also fuses the RMS norms around the depth mix, with the same rounding as the separate ops. - #447 (new): dist sampler softmax in fewer passes, bit-identical results. - #448 (new): batch-1 Q8_0 x F32 mat-vec on NVIDIA cc >= 10.0, without the q8_1 quantize of the activations. Both new pins are listed as unchecked in feature-checks.json with the test that covers them.
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
danielhanchen
changed the base branch from
pinset/fusions-l2norm-mixorder
to
master
November 25, 2026 07:16
Member
Author
|
@codex review |
|
Codex Review: Didn't find any major issues. Swish! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
Member
Author
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.
Summary
GGML_CUDA_DISABLE_DEPTH_MIX_NORM_FUSION=1turns it off). About +1% decode on B200; PPL identical to the kill switch at ub 1 and ub 512 on UD-Q4_K_XL. 0cbe311 also fixes the HIP build of the depth mix fusion, which 74a0ffc (already on master) breaks:vendors/hip.hdoes not map the stream capture status calls its shadow check uses.Both new pins are listed as unchecked in
feature-checks.json, with the test that covers them.Checks
simon b12681 (aged): 48 pins, pin_contract intact, merge_checks clean. Also clean on b12676 and b12690, and with the pending Inkling 2 upstream repins on the newer upstream commit.Stacked on #445 (which is stacked on #444); merge those first.