Skip to main content
Run any Skill in Manus
with one click
$pwd:

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.

$ git log --oneline --stat
stars:164,280
forks:26,957
updated:May 8, 2026 at 21:27
File Explorer
3 files
SKILL.md
readonly