Implementation of FlashAttention (FA1-FA4) in PyTorch for educational and algorithmic clarity
☆225Apr 12, 2026Updated 5 months ago
Alternatives and similar repositories for FlashAttention-PyTorch
Users that are interested in FlashAttention-PyTorch are comparing it to the libraries listed below. We may earn a commission when you buy through links labeled 'Ad' on this page.
Sorting:
- Get down and dirty with FlashAttention2.0 in pytorch, plug in and play no complex CUDA kernels☆116Jul 31, 2023Updated 3 years ago
- flash attention tutorial written in python, triton, cuda, cutlass☆535Jan 20, 2026Updated 8 months ago
- a minimal cache manager for PagedAttention, on top of llama3.☆151Aug 26, 2024Updated 2 years ago
- An approximate implementation of the OpenAI paper - An Empirical Model of Large-Batch Training for MNIST☆11Nov 19, 2022Updated 3 years ago
- Flash Attention in ~100 lines of CUDA (forward pass only)☆1,190Dec 30, 2024Updated last year
- 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.
- Implement Flash Attention using Cute.☆111Dec 17, 2024Updated last year
- ☆16Mar 13, 2023Updated 3 years ago
- Fast and memory-efficient exact attention☆23Jun 26, 2026Updated 3 months ago
- Triton implementation of FlashAttention2 that adds Custom Masks.☆179Aug 14, 2024Updated 2 years ago
- ☆27Aug 5, 2022Updated 4 years ago
- Experimental adapter for fine-tuning Qwen3-VL as a Vision-Language-Action (VLA) model☆15Dec 21, 2025Updated 9 months ago
- Prune transformer layers☆75Updated this week
- Implementation of the paper "Opcodes as predictor for malware " by Daniel Bilar☆11Oct 17, 2020Updated 5 years ago
- Fast Hadamard transform in CUDA, with a PyTorch interface☆349Mar 10, 2026Updated 6 months ago
- Wordpress hosting with auto-scaling - Free Trial Offer • AdFully Managed hosting for WordPress and WooCommerce businesses that need reliable, auto-scalable performance. Cloudways SafeUpdates now available.
- High Performance FP8 GEMM Kernels for SM89 and later GPUs.☆21Jan 24, 2025Updated last year
- A CUDA kernel optimization toolkit for validation, benchmarking, Nsight Compute profiling, bottleneck analysis, and iterative tuning. It …☆211Sep 5, 2026Updated 3 weeks ago
- triton ver of gqa flash attn, based on the tutorial☆12Aug 4, 2024Updated 2 years ago
- Implementation of Speculative Sampling as described in "Accelerating Large Language Model Decoding with Speculative Sampling" by Deepmind☆112Feb 29, 2024Updated 2 years ago
- The official repository for SkyLadder: Better and Faster Pretraining via Context Window Scheduling☆43Dec 29, 2025Updated 8 months ago
- Fast inference from large lauguage models via speculative decoding