Skip to main content
在 Manus 中运行任何 Skill
一键导入
$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:0
forks:0
updated:2026年3月6日 23:57
文件资源管理器
3 个文件
SKILL.md
readonly