fla-org / flash-linear-attention
π Efficient implementations of state-of-the-art linear attention models in Torch and Triton
β2,344Updated this week
Alternatives and similar repositories for flash-linear-attention:
Users that are interested in flash-linear-attention are comparing it to the libraries listed below
- Puzzles for learning Tritonβ1,603Updated 5 months ago
- Helpful tools and examples for working with flex-attentionβ746Updated 3 weeks ago
- Official Implementation of EAGLE-1 (ICML'24), EAGLE-2 (EMNLP'24), and EAGLE-3.β1,205Updated last week
- A PyTorch native library for large-scale model trainingβ3,665Updated this week
- π³ Efficient Triton implementations for "Native Sparse Attention: Hardware-Aligned and Natively Trainable Sparse Attention"β647Updated last month
- FlashInfer: Kernel Library for LLM Servingβ2,764Updated this week
- Flash Attention in ~100 lines of CUDA (forward pass only)β796Updated 4 months ago
- A simple and efficient Mamba implementation in pure PyTorch and MLX.β1,217Updated 5 months ago
- Tile primitives for speedy kernelsβ2,312Updated this week
- Mirage: Automatically Generating Fast GPU Kernels without Programming in Triton/CUDAβ820Updated this week
- PyTorch native quantization and sparsity for training and inferenceβ2,015Updated this week
- Domain-specific language designed to streamline the development of high-performance GPU/CPU/Accelerators kernelsβ1,089Updated this week
- GaLore: Memory-Efficient LLM Training by Gradient Low-Rank Projectionβ1,546Updated 6 months ago
- Implementation of the sparse attention pattern proposed by the Deepseek team in their "Native Sparse Attention" paperβ607Updated last month
- Official PyTorch implementation of Learning to (Learn at Test Time): RNNs with Expressive Hidden Statesβ1,182Updated 9 months ago
- Muon optimizer: +>30% sample efficiency with <3% wallclock overheadβ597Updated last month
- Minimalistic 4D-parallelism distributed training framework for education purposeβ1,346Updated last month
- A library for accelerating Transformer models on NVIDIA GPUs, including using 8-bit floating point (FP8) precision on Hopper, Ada and Blaβ¦β2,390Updated this week
- Minimalistic large language model 3D-parallelism trainingβ1,836Updated this week
- Ring attention implementation with flash attentionβ757Updated 3 weeks ago
- [ICLR2025 Spotlightπ₯] Official Implementation of TokenFormer: Rethinking Transformer Scaling with Tokenized Model Parametersβ555Updated 2 months ago
- Code for BLT research paperβ1,546Updated this week
- [ICML 2023] SmoothQuant: Accurate and Efficient Post-Training Quantization for Large Language Modelsβ1,397Updated 9 months ago
- [ICLR 2025] Samba: Simple Hybrid State Space Models for Efficient Unlimited Context Language Modelingβ867Updated this week
- A bibliography and survey of the papers surrounding o1β1,190Updated 5 months ago
- Unofficial implementation of Titans, SOTA memory for transformers, in Pytorchβ1,310Updated 3 weeks ago
- [MLSys 2024 Best Paper Award] AWQ: Activation-aware Weight Quantization for LLM Compression and Accelerationβ2,970Updated 3 weeks ago
- π° Must-read papers and blogs on Speculative Decoding β‘οΈβ704Updated last week
- Implementation of π Ring Attention, from Liu et al. at Berkeley AI, in Pytorchβ511Updated 6 months ago
- Tutel MoE: Optimized Mixture-of-Experts Library, Support DeepSeek FP8/FP4β814Updated this week