Skip to main content

attention-optimization

Stars13
Forks1
UpdatedJune 29, 2026 at 19:16

Use this skill when choosing attention mask types, understanding ORT CUDA kernel dispatch, or optimizing attention performance. Covers bool mask vs float additive bias, Flash/MEA/unfused kernel selection, GQA dispatch rules, and nonpad_kv_seqlens for Flash eligibility.

Installation

Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.

SKILL.md
readonly