Flash Attention in ~100 lines of CUDA (forward pass only)
☆1,158Dec 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☆522Jan 20, 2026Updated 4 months ago
- Implement Flash Attention using Cute.☆108Dec 17, 2024Updated last year
- FlashInfer: Kernel Library for LLM Serving☆5,791Updated this week
- a minimal cache manager for PagedAttention, on top of llama3.☆146Aug 26, 2024Updated last year
- Tile primitives for speedy kernels☆3,436Updated this week
- 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.
- 使用 cutlass 仓库在 ada 架构上实现 fp8 的 flash attention☆81Aug 12, 2024Updated last year
- ☆267Jul 11, 2024Updated last year
- Fastest kernels written from scratch☆583Sep 18, 2025Updated 9 months ago
- how to optimize some algorithm in cuda.☆3,089Jun 9, 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,314Jul 29, 2023Updated 2 years ago
- Examples of CUDA implementations by Cutlass CuTe☆278Jul 1, 2025Updated 11 months ago
- 📚LeetCUDA: Modern CUDA Learn Notes with PyTorch for Beginners🐑, 200+ CUDA Kernels, Tensor Cores, HGEMM, FA-2 MMA.🎉☆11,245May 29, 2026Updated 2 weeks ago
- Material for gpu-mode lectures☆6,178Updated this week
- Step-by-step optimization of CUDA SGEMM☆477Mar 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,216Sep 2, 2025Updated 9 months ago
- Flash Attention in 300-500 lines of CUDA/C++☆37Aug 22, 2025Updated 9 months ago
- A Easy-to-understand TensorOp Matmul Tutorial☆441Mar 5, 2026Updated 3 months ago
- We invite you to visit and follow our new repository at https://github.com/microsoft/TileFusion. TiledCUDA is a highly efficient kernel …☆194Jan 28, 2025Updated last year
- 使用 cutlass 实现 flash-attention 精简版,具有教学意义☆59Aug 12, 2024Updated last year
- 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.☆47Jun 11, 2025Updated last year
- Several optimization methods of half-precision general matrix multiplication (HGEMM) using tensor core with WMMA API and MMA PTX instruct…☆549Sep 8, 2024Updated last year
- ☆122May 16, 2025Updated last year
- Deploy on Railway without the complexity - Free Credits Offer • AdConnect your repo and Railway handles the rest with instant previews. Quickly provision container image services, databases, and storage volumes.
- CUDA Templates and Python DSLs for High-Performance Linear Algebra☆9,902Updated this week
- Ring attention implementation with flash attention☆1,026Sep 10, 2025Updated 9 months ago
- Flash Attention in raw Cuda C beating PyTorch☆39May 14, 2024Updated 2 years ago
- Fast and memory-efficient exact attention☆24,170Updated this week
- A throughput-oriented high-performance serving framework for LLMs☆965Mar 29, 2026Updated 2 months ago
- Standalone Flash Attention v2 kernel without libtorch dependency☆113Sep 10, 2024Updated last year
- 📚A curated list of Awesome LLM/VLM Inference Papers with Codes: Flash-Attention, Paged-Attention, WINT8/4, Parallelism, etc.🎉☆5,337Apr 20, 2026Updated last month
- A simple high performance CUDA GEMM implementation.☆435Jan 4, 2024Updated 2 years ago
- Quantized Attention on GPU☆44Nov 22, 2024Updated last year
- 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.
- 🚀 Efficient implementations for emerging model architectures☆5,227Jun 11, 2026Updated last week
- Domain-specific language designed to streamline the development of high-performance GPU/CPU/Accelerators kernels☆6,489Updated this week
- FP16xINT4 LLM inference kernel that can achieve near-ideal ~4x speedups up to medium batchsizes of 16-32 tokens.☆1,086Sep 4, 2024Updated last year
- Efficient Triton Kernels for LLM Training☆6,444Updated this week
- Benchmark tests supporting the TiledCUDA library.☆19Nov 19, 2024Updated last year
- Optimizing SGEMM kernel functions on NVIDIA GPUs to a close-to-cuBLAS performance.☆418Jan 2, 2025Updated last year
- A subset of PyTorch's neural network modules, written in Python using OpenAI's Triton.☆603May 13, 2026Updated last month