Debugging Tilelang Programs

How to diagnose and fix errors in TileLang programs. Use this skill whenever a TileLang kernel fails to compile, crashes at runtime, produces incorrect results, or shows numerical mismatches. Also use when the user encounters TVM/TIR errors, CUDA codegen failures, shape mismatches, assertion failures, NaN/inf outputs, tilelang.compile errors, or needs to inspect generated CUDA code, use T.print for debugging, run AutoDD for minimal reproduction, or compare against a PyTorch reference. Trigger even for vague complaints like "my kernel doesn't work" or "wrong output" when TileLang is involved. Also trigger for TMA descriptor errors, illegal memory access, or kernel launch failures.

wenyi-li Updated

File contents

wenyi-li/awesome-agent-kernel-skills/tree/main/debugging-tilelang-programs commit e9c3df34c7

Frequently asked questions

npx skillmds@latest add wenyi-li/debugging-tilelang-programs