shreyansh26 / FlashAttention-PyTorch
Implementation of FlashAttention in PyTorch
☆146Updated 4 months ago
Alternatives and similar repositories for FlashAttention-PyTorch
Users that are interested in FlashAttention-PyTorch are comparing it to the libraries listed below
Sorting:
- ☆125Updated 2 weeks ago
- [ICLR 2025] COAT: Compressing Optimizer States and Activation for Memory-Efficient FP8 Training☆190Updated 3 weeks ago
- Lightning Attention-2: A Free Lunch for Handling Unlimited Sequence Lengths in Large Language Models☆285Updated 2 months ago
- flash attention tutorial written in python, triton, cuda, cutlass☆349Updated this week
- Get down and dirty with FlashAttention2.0 in pytorch, plug in and play no complex CUDA kernels☆104Updated last year
- DeepSeek Native Sparse Attention pytorch implementation☆65Updated 2 months ago
- ☆132Updated 2 months ago
- qwen-nsa☆60Updated last month
- A collection of memory efficient attention operators implemented in the Triton language.☆266Updated 11 months ago
- 🔥 A minimal training framework for scaling FLA models☆128Updated last week
- TransMLA: Multi-Head Latent Attention Is All You Need☆247Updated this week
- [ICLR 2025] PEARL: Parallel Speculative Decoding with Adaptive Draft Length☆81Updated last month
- (Unofficial) PyTorch implementation of grouped-query attention (GQA) from "GQA: Training Generalized Multi-Query Transformer Models from …☆165Updated last year
- 📚FFPA(Split-D): Extend FlashAttention with Split-D for large headdim, O(1) GPU SRAM complexity, 1.8x~3x↑🎉 faster than SDPA EA.☆174Updated this week
- USP: Unified (a.k.a. Hybrid, 2D) Sequence Parallel Attention for Long Context Transformers Model Training and Inference☆492Updated 3 weeks ago
- PyTorch bindings for CUTLASS grouped GEMM.☆121Updated 4 months ago
- a minimal cache manager for PagedAttention, on top of llama3.☆87Updated 8 months ago
- QQQ is an innovative and hardware-optimized W4A8 quantization solution for LLMs.☆121Updated last month
- Implement Flash Attention using Cute.☆82Updated 4 months ago
- Official PyTorch implementation of "FlatQuant: Flatness Matters for LLM Quantization"☆127Updated last week
- ☆35Updated 9 months ago
- llm theoretical performance analysis tools and support params, flops, memory and latency analysis.☆88Updated 4 months ago
- ☆84Updated last month
- Built upon Megatron-Deepspeed and HuggingFace Trainer, EasyLLM has reorganized the code logic with a focus on usability. While enhancing …☆46Updated 7 months ago
- The official implementation of the EMNLP 2023 paper LLM-FP4☆198Updated last year
- RLHF experiments on a single A100 40G GPU. Support PPO, GRPO, REINFORCE, RAFT, RLOO, ReMax, DeepSeek R1-Zero reproducing.☆58Updated 2 months ago
- An easy-to-use package for implementing SmoothQuant for LLMs☆97Updated last month
- ☆65Updated 6 months ago
- PyTorch bindings for CUTLASS grouped GEMM.☆89Updated 2 weeks ago
- Code release for book "Efficient Training in PyTorch"☆64Updated last month