tspeterkim / flash-attention-minimalView external linksLinks
Flash Attention in ~100 lines of CUDA (forward pass only)
☆1,068Dec 30, 2024Updated 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
Sorting:
- flash attention tutorial written in python, triton, cuda, cutlass☆486Jan 20, 2026Updated 3 weeks ago
- Implement Flash Attention using Cute.☆100Dec 17, 2024Updated last year
- FlashInfer: Kernel Library for LLM Serving☆4,935Updated this week
- Tile primitives for speedy kernels☆3,139Updated this week
- a minimal cache manager for PagedAttention, on top of llama3.☆135Aug 26, 2024Updated last year
- Fastest kernels written from scratch☆533Sep 18, 2025Updated 4 months ago
- how to optimize some algorithm in cuda.☆2,819Updated this week
- This is a series of GPU optimization topics. Here we will introduce how to optimize the CUDA kernel in detail. I will introduce several…☆1,236Jul 29, 2023Updated 2 years ago
- ☆261Jul 11, 2024Updated last year
- 📚LeetCUDA: Modern CUDA Learn Notes with PyTorch for Beginners🐑, 200+ CUDA Kernels, Tensor Cores, HGEMM, FA-2 MMA.🎉☆9,666Updated this week
- Material for gpu-mode lectures☆5,726Feb 1, 2026Updated 2 weeks ago
- Fast CUDA matrix multiplication from scratch☆1,046Sep 2, 2025Updated 5 months ago
- 使用 cutlass 仓库在 ada 架构上实现 fp8 的 flash attention☆78Aug 12, 2024Updated last year
- A Easy-to-understand TensorOp Matmul Tutorial☆410Updated this week
- Step-by-step optimization of CUDA SGEMM☆431Mar 30, 2022Updated 3 years ago
- Examples of CUDA implementations by Cutlass CuTe☆270Jul 1, 2025Updated 7 months ago
- We invite you to visit and follow our new repository at https://github.com/microsoft/TileFusion. TiledCUDA is a highly efficient kernel …☆192Jan 28, 2025Updated last year
- Several optimization methods of half-precision general matrix multiplication (HGEMM) using tensor core with WMMA API and MMA PTX instruct…☆522Sep 8, 2024Updated last year
- Decoding Attention is specially optimized for MHA, MQA, GQA and MLA using CUDA core for the decoding stage of LLM inference.☆46Jun 11, 2025Updated 8 months ago
- Performance of the C++ interface of flash attention and flash attention v2 in large language model (LLM) inference scenarios.☆44Feb 27, 2025Updated 11 months ago
- Flash Attention in 300-500 lines of CUDA/C++☆36Aug 22, 2025Updated 5 months ago
- Ring attention implementation with flash attention☆980Sep 10, 2025Updated 5 months ago
- 🚀 Efficient implementations of state-of-the-art linear attention models☆4,379Updated this week
- Fast and memory-efficient exact attention☆22,231Updated this week
- 使用 cutlass 实现 flash-attention 精简版,具有教学意义☆56Aug 12, 2024Updated last year
- CUDA Templates and Python DSLs for High-Performance Linear Algebra☆9,266Updated this week
- Fast low-bit matmul kernels in Triton☆429Feb 1, 2026Updated 2 weeks ago
- Domain-specific language designed to streamline the development of high-performance GPU/CPU/Accelerators kernels☆5,094Feb 7, 2026Updated last week
- ☆114May 16, 2025Updated 8 months ago
- Efficient Triton Kernels for LLM Training☆6,141Updated this week
- A throughput-oriented high-performance serving framework for LLMs☆945Oct 29, 2025Updated 3 months ago
- 📚A curated list of Awesome LLM/VLM Inference Papers with Codes: Flash-Attention, Paged-Attention, WINT8/4, Parallelism, etc.🎉☆4,990Jan 18, 2026Updated 3 weeks ago
- A simple high performance CUDA GEMM implementation.☆426Jan 4, 2024Updated 2 years ago
- A subset of PyTorch's neural network modules, written in Python using OpenAI's Triton.☆596Aug 12, 2025Updated 6 months ago
- FP16xINT4 LLM inference kernel that can achieve near-ideal ~4x speedups up to medium batchsizes of 16-32 tokens.☆1,011Sep 4, 2024Updated last year
- 🤖FFPA: Extend FlashAttention-2 with Split-D, ~O(1) SRAM complexity for large headdim, 1.8x~3x↑🎉 vs SDPA EA.☆251Updated this week
- Optimizing SGEMM kernel functions on NVIDIA GPUs to a close-to-cuBLAS performance.☆407Jan 2, 2025Updated last year
- Development repository for the Triton language and compiler☆18,387Updated this week
- Quantized Attention on GPU☆44Nov 22, 2024Updated last year