AGENT SKILL

flashattention-kernel-design

Use when designing or reviewing handwritten CUDA FlashAttention kernels.

License 许可
Apache-2.0
所属仓库
tamarillo-ai/theta
最近更新
2026-07-15
Stars
★ 15
Forks
1

01 前言 Front Matter

name
flashattention-kernel-design
description
Use when designing or reviewing handwritten CUDA FlashAttention kernels.

03 SKILL.md 正文

FlashAttention Kernel Design

Use this skill when building or reviewing FlashAttention kernels.

Checklist

  • sequence length assumptions
  • head dimension assumptions
  • masking mode
  • online softmax recurrence
  • memory residency strategy for Q, K, V, and partial outputs

Focus

  • correctness visibility first
  • stable benchmark shapes second
  • aggressive optimization only after baseline validation

04 同仓库更多 Skills