Accueil / Skills / Orchestra-Research/AI-Research-SKILLs

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.

skillLicence: MIT Source: Orchestra-Research/AI-Research-SKILLs

Installer

Copiez ce dossier dans votre projet Claude Code (Node.js requis) :

npx degit Orchestra-Research/AI-Research-SKILLs/10-optimization/flash-attention .claude/skills/optimizing-attention-flash

Ou installez-le pour tous vos projets :

npx degit Orchestra-Research/AI-Research-SKILLs/10-optimization/flash-attention ~/.claude/skills/optimizing-attention-flash

Contenu du fichier

Créé par ses auteurs d'origine et partagé sous licence MIT. Nous l'affichons sans modification, avec crédit et lien vers la source. Source ↗

…