Flash Attention in ~100 lines of CUDA (forward pass only)
☆1,200Dec 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☆534Jan 20, 2026Updated 8 months ago
- Implement Flash Attention using Cute.☆113Dec 17, 2024Updated last year
- 使用 cutlass 实现 flash-attention 精简版,具有教学意义☆59Aug 12, 2024Updated 2 years ago
- a minimal cache manager for PagedAttention, on top of llama3.☆152Aug 26, 2024Updated 2 years ago
- FlashInfer: Kernel Library for LLM Serving☆6,672Updated this week
- 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.
- Tile primitives for speedy kernels☆3,755Sep 12, 2026Updated last month
- ☆271Jul 11, 2024Updated 2 years ago
- Examples of CUDA implementations by Cutlass CuTe☆283Jul 1, 2025Updated last year
- how to optimize some algorithm in cuda.☆3,317Oct 11, 2026Updated last 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,366Jul 29, 2023Updated 3 years ago
- Fastest kernels written from scratch☆629Aug 15, 2026Updated 2 months ago
- 使用 cutlass 仓库在 ada 架构上实现 fp8 的 flash attention☆83Aug 12, 2024Updated 2 years ago
- Material for gpu-mode lectures☆6,872Sep 9, 2026Updated last month
- Step-by-step optimization of CUDA SGEMM☆517Mar 30, 2022Updated 4 years ago
- Managed Kubernetes at scale on DigitalOcean • AdDigitalOcean Kubernetes includes the control plane, bandwidth allowance, container registry, automatic updates, and more for free.
- Fast CUDA matrix multiplication from scratch☆1,335Sep 2, 2025Updated last year
- A Easy-to-understand TensorOp Matmul Tutorial☆454Mar 5, 2026Updated 7 months ago
- An Open-source book with Modern CUDA learning Notes for Beginners - BF16/FP8/FP4, HGEMM, CuTe, Flash-Attention, etc.☆12,086Updated this week
- ☆193May 11, 2026Updated 5 months ago
- CUDA Templates and Python DSLs for High-Performance Linear Algebra☆10,613Updated this week
- We invite you to visit and follow our new repository at https://github.com/microsoft/TileFusion. TiledCUDA is a highly efficient kernel …☆193Jan 28, 2025Updated last year
- CUTLASS and CuTe Examples☆140Nov 30, 2025Updated 10 months ago
- Performance of the C++ interface of flash attention and flash attention v2 in large language model (LLM) inference scenarios.☆46Feb 27, 2025Updated last year
- Several optimization methods of half-precision general matrix multiplication (HGEMM) using tensor core with WMMA API and MMA PTX instruct…☆572Sep 8, 2024Updated 2 years ago
- Proton VPN Special Offer - Get 70% off • AdSpecial partner offer. Trusted by over 100 million users worldwide. Tested, Approved and Recommended by Experts.
- Decoding Attention is specially optimized for MHA, MQA, GQA and MLA using CUDA core for the decoding stage of LLM inference.☆48Jun 11, 2025Updated last year
- Mirage Persistent Kernel: Compiling LLMs into a MegaKernel☆2,560Updated this week
- Flash Attention in 300-500 lines of CUDA/C++☆39Aug 22, 2025Updated last year
- Kernel Library for Large Headdim Attention (64~1024, BF16/FP8/FP4), 1.5x~15x↑ vs PyTorch SDPA.☆340Updated this week
- ⚡️Write HGEMM from scratch using Tensor Cores with WMMA, MMA and CuTe API, Achieve Peak⚡️ Performance.☆158May 10, 2025Updated last year
- Fast and memory-efficient exact attention☆25,151Updated this week
- A simple high performance CUDA GEMM implementation.☆441Jan 4, 2024Updated 2 years ago
- Distributed Compiler and Optimized Parallel Kernels☆1,569Sep 18, 2026Updated last month
- Ring attention implementation with flash attention☆1,065Sep 10, 2025Updated last year
- Managed Database hosting by DigitalOcean • AdPostgreSQL, MySQL, MongoDB, Kafka, Valkey, and OpenSearch available. Automatically scale up storage and focus on building your apps.
- 📚A curated list of Awesome LLM/VLM Inference Papers with Codes: Flash-Attention, Paged-Attention, WINT8/4, Parallelism, etc.🎉☆5,531Aug 14, 2026Updated 2 months ago
- Standalone Flash Attention v2 kernel without libtorch dependency☆113Sep 10, 2024Updated 2 years ago
- learning how CUDA works☆408Mar 3, 2025Updated last year
- FP16xINT4 LLM inference kernel that can achieve near-ideal ~4x speedups up to medium batchsizes of 16-32 tokens.☆1,164Sep 4, 2024Updated 2 years ago
- A Quirky Assortment of CuTe Kernels☆1,176Updated this week
- Quantized Attention on GPU☆45Nov 22, 2024Updated last year
- Domain-specific language designed to streamline the development of high-performance GPU/CPU/Accelerators kernels☆8,638Updated this week