Skip to main content
在 Manus 中运行任何 Skill
一键导入

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.

星标189,253
分支32,680
更新时间2026年5月8日 21:27
文件资源管理器
3 个文件
SKILL.md
readonly