Repository navigation
What's Changed
- [Gluon] SM80 forward and forward combine by @LoserCheems in #363
- [BUG FIX] Correct heuristics and input assertions by @LoserCheems in #364
- [Gluon] reorganize imports and improve TILE_M calculation logic in forward combine functions by @LoserCheems in #365
- [Gluon] Add backward combine inputs checker by @LoserCheems in #366
- [Gluon] Add backward combine grid function by @LoserCheems in #367
- [Gluon] Fix strides in _flash_attn_fwd_combine for variable lengths by @LoserCheems in #368
- [Gluon] Add backward combine kernel for combine dK and dV by @LoserCheems in #369
- [Gluon] Add backward combine representation function for kernel operations by @LoserCheems in #370
- [Gluon] Correct rB slice dimension and update hook function arguments by @LoserCheems in #371
- [Gluon] Add backward preprocess by @LoserCheems in #372
- [Gluon] Add backward postprocess by @LoserCheems in #373
- [Gluon] move helper function from cache_utils to utils by @LoserCheems in #374
- Fix the source install clone URL by @kuishou68 in #375
- [Gluon] Implement atomic add function with optional mask by @LoserCheems in #376
- [Gluon] Refactor num_splits_heuristic for improved logic and parameterization by @LoserCheems in #377
- [Gluon] Update cache launch grid imports for consistency by @LoserCheems in #378
- [Gluon] Simplify atomic_add function by @LoserCheems in #379
- [Gluon] Enhance sequence length information retrieval and predicate construction by @LoserCheems in #380
- [Gluon] enhance _bwd_preprocess_kernel with padded tile support and update pointer handling by @LoserCheems in #381
- [Gluon] enhance _bwd_postprocess_kernel with padded tile support and update pointer handling by @LoserCheems in #382
- [Gluon] update _bwd_combine_kernel to support padded tile handling and improve pointer management by @LoserCheems in #383
- [Gluon] Add m_block_max parameter and refactor AttnBwdBlockScheduler by @LoserCheems in #384
- [Gluon] refactor make_lse_ptrs and make_dpsum_ptrs to use make_ptrs for pointer construction by @LoserCheems in #385
- [Gluon] adjust TILE_M initialization in bwd postprocess functions for consistency by @LoserCheems in #386
- [Gluon] add n_block_max parameter to get_n_block_max_no_causal_local_mask and get_n_block_min_before_local_mask functions by @LoserCheems in #388
- [Gluon] add n_block_max parameter to AttnFwdBlockScheduler for improved block scheduling by @LoserCheems in #389
- [Gluon] rename variables in _fwd_combine_kernel for clarity and consistency by @LoserCheems in #390
- [Gluon] rename mdKaccum and mdVaccum to mdKpartial and mdVpartial for clarity by @LoserCheems in #391
- [Gluon] update _bwd_postprocess_kernel to use padded_offset_q for improved accuracy by @LoserCheems in #392
- [Gluon] update _bwd_preprocess_kernel to use padded_offset_q for consistency by @LoserCheems in #393
- [Gluon] enhance get_m_block_min_max to include m_block_last for improved block handling by @LoserCheems in #394
- [Gluon] rename input parameters in assert_fwd_inputs and assert_bwd_inputs for consistency by @LoserCheems in #395
- [Gluon] add m_block_last tensor and predicates for M and N blocks in AttnBwdBlockScheduler by @LoserCheems in #396
- [Gluon] add bwd sm80 by @LoserCheems in #397
- [Gluon] clarify comments for async_copy.commit_group in _bwd_inner_dense_kernel by @LoserCheems in #398
- [Gluon] set default values for optional parameters in sequence length functions by @LoserCheems in #399
- [Gluon] rename online_sparse_softmax to skip and simplify its functionality by @LoserCheems in #400
- [Gluon] simplify tensor variable names and improve launch configuration parameters by @LoserCheems in #401
- [Gluon] rename offsets for clarity in _fwd_inner_dense_kernel and _fwd_dense_kernel by @LoserCheems in #402
- [Gluon] streamline predicate handling in _fwd_dense_kernel for memory operations by @LoserCheems in #403
- [Gluon] clarify comment on async_copy wait_group in _bwd_inner_dense_kernel by @LoserCheems in #404
- [Gluon] [Forward sm80] support 2 stage k pipeline by @LoserCheems in #405
- [Gluon] [Forward sm80] add make_m_predicate and make_n_predicate methods for sequence length predicates in AttnFwdPointerScheduler by @LoserCheems in #406
- [Gluon] [Forward sm80] remove softmax_scale from return variables by @LoserCheems in #407
- [Gluon] remove online_sparse_softmax, add skip method by @LoserCheems in #408
- [Gluon] [Sparse Forward sm80] add sparse attention forward kernel implementation by @LoserCheems in #409
- [Gluon] [Sparse Backward sm80] init sparse backward sm80 baseline by @LoserCheems in #410
- [Gluon] add USE_FAST_MATH parameter to get_softmax_threshold for approximate log2 calculation by @LoserCheems in #411
- [Gluon] move tail to first block by @LoserCheems in #412
- [Gluon] add copy and mma layout configurations to AttnFwdConfig and AttnBwdConfig by @LoserCheems in #413
- [Gluon] use new block_info by @LoserCheems in #414
- [Gluon] modify dQ shape from [TILE_M, TILE_K] to [TILE_K, TILE_M] by @LoserCheems in #415
- [Gluon] standardize variable naming from acc_s to acc_S by @LoserCheems in #416
- [Gluon] support packed r2p mask by @LoserCheems in #417
- [Gluon] [Forward sm80] use new block_info for prologue by @LoserCheems in #418
- [Gluon] [Sparse Forward sm80] use new block_info for prologue by @LoserCheems in #419
- [Gluon] [Backward sm80] use [TILE_K, TILE_M] dQ; dV, dK, dQ computation pipeline; first iteration with seqlen masking by @LoserCheems in #420
- [Gluon] [Sparse Backward sm80] use [TILE_K, TILE_M] dQ; dV, dK, dQ computation pipeline; first iteration with seqlen masking by @LoserCheems in #421
- [Gluon] [Forward sm90] support forward for sm90 by @LoserCheems in #422
- [Gluon] seqlen info constexpr rename by @LoserCheems in #423
- [Gluon] Add alloc_fn to allocate memory on CUDA device by @LoserCheems in #424
- [Gluon] Enhance get_mask_atom_stride to support MMAv3 by @LoserCheems in #425
- [Gluon] Add hopper_helpers with warpgroup_mma_wait, pack_mma_operand, and unpack_mma_operand functions by @LoserCheems in #426
- [Gluon] Refactor softmax operations to include fast math options by @LoserCheems in #427
- [Gluon] Enhance online_softmax to support partial sum optimization by @LoserCheems in #428
- [Gluon] Fix LSELog2 computation by replacing check_inf with check_neginf by @LoserCheems in #429
- [Gluon] [Forward sm80] [Sparse Forward sm80] Support LPT by @LoserCheems in #430
- [Gluon] [Forward sm80] Fused dense and sparse to a kernel by @LoserCheems in #431
- [Gluon] [Triton 3.9 API] Refactor async_copy calls to use async_load for improved performance by @LoserCheems in #432
- [Gluon] Refactor forward and backward representation functions to unify naming by @LoserCheems in #433
- [Gluon] Add score_skip and prob_skip functions by @LoserCheems in #434
- [Gluon] [Backward sm80] Fuse dense and sparse to a kernel by @LoserCheems in #435
- Set line-length=100 for Ruff linter by @LoserCheems in #436
- [Gluon] Implement Flash Attention interface for standard and variable-length sequences by @LoserCheems in #437
- [Gluon] Ensure non-negative block max calculations in get_n_block_min_max and get_m_block_min_max functions by @LoserCheems in #438
- [Gluon] Refactor AttnFwdConfig and AttnBwdConfig to enhance layout parameters for copy and MMA operations by @LoserCheems in #439
- [Gluon] fix code style by @LoserCheems in #440
- [Gluon] Add SWAP_AB parameter to make_*_ptrs method and scheduler by @LoserCheems in #441
- [Gluon] Inline offs from kernel to scheduler by @LoserCheems in #442
- [Gluon] Add reduce_pred function for logical AND reduction over synchronization scopes by @LoserCheems in #443
- [Gluon] Add PRED_SCOPE to softmax threshold checks in forward and backward by @LoserCheems in #444
- Refactor softmax skip condition to improve readability by @LoserCheems in #445
- [Gluon] [Forward sm90] Fused dense and sparse to one kernel by @LoserCheems in #446
- [Gluon] Refactor Q coordinate calculation by @LoserCheems in #447
- [Gluon] Adjust code style by @LoserCheems in #448
- [Gluon] [Backward sm90] Fused dense and sparse to one kernel by @LoserCheems in #449
- [Gluon] Implement device-specific selection for forward and backward functions in Interface by @LoserCheems in #450
- Update workflows version by @LoserCheems in #451
- [Gluon] Add null checks for dK and dV before offsetting gradients in AttnBwdPointerScheduler by @LoserCheems in #452
- [Gluon] Update assert_bwd_inputs to maintain lse parameter consistency across backward functions by @LoserCheems in #453
- [Gluon] Remove HAS_CU_SEQLENS_Q and HAS_CU_SEQLENS_K parameters from pointer scheduler by @LoserCheems in #454
- [Gluon] Add optional parameters for softmax scaling and window sizes in forward and backward functions by @LoserCheems in #455
- [Gluon] Update IS_SPLIT_QO and IS_SPLIT_KV parameters position by @LoserCheems in #456
- [Gluon] Refactor assert_fwd_inputs and assert_bwd_inputs parameter by @LoserCheems in #457
- [Gluon] Update device-related cache settings by @LoserCheems in #458
- [Gluon] Update parameter names by @LoserCheems in #459
- [Gluon] Remove head_dim parameter from backward processing functions by @LoserCheems in #460
- [Gluon] Refactor stride parameters in backward processing by @LoserCheems in #461
- [Gluon] Rename lse to rLSE by @LoserCheems in #462
- [Gluon] Rename lse to rLSE by @LoserCheems in #463
- [Gluon] Add store copy layout and related configurations by @LoserCheems in #464
- [Gluon] Support varlen Q ragged TMA by @LoserCheems in #465
- [Triton] Restructure fused attention backend for Hygon by @LoserCheems in #466
- [Gluon] Fix layout configuration in _fwd_sm90_kernel for output tensor by @LoserCheems in #467
- [Gluon] Skip backward combine for unsplit gradients by @LoserCheems in #468
- [Gluon] Use output copy layout for forward stores by @LoserCheems in #469
- [Gluon] Enable PackGQA for decoding by @LoserCheems in #470
- [Gluon] Select backend by GPU architecture by @LoserCheems in #471
- [Test] Add attention backend selection by @LoserCheems in #472
- [Docs] Update backend documentation by @LoserCheems in #473
New Contributors
- @kuishou68 made their first contribution in #375
Full Changelog: v2.0.6...v2.0.7
What's Changed
- [Gluon] SM80 forward and forward combine by @LoserCheems in #363
- [BUG FIX] Correct heuristics and input assertions by @LoserCheems in #364
- [Gluon] reorganize imports and improve TILE_M calculation logic in forward combine functions by @LoserCheems in #365
- [Gluon] Add backward combine inputs checker by @LoserCheems in #366
- [Gluon] Add backward combine grid function by @LoserCheems in #367
- [Gluon] Fix strides in _flash_attn_fwd_combine for variable lengths by @LoserCheems in #368
- [Gluon] Add backward combine kernel for combine dK and dV by @LoserCheems in #369
- [Gluon] Add backward combine representation function for kernel operations by @LoserCheems in #370
- [Gluon] Correct rB slice dimension and update hook function arguments by @LoserCheems in #371
- [Gluon] Add backward preprocess by @LoserCheems in #372
- [Gluon] Add backward postprocess by @LoserCheems in #373
- [Gluon] move helper function from cache_utils to utils by @LoserCheems in #374
- Fix the source install clone URL by @kuishou68 in #375
- [Gluon] Implement atomic add function with optional mask by @LoserCheems in #376
- [Gluon] Refactor num_splits_heuristic for improved logic and parameterization by @LoserCheems in #377
- [Gluon] Update cache launch grid imports for consistency by @LoserCheems in #378
- [Gluon] Simplify atomic_add function by @LoserCheems in #379
- [Gluon] Enhance sequence length information retrieval and predicate construction by @LoserCheems in #380
- [Gluon] enhance _bwd_preprocess_kernel with padded tile support and update pointer handling by @LoserCheems in #381
- [Gluon] enhance _bwd_postprocess_kernel with padded tile support and update pointer handling by @LoserCheems in #382
- [Gluon] update _bwd_combine_kernel to support padded tile handling and improve pointer management by @LoserCheems in #383
- [Gluon] Add m_block_max parameter and refactor AttnBwdBlockScheduler by @LoserCheems in #384
- [Gluon] refactor make_lse_ptrs and make_dpsum_ptrs to use make_ptrs for pointer construction by @LoserCheems in #385
- [Gluon] adjust TILE_M initialization in bwd postprocess functions for consistency by @LoserCheems in #386
- [Gluon] add n_block_max parameter to get_n_block_max_no_causal_local_mask and get_n_block_min_before_local_mask functions by @LoserCheems in #388
- [Gluon] add n_block_max parameter to AttnFwdBlockScheduler for improved block scheduling by @LoserCheems in #389
- [Gluon] rename variables in _fwd_combine_kernel for clarity and consistency by @LoserCheems in #390
- [Gluon] rename mdKaccum and mdVaccum to mdKpartial and mdVpartial for clarity by @LoserCheems in #391
- [Gluon] update _bwd_postprocess_kernel to use padded_offset_q for improved accuracy by @LoserCheems in #392
- [Gluon] update _bwd_preprocess_kernel to use padded_offset_q for consistency by @LoserCheems in #393
- [Gluon] enhance get_m_block_min_max to include m_block_last for improved block handling by @LoserCheems in #394
- [Gluon] rename input parameters in assert_fwd_inputs and assert_bwd_inputs for consistency by @LoserCheems in #395
- [Gluon] add m_block_last tensor and predicates for M and N blocks in AttnBwdBlockScheduler by @LoserCheems in #396
- [Gluon] add bwd sm80 by @LoserCheems in #397
- [Gluon] clarify comments for async_copy.commit_group in _bwd_inner_dense_kernel by @LoserCheems in #398
- [Gluon] set default values for optional parameters in sequence length functions by @LoserCheems in #399
- [Gluon] rename online_sparse_softmax to skip and simplify its functionality by @LoserCheems in #400
- [Gluon] simplify tensor variable names and improve launch configuration parameters by @LoserCheems in #401
- [Gluon] rename offsets for clarity in _fwd_inner_dense_kernel and _fwd_dense_kernel by @LoserCheems in #402
- [Gluon] streamline predicate handling in _fwd_dense_kernel for memory operations by @LoserCheems in #403
- [Gluon] clarify comment on async_copy wait_group in _bwd_inner_dense_kernel by @LoserCheems in #404
- [Gluon] [Forward sm80] support 2 stage k pipeline by @LoserCheems in #405
- [Gluon] [Forward sm80] add make_m_predicate and make_n_predicate methods for sequence length predicates in AttnFwdPointerScheduler by @LoserCheems in #406
- [Gluon] [Forward sm80] remove softmax_scale from return variables by @LoserCheems in #407
- [Gluon] remove online_sparse_softmax, add skip method by @LoserCheems in #408
- [Gluon] [Sparse Forward sm80] add sparse attention forward kernel implementation by @LoserCheems in #409
- [Gluon] [Sparse Backward sm80] init sparse backward sm80 baseline by @LoserCheems in #410
- [Gluon] add USE_FAST_MATH parameter to get_softmax_threshold for approximate log2 calculation by @LoserCheems in #411
- [Gluon] move tail to first block by @LoserCheems in #412
- [Gluon] add copy and mma layout configurations to AttnFwdConfig and AttnBwdConfig by @LoserCheems in #413
- [Gluon] use new block_info by @LoserCheems in #414
- [Gluon] modify dQ shape from [TILE_M, TILE_K] to [TILE_K, TILE_M] by @LoserCheems in #415
- [Gluon] standardize variable naming from acc_s to acc_S by @LoserCheems in #416
- [Gluon] support packed r2p mask by @LoserCheems in #417
- [Gluon] [Forward sm80] use new block_info for prologue by @LoserCheems in #418
- [Gluon] [Sparse Forward sm80] use new block_info for prologue by @LoserCheems in #419
- [Gluon] [Backward sm80] use [TILE_K, TILE_M] dQ; dV, dK, dQ computation pipeline; first iteration with seqlen masking by @LoserCheems in #420
- [Gluon] [Sparse Backward sm80] use [TILE_K, TILE_M] dQ; dV, dK, dQ computation pipeline; first iteration with seqlen masking by @LoserCheems in #421
- [Gluon] [Forward sm90] support forward for sm90 by @LoserCheems in #422
- [Gluon] seqlen info constexpr rename by @LoserCheems in #423
- [Gluon] Add alloc_fn to allocate memory on CUDA device by @LoserCheems in #424
- [Gluon] Enhance get_mask_atom_stride to support MMAv3 by @LoserCheems in #425
- [Gluon] Add hopper_helpers with warpgroup_mma_wait, pack_mma_operand, and unpack_mma_operand functions by @LoserCheems in #426
- [Gluon] Refactor softmax operations to include fast math options by @LoserCheems in #427
- [Gluon] Enhance online_softmax to support partial sum optimization by @LoserCheems in #428
- [Gluon] Fix LSELog2 computation by replacing check_inf with check_neginf by @LoserCheems in #429
- [Gluon] [Forward sm80] [Sparse Forward sm80] Support LPT by @LoserCheems in #430
- [Gluon] [Forward sm80] Fused dense and sparse to a kernel by @LoserCheems in #431
- [Gluon] [Triton 3.9 API] Refactor async_copy calls to use async_load for improved performance by @LoserCheems in #432
- [Gluon] Refactor forward and backward representation functions to unify naming by @LoserCheems in #433
- [Gluon] Add score_skip and prob_skip functions by @LoserCheems in #434
- [Gluon] [Backward sm80] Fuse dense and sparse to a kernel by @LoserCheems in #435
- Set line-length=100 for Ruff linter by @LoserCheems in #436
- [Gluon] Implement Flash Attention interface for standard and variable-length sequences by @LoserCheems in #437
- [Gluon] Ensure non-negative block max calculations in get_n_block_min_max and get_m_block_min_max functions by @LoserCheems in #438
- [Gluon] Refactor AttnFwdConfig and AttnBwdConfig to enhance layout parameters for copy and MMA operations by @LoserCheems in #439
- [Gluon] fix code style by @LoserCheems in #440
- [Gluon] Add SWAP_AB parameter to make_*_ptrs method and scheduler by @LoserCheems in #441
- [Gluon] Inline offs from kernel to scheduler by @LoserCheems in #442
- [Gluon] Add reduce_pred function for logical AND reduction over synchronization scopes by @LoserCheems in #443
- [Gluon] Add PRED_SCOPE to softmax threshold checks in forward and backward by @LoserCheems in #444
- Refactor softmax skip condition to improve readability by @LoserCheems in #445
- [Gluon] [Forward sm90] Fused dense and sparse to one kernel by @LoserCheems in #446
- [Gluon] Refactor Q coordinate calculation by @LoserCheems in #447
- [Gluon] Adjust code style by @LoserCheems in #448
- [Gluon] [Backward sm90] Fused dense and sparse to one kernel by @LoserCheems in #449
- [Gluon] Implement device-specific selection for forward and backward functions in Interface by @LoserCheems in #450
- Update workflows version by @LoserCheems in #451
- [Gluon] Add null checks for dK and dV before offsetting gradients in AttnBwdPointerScheduler by @LoserCheems in #452
- [Gluon] Update assert_bwd_inputs to maintain lse parameter consistency across backward functions by @LoserCheems in #453
- [Gluon] Remove HAS_CU_SEQLENS_Q and HAS_CU_SEQLENS_K parameters from pointer scheduler by @LoserCheems in #454
- [Gluon] Add optional parameters for softmax scaling and window sizes in forward and backward functions by @LoserCheems in #455
- [Gluon] Update IS_SPLIT_QO and IS_SPLIT_KV parameters position by @LoserCheems in #456
- [Gluon] Refactor assert_fwd_inputs and assert_bwd_inputs parameter by @LoserCheems in #457
- [Gluon] Update device-related cache settings by @LoserCheems in #458
- [Gluon] Update parameter names by @LoserCheems in #459
- [Gluon] Remove head_dim parameter from backward processing functions by @LoserCheems in #460
- [Gluon] Refactor stride parameters in backward processing by @LoserCheems in #461
- [Gluon] Rename lse to rLSE by @LoserCheems in #462
- [Gluon] Rename lse to rLSE by @LoserCheems in #463
- [Gluon] Add store copy layout and related configurations by @LoserCheems in #464
- [Gluon] Support varlen Q ragged TMA by @LoserCheems in #465
- [Triton] Restructure fused attention backend for Hygon by @LoserCheems in #466
- [Gluon] Fix layout configuration in _fwd_sm90_kernel for output tensor by @LoserCheems in #467
- [Gluon] Skip backward combine for unsplit gradients by @LoserCheems in #468
- [Gluon] Use output copy layout for forward stores by @LoserCheems in #469
- [Gluon] Enable PackGQA for decoding by @LoserCheems in #470
- [Gluon] Select backend by GPU architecture by @LoserCheems in #471
- [Test] Add attention backend selection by @LoserCheems in #472
- [Docs] Update backend documentation by @LoserCheems in #473
New Contributors
- @kuishou68 made their first contribution in #375
Full Changelog: v2.0.6...v2.0.7