Skip to content

[FlyDSL] Port compress_attn kernels to gfx1250 (wave32)#3787

Open
jli-melchior wants to merge 1 commit into
mainfrom
jli/gfx1250/compress_attn
Open

[FlyDSL] Port compress_attn kernels to gfx1250 (wave32)#3787
jli-melchior wants to merge 1 commit into
mainfrom
jli/gfx1250/compress_attn

Conversation

@jli-melchior

Copy link
Copy Markdown
Contributor

Port CSA and HCA fused_compress_attn kernels from wave64 (CDNA) to wave32 (RDNA4/gfx1250). Key changes: BLOCK_THREADS=32, VEC=16 for D=512, generalized load/store paths for >dwordx4, shuffle width=32, FP8 linear layout (no preshuffle), and extract_strided_slice API fix. Adds gfx1250 dispatch routing in existing entry points and a dedicated test file.

Motivation

Technical Details

Test Plan

Test Result

Submission Checklist

@jli-melchior jli-melchior requested a review from a team June 18, 2026 03:33
@github-actions

Copy link
Copy Markdown
Contributor

🏷️ CI Guide

Runs automatically on every PR:

  • ✅ Pre-checks (submodule verification, code formatting)
  • ✅ Aiter op tests (gfx942 + gfx950)
  • ✅ Triton tests on MI35X (only when aiter/ops/triton/** or related paths are changed)

Extended tests (opt-in via labels):

Label Tests
ci:triton-300x Run an additional Triton test job on MI300X in PRs; main branch always runs both MI35X and MI300X
ci:sglang SGLang integration tests: DeepSeek-R1-MXFP4 accuracy, Qwen 3.5 accuracy
ci:atom ATOM benchmark: DeepSeek-R1-0528, GPT-OSS-120B
ci:atom_full ATOM accuracy suite for PR and main models from ATOM models_accuracy.json
ci:vllm vLLM benchmark: GPT-OSS-120B, DeepSeek-R1-0528, Kimi-K2.5
ci:all All standard extended tests (excludes ci:atom_full)

Only add ci:atom_full for FlyDSL or Triton upgrades.
Add labels via the sidebar or gh pr edit 3787 --add-label <label>

Port CSA and HCA fused_compress_attn kernels from wave64 (CDNA) to
wave32 (RDNA4/gfx1250). Key changes: BLOCK_THREADS=32, VEC=16 for
D=512, generalized load/store paths for >dwordx4, shuffle width=32,
FP8 linear layout (no preshuffle), and extract_strided_slice API fix.
Adds gfx1250 dispatch routing in existing entry points and a dedicated
test file.

Co-Authored-By: Claude Opus 4 <noreply@anthropic.com>
@Boss2002n Boss2002n force-pushed the jli/gfx1250/compress_attn branch from d35d446 to eed694a Compare June 18, 2026 04:25
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