Skip to content
Schemory
Skill

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.

Source
Orchestra-Research/AI-Research-SKILLs
GitHub stars
14,744
License
MIT

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