Flash Attention in 300-500 lines of CUDA/C++
☆39Aug 22, 2025Updated last year
Alternatives and similar repositories for flash-attention-minimal
Users that are interested in flash-attention-minimal are comparing it to the libraries listed below. We may earn a commission when you buy through links labeled 'Ad' on this page.
Sorting:
- This repositories contains the reference implementation for the Sparse Delta Memory paper.More precisely, it contains the model definitio…☆40Jul 9, 2026Updated 2 months ago
- ☆45Nov 1, 2025Updated 10 months ago
- Flash Attention in ~100 lines of CUDA (forward pass only)☆1,190Dec 30, 2024Updated last year
- codes and plots for "Active-Dormant Attention Heads: Mechanistically Demystifying Extreme-Token Phenomena in LLMs"☆11Dec 30, 2024Updated last year
- FlexAttention w/ FlashAttention3 Support☆27Oct 5, 2024Updated last year
- Bare Metal GPUs on DigitalOcean Gradient AI • AdPurpose-built for serious AI teams training foundational models, running large-scale inference, and pushing the boundaries of what's possible.
- The official implementation of HybridNorm: Towards Stable and Efficient Transformer Training via Hybrid Normalization☆19Mar 7, 2025Updated last year
- [COLM'25] A Controlled Study on Long Context Extension and Generalization in LLMs☆65Mar 9, 2026Updated 6 months ago
- Personal solutions to the Triton Puzzles☆22Jul 18, 2024Updated 2 years ago
- Stick-breaking attention☆64Jul 1, 2025Updated last year
- Flash-Linear-Attention models beyond language☆21Aug 28, 2025Updated last year
- 使用 cutlass 仓库在 ada 架构上实现 fp8 的 flash attention☆83Aug 12, 2024Updated 2 years ago
- supporting pytorch FSDP for optimizers☆85Dec 8, 2024Updated last year
- ☆37Dec 31, 2025Updated 8 months ago
- ACL 2026 & NAACL 2025: Bridging Retrieval and Inference through Evidence Fusion☆14Apr 9, 2026Updated 5 months ago
- Deploy to Railway using AI coding agents - Free Credits Offer • AdUse Claude Code, Codex, OpenCode, and more. Autonomous software development now has the infrastructure to match with Railway.
- u-MPS implementation and experimentation code used in the paper Tensor Networks for Probabilistic Sequence Modeling (https://arxiv.org/ab…☆19Jul 2, 2020Updated 6 years ago
- Official repository of paper "RNNs Are Not Transformers (Yet): The Key Bottleneck on In-context Retrieval"☆27Apr 17, 2024Updated 2 years ago
- ☆22Dec 1, 2021Updated 4 years ago
- ☆14Dec 22, 2024Updated last year
- LongRecipe: Recipe for Efficient Long Context Generalization in Large Language Models☆79Oct 16, 2024Updated last year
- Code for paper "ElasticTrainer: Speeding Up On-Device Training with Runtime Elastic Tensor Selection" (MobiSys'23)☆14Nov 1, 2023Updated 2 years ago
- A vector field rendering library☆17Jul 31, 2019Updated 7 years ago
- Implement Flash Attention using Cute.☆111Dec 17, 2024Updated last year
- triton ver of gqa flash attn, based on the tutorial☆12Aug 4, 2024Updated 2 years ago
- Deploy to Railway using AI coding agents - Free Credits Offer • AdUse Claude Code, Codex, OpenCode, and more. Autonomous software development now has the infrastructure to match with Railway.
- ☆67Feb 15, 2026Updated 7 months ago
- HGRN2: Gated Linear RNNs with State Expansion☆59Aug 20, 2024Updated 2 years ago
- ☆19Dec 12, 2023Updated 2 years ago
- Effective transpose on Hopper GPU☆29Sep 6, 2025Updated last year
- Focused on fast experimentation and simplicity☆77Dec 24, 2024Updated last year
- Scaling Laws for Mixture of Experts Models☆16Feb 25, 2025Updated last year
- Dependency Parsing as Sequence Labeling with Python3+ and PyTorch1+ and MTL☆10Nov 21, 2019Updated 6 years ago
- High-performance GEMM implementation optimized for NVIDIA H100 GPUs, leveraging Hopper architecture's TMA, WGMMA, and Thread Block Cluste…☆11Aug 25, 2026Updated last month
- An efficient implementation of the NSA (Native Sparse Attention) kernel☆135Jun 24, 2025Updated last year
- GPU virtual machines on DigitalOcean Gradient AI • AdGet to production fast with high-performance AMD and NVIDIA GPUs you can spin up in seconds. The definition of operational simplicity.
- Official repository for "SSA: Sparse Sparse Attention by Aligning Full and Sparse Attention Outputs in Feature Space"☆32May 7, 2026Updated 4 months ago
- ☆29May 4, 2024Updated 2 years ago
- Code for ICLR 2025 Paper "What is Wrong with Perplexity for Long-context Language Modeling?"☆118Oct 11, 2025Updated 11 months ago
- Homepage for ProLong (Princeton long-context language models) and paper "How to Train Long-Context Language Models (Effectively)"☆266Sep 12, 2025Updated last year
- ☆48Dec 13, 2025Updated 9 months ago
- Official PyTorch Implementation of the Longhorn Deep State Space Model☆57Dec 4, 2024Updated last year
- Attention variant with per-channel multiplicative decay☆50Jun 3, 2026Updated 3 months ago