Flash Attention in ~100 lines of CUDA (forward pass only)
☆1,172Dec 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☆528Jan 20, 2026Updated 6 months ago
- Implement Flash Attention using Cute.☆111Dec 17, 2024Updated last year
- a minimal cache manager for PagedAttention, on top of llama3.☆149Aug 26, 2024Updated last year
- 使用 cutlass 实现 flash-attention 精简版,具有教学意义☆59Aug 12, 2024Updated last year
- FlashInfer: Kernel Library for LLM Serving☆6,053Updated this week
- Managed Database hosting by DigitalOcean • AdPostgreSQL, MySQL, MongoDB, Kafka, Valkey, and OpenSearch available. Automatically scale up storage and focus on building your apps.
- Tile primitives for speedy kernels☆3,566Jul 13, 2026Updated 2 weeks ago
- Examples of CUDA implementations by Cutlass CuTe☆281Jul 1, 2025Updated last year
- 使用 cutlass 仓库在 ada 架构上实现 fp8 的 flash attention☆82Aug 12, 2024Updated last year
- 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,335Jul 29, 2023Updated 3 years ago
- ☆270Jul 11, 2024Updated 2 years ago
- Fastest kernels written from scratch☆587Sep 18, 2025Updated 10 months ago
- how to optimize some algorithm in cuda.☆3,152Updated this week
- Material for gpu-mode lectures☆6,376Jun 15, 2026Updated last month
- Step-by-step optimization of CUDA SGEMM☆486Mar 30, 2022Updated 4 years ago
- 1-Click AI Models by DigitalOcean Gradient • AdDeploy popular AI models on DigitalOcean Gradient GPU virtual machines with just a single click. Zero configuration with optimized deployments.
- Fast CUDA matrix multiplication from scratch☆1,265Sep 2, 2025Updated 10 months ago
- A Easy-to-understand TensorOp Matmul Tutorial☆446Mar 5, 2026Updated 4 months ago
- 📚LeetCUDA: Modern CUDA Learn Notes with PyTorch for Beginners🐑, 200+ CUDA Kernels, Tensor Cores, HGEMM, FA-2 MMA.🎉☆11,655Updated this week
- 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
- ☆189May 11, 2026Updated 2 months ago
- CUDA Templates and Python DSLs for High-Performance Linear Algebra☆10,151Updated this week
- Performance of the C++ interface of flash attention and flash attention v2 in large language model (LLM) inference scenarios.☆45Feb 27, 2025Updated last year
- 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
- Several optimization methods of half-precision general matrix multiplication (HGEMM) using tensor core with WMMA API and MMA PTX instruct…☆558Sep 8, 2024Updated last year
- 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.
- Flash Attention in 300-500 lines of CUDA/C++☆39Aug 22, 2025Updated 11 months ago
- CUTLASS and CuTe Examples☆137Nov 30, 2025Updated 7 months ago
- Mirage Persistent Kernel: Compiling LLMs into a MegaKernel☆2,394Updated this week
- 🤖FFPA: Extends FA-2/3 via Split-D for large headdims, 1.5x~6×↑🎉 vs SDPA, up to 513~535 TFLOPS🎉 on NVIDIA H200.☆318Updated this week
- Ring attention implementation with flash attention☆1,038Sep 10, 2025Updated 10 months ago
- Fast and memory-efficient exact attention☆24,559Updated this week
- 📚A curated list of Awesome LLM/VLM Inference Papers with Codes: Flash-Attention, Paged-Attention, WINT8/4, Parallelism, etc.🎉☆5,424Updated this week
- Standalone Flash Attention v2 kernel without libtorch dependency☆113Sep 10, 2024Updated last year
- Distributed Compiler based on Triton for Parallel Systems☆1,503Jul 20, 2026Updated last 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.
- ⚡️Write HGEMM from scratch using Tensor Cores with WMMA, MMA and CuTe API, Achieve Peak⚡️ Performance.☆157May 10, 2025Updated last year
- A simple high performance CUDA GEMM implementation.☆437Jan 4, 2024Updated 2 years ago
- learning how CUDA works☆399Mar 3, 2025Updated last year
- A throughput-oriented high-performance serving framework for LLMs☆971Mar 29, 2026Updated 4 months ago
- Quantized Attention on GPU☆45Nov 22, 2024Updated last year
- A Quirky Assortment of CuTe Kernels☆1,076Updated this week
- FP16xINT4 LLM inference kernel that can achieve near-ideal ~4x speedups up to medium batchsizes of 16-32 tokens.☆1,111Sep 4, 2024Updated last year