Skill

optimizing-attention-flash

Published by Orchestra Research

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

Skill details

Resource Id
d588573a-e976-4cad-85b3-182796abd1d8
Skill Md Url
https://github.com/davila7/claude-code-templates/blob/14680ec431ec8cbfd42b12ddcbe58e2f4ee3cccf/cli-tool/components/skills/ai-research/optimization-flash-attention/SKILL.md
Supported Agents
Claude Code
Version
1.0.0
Created At
"2026-10-08T13:50:30.502Z"
Updated At
"2026-10-08T13:50:30.502Z"