Skip to content

vulkan: unroll FA coopmat1 array due to a driver bug on AMD Windows - #32466

Merged
ggerganov merged 2 commits into
masterfrom
0cc4m/vulkan-fa-flip-amd-windows-2
Nov 21, 2026
Merged

ggerganov merged 2 commits into
masterfrom
0cc4m/vulkan-fa-flip-amd-windows-2

Conversation

@0cc4m

@0cc4m 0cc4m commented Nov 17, 2026

Copy link
Copy Markdown
Contributor

Overview

Followup to #32415, I also added coopmat arrays to the regular CM1 FA shader that crashes AMD in specific cases. Disable q_in_regs for the proprietary driver and unroll the 2-size arrays to avoid this. I hope the driver gets fixed so we can revert this later.

Requirements

@0cc4m
0cc4m requested a review from a team as a code owner November 17, 2026 11:05
@github-actions github-actions Bot added Vulkan Issues specific to the Vulkan backend ggml changes relating to the ggml tensor library for machine learning labels Nov 17, 2026

@jeffbolznv jeffbolznv left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wonder how they broke this, there are CTS tests for it...

@0cc4m 0cc4m added the merge ready A maintainer can use this label to indicate that they consider the changes final and ready to merge. label Nov 20, 2026
@ggerganov
ggerganov merged commit 362ac92 into master Nov 21, 2026
24 of 32 checks passed
Annieren pushed a commit to Annieren/llama.cpp-upstream that referenced this pull request Nov 23, 2026
…gml-org#32466)

* vulkan: unroll FA coopmat1 array due to a driver bug on AMD Windows

* simplify code to make it clearer
Nindaleth pushed a commit to Nindaleth/llama.cpp that referenced this pull request Nov 26, 2026
…gml-org#32466)

* vulkan: unroll FA coopmat1 array due to a driver bug on AMD Windows

* simplify code to make it clearer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ggml changes relating to the ggml tensor library for machine learning merge ready A maintainer can use this label to indicate that they consider the changes final and ready to merge. Vulkan Issues specific to the Vulkan backend

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants