Skip to content

Sparse Load for LoopK Backward#269

Open
KevinZeng08 wants to merge 22 commits intoSandAI-org:mainfrom
KevinZeng08:bwd-sparse-load
Open

Sparse Load for LoopK Backward#269
KevinZeng08 wants to merge 22 commits intoSandAI-org:mainfrom
KevinZeng08:bwd-sparse-load

Conversation

@KevinZeng08
Copy link
Copy Markdown
Contributor

@KevinZeng08 KevinZeng08 commented Feb 25, 2026

DONE

  • implement sparse load with loopk backward for small k block sizes
  • correctness test
  • refactor fwd sparse load
  • range merge for loopk backward, same as Range Merge for LoopK Backward #240

TODO

  • optimize perf
  • code refactor

@KevinZeng08 KevinZeng08 changed the title [WIP] Sparse Load for LoopK Backward Sparse Load for LoopK Backward Mar 9, 2026
@KevinZeng08 KevinZeng08 closed this Mar 9, 2026
@KevinZeng08 KevinZeng08 reopened this Mar 9, 2026
@KevinZeng08 KevinZeng08 closed this Mar 9, 2026
@KevinZeng08 KevinZeng08 reopened this Mar 9, 2026
@KevinZeng08 KevinZeng08 closed this Mar 9, 2026
@KevinZeng08 KevinZeng08 reopened this Mar 9, 2026
@codecov
Copy link
Copy Markdown

codecov bot commented Mar 10, 2026

Codecov Report

❌ Patch coverage is 70.83333% with 7 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
magi_attention/utils/sparse_utils.py 0.00% 4 Missing ⚠️
magi_attention/functional/flex_flash_attn.py 84.21% 3 Missing ⚠️

📢 Thoughts on this report? Let us know!

@Strivin0311 Strivin0311 requested a review from littsk March 10, 2026 05:17
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.

2 participants