agentleFS
kingsidharthkingsidharth/skills/pytorch-kernels/SKILL.md

pytorch-kernels

Skill17 starsChanged 8 months agoNo licenceView on GitHub

Custom and community GPU kernels for PyTorch transformer training and inference. Use when optimizing attention (FlashAttention, FlexAttention, SDPA, NATTEN, sliding window, paged, neighborhood), MLP fusion (Liger, SwiGLU, GeGLU, FusedMLP), normalization (RMSNorm, LayerNorm), RoPE, CrossEntropy, or optimizers (fused AdamW). Especially relevant for DiT, MMDiT, video DiT, S3DiT architectures. Also covers Colab A100 setup for flash-attn, torch.compile kernel fusion, and Triton kernel libraries like Unsloth and Liger Kernel.

The file

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

Reviews can't be read right now.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.