Skip to content

Write only to heads that are owned - #117

Open
AaronStGeorge wants to merge 1 commit into
hrx-graph-develop-v2from
users/astgeorg/flash-attention-bug
Open

AaronStGeorge wants to merge 1 commit into
hrx-graph-develop-v2from
users/astgeorg/flash-attention-bug

Conversation

@AaronStGeorge

@AaronStGeorge AaronStGeorge commented Sep 24, 2026 •

Copy link
Copy Markdown
Collaborator

Motivation

Fix high hrx perplexity in llama 3.1 8b found in this report: https://github.com/ROCm/ggml-staging-automation/actions/runs/36025928972

Overview

Fix errant bound check in flash_attention_decode_split_f32_f16_wmma.loom. The reducer allowed one KV group to overwrite another’s output. Two corrected bounds checks eliminate this.

Testing

See perplexity report with this change: https://github.com/ROCm/ggml-staging-automation/actions/runs/36058751562 (link to branch pulling this change in)

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