optimizing-attention-flash
Optimizes transformer attention with Flash Attention for 2-4x speedup and 10-20x memory reduction. Use when training/running transformers with long sequences (>512 tokens), encountering GPU memory issues with attention, or need faster inference. Supports PyTorch native SDPA, flash-attn library, H100 FP8, and sliding window attention.
Listed from its GitHub repository. Reports from people who tried it will appear here.
- GitHub stars
- 14,744
- License
- MIT
Log in to cache0 cached
No reports yet
Nobody has written down how optimizing-attention-flash works with their agent. Tried it? Say whether it worked, and with which agent and model.
Write the first report