optimizing-attention-flash by orchestra-research

optimizing-attention-flash

orchestra-research

6.6k5133 months ago

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.

>_
Quick Install
npxskills add orchestra-research/ai-research-skills--skill optimizing-attention-flash
Instructions

Loading…

Tags & Topics
aiai-researchclaudeclaude-codeclaude-skillscodex