alexzhang13 / flashattention2-custom-maskLinks
Triton implementation of FlashAttention2 that adds Custom Masks.
☆132Updated last year
Alternatives and similar repositories for flashattention2-custom-mask
Users that are interested in flashattention2-custom-mask are comparing it to the libraries listed below
Sorting:
- Efficient triton implementation of Native Sparse Attention.☆208Updated 3 months ago
- 🔥 A minimal training framework for scaling FLA models☆233Updated last week
- ☆123Updated 2 months ago
- [ICLR 2025] COAT: Compressing Optimizer States and Activation for Memory-Efficient FP8 Training☆231Updated 2 weeks ago
- Flash-Muon: An Efficient Implementation of Muon Optimizer☆160Updated 2 months ago
- Triton-based implementation of Sparse Mixture of Experts.☆233Updated 8 months ago
- Official repository for DistFlashAttn: Distributed Memory-efficient Attention for Long-context LLMs Training☆214Updated last year
- Odysseus: Playground of LLM Sequence Parallelism☆76Updated last year
- [ICML 2025] XAttention: Block Sparse Attention with Antidiagonal Scoring☆219Updated last month
- Efficient 2:4 sparse training algorithms and implementations☆55Updated 8 months ago
- ☆139Updated 6 months ago
- Repository of the paper "Accelerating Transformer Inference for Translation via Parallel Decoding"☆119Updated last year
- ☆148Updated 2 years ago
- PyTorch bindings for CUTLASS grouped GEMM.☆110Updated 2 months ago
- SeerAttention: Learning Intrinsic Sparse Attention in Your LLMs☆147Updated 2 weeks ago
- Code for paper: [ICLR2025 Oral] FlexPrefill: A Context-Aware Sparse Attention Mechanism for Efficient Long-Sequence Inference☆133Updated 3 months ago
- [ICML 2024] Quest: Query-Aware Sparsity for Efficient Long-Context LLM Inference☆323Updated last month
- Low-bit optimizers for PyTorch☆130Updated last year
- A sparse attention kernel supporting mix sparse patterns☆280Updated 6 months ago
- ☆110Updated last year
- [ICLR2025] Codebase for "ReMoE: Fully Differentiable Mixture-of-Experts with ReLU Routing", built on Megatron-LM.☆87Updated 8 months ago
- ☆80Updated 6 months ago
- Best practices for training DeepSeek, Mixtral, Qwen and other MoE models using Megatron Core.☆56Updated last week
- Fast and memory-efficient exact attention☆70Updated 5 months ago
- [ICML 2025] SparseLoRA: Accelerating LLM Fine-Tuning with Contextual Sparsity☆51Updated last month
- ☆237Updated 2 months ago
- 16-fold memory access reduction with nearly no loss☆104Updated 5 months ago
- [CoLM'25] The official implementation of the paper <MoA: Mixture of Sparse Attention for Automatic Large Language Model Compression>☆145Updated last month
- Implementation for FP8/INT8 Rollout for RL training without performence drop.☆155Updated this week
- An efficient implementation of the NSA (Native Sparse Attention) kernel☆113Updated 2 months ago