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☆540Oct 22, 2026Updated 2 weeks ago
- Implement Flash Attention using Cute.☆113Dec 17, 2024Updated last year
- FlashInfer: Kernel Library for LLM Serving☆6,866Updated 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,367Jul 29, 2023Updated 3 years ago
- a minimal cache manager for PagedAttention, on top of llama3.☆152Aug 26, 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.
- 使用 cutlass 实现 flash-attention 精简版,具有教学意义☆59Aug 12, 2024Updated 2 years ago
- Tile primitives for speedy kernels☆3,795Sep 12, 2026Updated last month
- how to optimize some algorithm in cuda.☆3,341Updated this week
- An Open-source book with Modern CUDA learning Notes for Beginners - BF16/FP8/FP4, HGEMM, CuTe, Flash-Attention, etc.☆12,156Updated this week
- Examples of CUDA implementations by Cutlass CuTe☆283Jul 1, 2025Updated last year
- Step-by-step optimization of CUDA SGEMM☆525Mar 30, 2022Updated 4 years ago
- ☆271Jul 11, 2024Updated 2 years ago
- Material for gpu-mode lectures☆6,956Sep 9, 2026Updated last month
- 使用 cutlass 仓库在 ada 架构上实现 fp8 的 flash attention☆82Aug 12, 2024Updated 2 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,356Sep 2, 2025Updated last year
- Fastest kernels written from scratch☆629Aug 15, 2026Updated 2 months ago
- Several optimization methods of half-precision general matrix multiplication (HGEMM) using tensor core with WMMA API and MMA PTX instruct…☆575Sep 8, 2024Updated 2 years ago
- ☆194May 11, 2026Updated 5 months ago
- A Easy-to-understand TensorOp Matmul Tutorial☆459Mar 5, 2026Updated 8 months ago
- CUDA Templates and Python DSLs for High-Performance Linear Algebra☆10,703Updated 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 …☆193Jan 28, 2025Updated last year
- Flash Attention in raw Cuda C beating PyTorch☆39May 14, 2024Updated 2 years ago
- AI Agents on DigitalOcean Gradient AI Platform • AdBuild production-ready AI agents using customizable tools or access multiple LLMs through a single endpoint. Create custom knowledge bases or connect external data.
- Fast and memory-efficient exact attention☆25,249Updated this week
- Flash Attention from Scratch on CUDA Ampere☆201Sep 1, 2025Updated last year
- learning how CUDA works☆410Mar 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
- Ring attention implementation with flash attention☆1,067Sep 10, 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 curated list of Awesome LLM/VLM Inference Papers with Codes: Flash-Attention, Paged-Attention, WINT8/4, Parallelism, etc.🎉☆5,548Oct 20, 2026Updated 2 weeks ago
- Distributed Compiler and Optimized Parallel Kernels☆1,577Sep 18, 2026Updated last month
- A simple high performance CUDA GEMM implementation.☆440Jan 4, 2024Updated 2 years ago
- Managed hosting for WordPress and PHP on Cloudways • AdManaged hosting for WordPress, Magento, Laravel, or PHP apps, on multiple cloud providers. Deploy in minutes on Cloudways by DigitalOcean.
- Mirage Persistent Kernel: Compiling LLMs into a MegaKernel☆2,602Updated this week
- FP16xINT4 LLM inference kernel that can achieve near-ideal ~4x speedups up to medium batchsizes of 16-32 tokens.☆1,174Sep 4, 2024Updated 2 years ago
- A Quirky Assortment of CuTe Kernels☆1,189Oct 30, 2026Updated last week
- ☆49Apr 15, 2024Updated 2 years ago
- Domain-specific language designed to streamline the development of high-performance GPU/CPU/Accelerators kernels☆8,920Updated this week
- Efficient Triton Kernels for LLM Training☆6,686Updated this week
- Optimizing SGEMM kernel functions on NVIDIA GPUs to a close-to-cuBLAS performance.☆429Jan 2, 2025Updated last year