Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
80 commits
Select commit Hold shift + click to select a range
7f03cfb
[feat] Add flex_attention (score_mod/mask_mod) on the generic flash-a…
RichardChamberlain1 Jul 29, 2026
a9697a5
[test] flex_attention: align bench output with flash_attn, expand sha…
RichardChamberlain1 Jul 30, 2026
903cfff
[test] flex_attention: apply black formatting (CI style gate)
RichardChamberlain1 Jul 30, 2026
a6c786d
Merge branch 'main' into rchamber/flex_attention
RichardChamberlain1 Jul 30, 2026
12f4e18
[feat] Add flash-attention forward on the layout API (gfx950)
RichardChamberlain1 Jul 31, 2026
a48a507
[feat] Layout attention: pipeline scheduler + vectorized DMA (gfx950)
RichardChamberlain1 Aug 3, 2026
94c9454
[wip] Pipeline scheduler cleanup + depth=2 decomposed softmax (in pro…
RichardChamberlain1 Aug 3, 2026
59690e2
Fix depth-2 layout attention pipeline for single- and multi-tile KV.
Aug 3, 2026
92db086
Improve layout attention pipeline scheduling and depth-2 stage wiring.
Aug 4, 2026
3004116
Optimize pd2 layout pipeline barriers, waits, and inter-tile ReadK re…
Aug 4, 2026
a631e86
Experimental: pd2 flex layout manual cluster emit and dualwave scaffo…
Aug 5, 2026
3cee3e2
Replaced static loop which was causing register growth and hurting pe…
Aug 7, 2026
af0b7bd
Merge branch 'main' of https://github.com/ROCm/FlyDSL into rchamber/f…
Aug 13, 2026
aa04ad2
Fix MFMA 16x16x16 bf16/f16 lowering crash when copy atom is wider tha…
Aug 14, 2026
fc1da14
[MFMA] Add 16x16x16 bf16/f16 support with fly-fix-bitcast-width pass
Aug 14, 2026
214222d
Merge branch 'rchamber/add_16x16x16_MFMA_support' into rchamber/flex_…
Aug 14, 2026
1ac1122
Switch flex attention to MFMA 32x32x16 with column reduction softmax
Aug 14, 2026
6ecdb33
Remove LDS P bridge + K swizzle + V transpose reads (448 TFLOPS)
Aug 17, 2026
8d24a97
Optimize flex attention: vectorized O store, native exp2, dead code r…
Aug 18, 2026
963b519
Softmax pre-scale + native exp2 + DMA/LDS read reorder (592 TFLOPS)
Aug 18, 2026
01c5820
Add flex attention score/mask modifiers with tile-range skipping
Aug 18, 2026
95a1bcb
Refactor flex mods into FlexMod class hierarchy + expand test coverage
Aug 18, 2026
362f290
32x32 kernel: Q OOB fix, softmax split, 4-cluster pipeline, simplifie…
Aug 21, 2026
2256622
WIP: Software-pipelined QK/softmax overlap with split LDS globals
Aug 21, 2026
091e744
WIP: Split DMA/LDS read interleave, K half-bank skew, do_tile correct…
Aug 25, 2026
086100a
WIP: Unrolled QK GEMM + deferred PV softmax overlap infrastructure
Aug 25, 2026
c595e88
Fix odd-tile masking + rank-agnostic QK GEMM unrolling
Aug 25, 2026
a0e5071
Fix DMA data race: add vmcnt wait + barrier before LDS reads
Aug 25, 2026
e0be380
Fix overlapping softmax: handle odd KV tile count
Aug 25, 2026
f5c9fca
Zigzag K read order for cross-wave LDS bank diversity
Aug 25, 2026
95dd0d8
Serpentine K read order: fwd 2, bwd 2 for bank diversity
Aug 25, 2026
7e2cb7b
Per-wave serpentine K read: wave 0 forward, wave 1 reversed
Aug 25, 2026
3af789e
Remove per-wave serpentine from QK GEMM (register-only, no bank confl…
Aug 25, 2026
cfc0979
Per-wave serpentine DMA order for cache/LDS write diversity
Aug 25, 2026
2f1ea16
Revert per-SIMD-pair DMA: buffer_load...lds respects exec mask
Aug 25, 2026
fd9c90c
Clean up fastmath experiments, restore barriers
Aug 25, 2026
b17c451
Add FP8 dtype_id and param validation for flex attention
Aug 26, 2026
c83f3e5
FP8 param plumbing: elem_dtype, data_bytes, MMA validation
Aug 26, 2026
999ebaf
WIP: FP8 flex attention kernel scaffold
Aug 26, 2026
cb368b5
FP8 layout API branches: MMA atoms and V transpose read
Aug 26, 2026
5e2e433
FP8: deferred Q scaling, descale args, bf16 O output
Aug 26, 2026
c40cd0b
FP8: launch wrapper, entry point, tests (blocked on fp8 tiled copy lo…
Aug 26, 2026
3205076
FP8: identify layout API fp8 lowering blocker, add workaround comments
Aug 26, 2026
45eb6dc
Fix fp8 vector type materialization in FlyToROCDL conversion
Aug 26, 2026
3871434
Fix fp8 vector type lowering: materialization + cast cleanup
Aug 26, 2026
85bb34b
FP8: HIPREC PV mode (bf16 P packing + bf16 PV MFMA) for fp8 path
Aug 26, 2026
205c5f5
K half-bank skew infrastructure: strided DMA path for D-lo/D-hi split
Aug 26, 2026
b8d2f46
Move odd_valid/has_next into _do_tile_overlapping_softmax
Aug 26, 2026
9817d3d
Restore s_barrier for cross-wave DMA visibility, remove dead s_nop
Aug 26, 2026
c0494e0
Split overlapping softmax into prologue/main/epilogue, eliminate has_…
Aug 26, 2026
a51897a
Restructure overlapping softmax: branch-free main loop, guarded epilogue
Aug 26, 2026
b8d04f3
Split-K infrastructure for flex attention (WIP: partitioning only)
Aug 28, 2026
18aa1da
Split-K for flex attention: functional end-to-end
Aug 28, 2026
0f3d1ec
Remove dead functions and debug constants
Aug 28, 2026
e62e63e
Remove FP8 code paths from flex attention kernel
Aug 28, 2026
a995707
Reverse q_tile order for causal: heavy tiles launch first
Aug 28, 2026
36ab6d6
Clean up dead code and stale comments in flex attention kernel
RichardChamberlain1 Sep 1, 2026
1bbf1fa
Add PrefixLM attention modifier and default num_groups to 8
RichardChamberlain1 Sep 1, 2026
4ffdeaf
Add paged KV cache support to flex attention layout kernel
RichardChamberlain1 Sep 1, 2026
3000114
Fix tests for num_groups=8 default and paged JIT signature
RichardChamberlain1 Sep 1, 2026
036d90e
Fix paged DMA to use separate function and relax paged test tolerances
RichardChamberlain1 Sep 1, 2026
7927697
Remove D=64 test shapes that produce NaN with num_groups=8
RichardChamberlain1 Sep 1, 2026
c0bbcbc
Clean up review findings: remove dead code and debug prints
RichardChamberlain1 Sep 1, 2026
a813001
Format code with black + ruff (style cleanup)
RichardChamberlain1 Sep 2, 2026
9ea3f90
Revert non-kernel files to main, inline pipeline helpers
RichardChamberlain1 Sep 2, 2026
6ddb9f6
Skip mask application on fully-unmasked KV tiles (tile_needs_mask)
RichardChamberlain1 Sep 2, 2026
c9a9e3f
Phase-aware mask skipping: mods control masking per pipeline phase
RichardChamberlain1 Sep 2, 2026
792d6dc
Revert phase-aware mask skip, remove FP8 tests
RichardChamberlain1 Sep 2, 2026
a46b922
Optimize softmax: pre-scale Q by scale*log2e, FMA, rcp
RichardChamberlain1 Sep 2, 2026
a18224d
Merge branch 'main' into rchamber/flex_attention
RichardChamberlain1 Sep 3, 2026
4706f32
Fix ALiBi score scaling and stabilize paged-causal tests.
RichardChamberlain1 Sep 3, 2026
781f919
Renamed files remove _layout
RichardChamberlain1 Sep 3, 2026
a414513
Simplify flex attention kernel and tests: extract helpers, name const…
RichardChamberlain1 Sep 3, 2026
3edb279
Simplify flex attention kernel and tests: extract helpers, name const…
RichardChamberlain1 Sep 3, 2026
1f2c3bd
Relax paged-causal test tolerance to avoid boundary flakes.
RichardChamberlain1 Sep 3, 2026
6ec1903
Merge remote flex_attention: resolve test tolerance conflict.
RichardChamberlain1 Sep 3, 2026
760c4a4
Merge remote flex_attention: resolve test tolerance conflict.
RichardChamberlain1 Sep 3, 2026
f99608a
Merge remote flex_attention: resolve _check formatting conflict.
RichardChamberlain1 Sep 3, 2026
ee54e1c
Replace legacy arithmetic spellings with fx.max/fx.min.
RichardChamberlain1 Sep 3, 2026
b4660b0
Rename flex_attention_layout -> flex_attention in public API and tests.
RichardChamberlain1 Sep 3, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading
Loading