Repository navigation
Pin unslothai#270: two-subgroup coopmat1 FA tile for 32 KiB shared memory - #271
Merged
Merged
Conversation
|
You have reached your Codex usage limits for security reviews. Please try again later. |
Codex Review SummaryThis 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. |
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.
Adds #270 to the nightly pin set: a two-subgroup coopmat1 flash attention tile for Vulkan devices with 32 KiB of shared memory.
Without it, head size 512 and 576 attention falls back to the scalar shader on those devices. That covers Gemma 4's global-attention layers on the AMD proprietary Windows driver, for example on Strix Halo. Measured on that hardware (Radeon 8060S, gfx1151), the pin makes prefill at 16k context about 4x faster, ahead of ROCm on the same machine. All 5321 FLASH_ATTN_EXT test-backend-ops cases pass. Details are in #270.
Related: unslothai/unsloth#10656
Changes
scripts/unsloth/pr-set.json: appendsunslothai/llama.cpp#270at7968eda613e427ad5ccbab61df43246a9a82c53a. vulkan: two-subgroup coopmat1 FA tile so HSK 512/576 fit 32 KiB shared memory #270 is based onbase/upstream-4413a1924(b11580), and its diff is two files, +49/-23.scripts/unsloth/feature-checks.json: lists vulkan: two-subgroup coopmat1 FA tile so HSK 512/576 fit 32 KiB shared memory #270 underunchecked, because the tile is only chosen on a device whose shared memory cannot hold the four-subgroup tile, and no pipeline runner has one.Checks run locally
The preflight workflow builds CPU only and does not compile the Vulkan shaders, so the Vulkan build above is the only compile check of this pin.