Repository navigation
Conversation
abeloin
added a commit
to abeloin/llama.cpp-mix
that referenced
this pull request
Nov 24, 2026
…8 jetons, fusions delta-net / porte d'expert partagé, IQ2/IQ3, FA indépendante des rangées masquées (rafasmour/llama.cpp-RDNA3, master @ 91c1855, commits 95bcd0c..e3a7e9c) Commits cherry-pickés (-x, auteur d'origine) sur import/rdna3-sel-r3 puis merge --no-ff. cefeb9b (ggml-org#43) vide ici (changement déjà présent). Ports de PR amont ouvertes : 0fffeee (ggml-org#61 ← ggml-org ggml-org#31746), 855e1bf (ggml-org#75 ← ggml-org ggml-org#31761). 7a0f09e et e3a7e9c : tests/test-backend-ops.cpp côté mix. ggml-org#108 écarté (dépend de ggml_cuda_mmvq_q8_1_args, plus loin dans la pile). Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01QBjnvFeJ4P7Jp71oC6pzWf
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.
Overview
This PR increases
nbatch_Kfrom 64 to 128 and lowers the launch-bounds occupancy hint from 8 to 6 for D256 two-column HIP/RDNA FlashAttention, halving K/V staging passes.Additional information
W7800 (gfx1100), ROCm 10.1. Candidate
555cab640vs. master10d4846a5, with alternating runs.At GQA 6 and KV 2k/8k/32k, single-token attention takes 0.844× time (geomean), worst case 0.914×. The tuning is shared across RDNA; runtime evidence covers W7800.
Testing
Both added F16 tests (GQA 2/6, one query, 4,096 KV) passed against the stock CPU reference in a filtered run. Separately, 175 D256 cases passed on both builds using a local CPU reference accumulating V in FP32 instead of F16; that reference change is not included.
KV repartitioning changes accumulation order and long-context greedy output.
PPL/KLD checks use
-ub 1. Controls below compare master at ubatch 512 versus 1.For Qwen3.8-27B Q8_0, teacher-forced wikitext-2 NLL over 16,384 positions after a 65,536-token prompt gave a mean difference (candidate − master) of −0.00055 nats/token; lower is better; 95% CI: −0.00095 to −0.00016.
PR #31234 touches the same configuration function.
Requirements