Flash Attention in ~100 lines of CUDA (forward pass only)
☆1,203Dec 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. We may earn a commission when you buy through links labeled 'Ad' on this page.
Sorting:
- flash attention tutorial written in python, triton, cuda, cutlass☆542Nov 9, 2026Updated 2 weeks ago
- Implement Flash Attention using Cute.☆113Dec 17, 2024Updated last year
- FlashInfer: Kernel Library for LLM Serving☆7,010Updated this week
- a minimal cache manager for PagedAttention, on top of llama3.☆151Aug 26, 2024Updated 2 years ago
- 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,370Jul 29, 2023Updated 3 years ago
- End-to-end encrypted email - Proton Mail • AdSpecial offer: 40% Off Yearly / 80% Off First Month. All Proton services are open source and independently audited for security.
- 使用 cutlass 实现 flash-attention 精简版,具有教学意义☆59Aug 12, 2024Updated 2 years ago
- An Open-source book with Modern CUDA learning Notes for Beginners - BF16/FP8/FP4, HGEMM, CuTe, Flash-Attention, etc.☆12,220Updated this week
- how to optimize some algorithm in cuda.☆3,361Nov 2, 2026Updated 3 weeks ago
- Tile primitives for speedy kernels☆3,808Sep 12, 2026Updated 2 months ago
- Examples of CUDA implementations by Cutlass CuTe☆284Jul 1, 2025Updated last year
- Fast CUDA matrix multiplication from scratch☆1,367Sep 2, 2025Updated last year
- Step-by-step optimization of CUDA SGEMM☆528Mar 30, 2022Updated 4 years ago
- ☆271Jul 11, 2024Updated 2 years ago
- 使用 cutlass 仓库在 ada 架构上实现 fp8 的 flash attention☆82Aug 12, 2024Updated 2 years ago
- GPUs on demand by Runpod - Special Offer Available • AdRun AI, ML, and HPC workloads on powerful cloud GPUs—without limits or wasted spend. Deploy GPUs in under a minute and pay by the second.
- Material for gpu-mode lectures☆7,135Sep 9, 2026Updated 2 months ago
- Several optimization methods of half-precision general matrix multiplication (HGEMM) using tensor core with WMMA API and MMA PTX instruct…☆574Sep 8, 2024Updated 2 years ago
- Fastest kernels written from scratch☆630Aug 15, 2026Updated 3 months ago
- A Easy-to-understand TensorOp Matmul Tutorial☆461Mar 5, 2026Updated 8 months ago
- ☆195May 11, 2026Updated 6 months ago
- Flash Attention in raw Cuda C beating PyTorch☆39May 14, 2024Updated 2 years ago
- CUDA Templates and Python DSLs for High-Performance Linear Algebra☆10,777Updated this week
- CUTLASS and CuTe Examples☆143Nov 30, 2025Updated 11 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
- 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.
- Fast and memory-efficient exact attention☆25,352Updated this week
- Ring attention implementation with flash attention☆1,069Sep 10, 2025Updated last year
- Flash Attention from Scratch on CUDA Ampere☆202Sep 1, 2025Updated last year
- learning how CUDA works☆411Mar 3, 2025Updated last year
- Performance of the C++ interface of flash attention and flash attention v2 in large language model (LLM) inference scenarios.☆46Feb 27, 2025Updated last year
- ⚡️Write HGEMM from scratch using Tensor Cores with WMMA, MMA and CuTe API, Achieve Peak⚡️ Performance.☆158May 10, 2025Updated last year
- A simple high performance CUDA GEMM implementation.☆441Jan 4, 2024Updated 2 years ago
- Mirage Persistent Kernel: Compiling LLMs into a MegaKernel☆2,638Updated this week
- Distributed Compiler and Optimized Parallel Kernels☆1,594Updated this week
- Open source password manager - Proton Pass • AdSecurely store, share, and autofill your credentials with Proton Pass, the end-to-end encrypted password manager trusted by millions.
- 📚A curated list of Awesome LLM/VLM Inference Papers with Codes: Flash-Attention, Paged-Attention, WINT8/4, Parallelism, etc.🎉☆5,565Updated this week
- Domain-specific language designed to streamline the development of high-performance GPU/CPU/Accelerators kernels☆9,044Updated this week
- A Quirky Assortment of CuTe Kernels☆1,200Updated this week
- FP16xINT4 LLM inference kernel that can achieve near-ideal ~4x speedups up to medium batchsizes of 16-32 tokens.☆1,182Sep 4, 2024Updated 2 years ago
- Optimizing SGEMM kernel functions on NVIDIA GPUs to a close-to-cuBLAS performance.☆431Jan 2, 2025Updated last year
- Efficient Triton Kernels for LLM Training☆6,712Updated this week
- ☆49Apr 15, 2024Updated 2 years ago
Are these results useful?