Skip to content

Pin unslothai#270: two-subgroup coopmat1 FA tile for 32 KiB shared memory - #271

Merged
danielhanchen merged 1 commit into
masterfrom
pinset-add-270
Oct 13, 2026
Merged

danielhanchen merged 1 commit into
masterfrom
pinset-add-270

Conversation

@danielhanchen

Copy link
Copy Markdown
Member

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

Checks run locally

check result
merge loop + pin_contract + merge_checks, b11580 (aged) ok, 16 pins, all intact, clean
merge loop + pin_contract + merge_checks, b11583 (newest) ok, 16 pins, all intact, clean
audit, 16 pins 16/16 clean; feature-checks coverage ok
CPU gate on merged b11580 (llama, test-llama-archs, test-backend-ops, test-mtmd-impl) ok
feature_matrix CPU on merged b11580 all 7 features demonstrated on CPU; 6 checks need a GPU and were not run
Vulkan build of merged b11580 (ggml-vulkan + shaders, test-backend-ops, llama-bench) ok

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.

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for security reviews. Please try again later.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 13, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-13T10:24:50.769156Z efff226 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@danielhanchen
danielhanchen merged commit 9033861 into master Oct 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant