optimizing-attention-flash

SKILLWorkflowcommunity
v0.0.0Orchestra-ResearchMITUpdated 2mo agoSource →

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

Community-submitted skill. Not yet reviewed by the Forge team. Full prompt content may not be available.Request review →
12kRepo stars
1Clients
1Formats
2mo agoLast update
Skill
AuthorOrchestra-Research
Version0.0.0
LicenseMIT
CategoryWorkflow
Formatsskill.md
PromptOpen (see Prompt tab)
Compatibility
Claude✓ Supported
Cursor
Copilot
ChatGPT
Gemini
About

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.

Keywords
skillclaude