TileLang Debug Helper (npuir)
Mandatory routing rule
Before answering, follow AGENTS.md section "Docs Auto Routing Rules (Mandatory)".
Debug workflow
- Reproduce with minimal script
- Add process attach window if native debug is needed
- Capture IR snapshots around transformation boundaries
- Narrow down failing pass or API misuse
For API debugging
- First verify v-prefix API usage
- Then verify alias compatibility if legacy npuir_xxx appears
References
- references/mlir-dump-guide.md
Official docs to consult
- docs/Tilelang算子调试指南.md
- docs/Tilelang.language/调试操作/T.print.md
- docs/developer/EnvironmentVariables.md
Related skills
- tilelang-mlir-skill
- tilelang-error-fixer
