alexzhang13 / flashattention2-custom-maskLinks
Triton implementation of FlashAttention2 that adds Custom Masks.
β134Updated 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.β215Updated 3 months ago
- π₯ A minimal training framework for scaling FLA modelsβ239Updated this week
- [ICLR 2025] COAT: Compressing Optimizer States and Activation for Memory-Efficient FP8 Trainingβ239Updated last month
- Flash-Muon: An Efficient Implementation of Muon Optimizerβ185Updated 3 months ago
- Official repository for DistFlashAttn: Distributed Memory-efficient Attention for Long-context LLMs Trainingβ216Updated last year
- β126Updated 3 months ago
- β149Updated 2 years ago
- Odysseus: Playground of LLM Sequence Parallelismβ77Updated last year
- Triton-based implementation of Sparse Mixture of Experts.β239Updated 3 weeks ago
- [ICML 2025] XAttention: Block Sparse Attention with Antidiagonal Scoringβ226Updated 2 months ago
- Repository of the paper "Accelerating Transformer Inference for Translation via Parallel Decoding"β120Updated last year
- PyTorch bindings for CUTLASS grouped GEMM.β116Updated 3 months ago
- β84Updated 6 months ago
- A sparse attention kernel supporting mix sparse patternsβ296Updated 7 months ago
- β242Updated 3 months ago
- β141Updated 7 months ago
- Best practices for training DeepSeek, Mixtral, Qwen and other MoE models using Megatron Core.β89Updated last week
- Implementation for FP8/INT8 Rollout for RL training without performence drop.β200Updated this week
- 16-fold memory access reduction with nearly no lossβ105Updated 5 months ago
- Low-bit optimizers for PyTorchβ131Updated last year
- Code for paper: [ICLR2025 Oral] FlexPrefill: A Context-Aware Sparse Attention Mechanism for Efficient Long-Sequence Inferenceβ140Updated 3 months ago
- Fast and memory-efficient exact attentionβ69Updated 6 months ago
- β111Updated last year
- [ICML 2024] Quest: Query-Aware Sparsity for Efficient Long-Context LLM Inferenceβ333Updated 2 months ago
- β21Updated 6 months ago
- An efficient implementation of the NSA (Native Sparse Attention) kernelβ115Updated 2 months ago
- USP: Unified (a.k.a. Hybrid, 2D) Sequence Parallel Attention for Long Context Transformers Model Training and Inferenceβ562Updated last week
- π Efficiently (pre)training foundation models with native PyTorch features, including FSDP for training and SDPA implementation of Flashβ¦β265Updated last month
- SeerAttention: Learning Intrinsic Sparse Attention in Your LLMsβ151Updated last month
- Some preliminary explorations of Mamba's context scaling.β217Updated last year