Tilelang Mlir Skill

TileLang npuir 的 TileLangIR 和 MLIR pass 工作流技能。用户提及 tilelangir、mlir、pass pipeline、cv_split、vectorize、IR dump、pass 前后对比、transform 调试、tilelangir-opt 或 BishengIR pass 失败时必须使用本技能。

tile-ai 26ea160 4 files · 2.5 KB Updated

File contents

TileLang MLIR Skill

Mandatory routing rule

Before answering, follow AGENTS.md section "Docs Auto Routing Rules (Mandatory)".

What this skill handles

  • tilelangir pass understanding and usage
  • pass pipeline composition and isolation
  • mlir file level troubleshooting

Test baseline (Mandatory)

  • Prioritize examples/ and testing/npuir/ as the primary correctness baseline.
  • Do not treat unittest/npuir/mlir_files as the primary validation source.

Known pass entry points

  • tilelang/tladapter/transforms/tilelangir.py
  • pass names: tilelangir-cv-split and tilelangir-vectorize

References

  • references/mlir-test-guide.md
  • references/tilelangir-pass.md
  • references/tladapter-guide.md

Official docs to consult

  • docs/Tilelang算子调试指南.md
  • docs/developer/EnvironmentVariables.md

Related skills

  • tilelang-debug-helper
  • tilelang-error-fixer

tile-ai/tilelang-mlir-ascend/tree/main/.agents/skills/tilelang-mlir-skill commit 26ea16051f

Frequently asked questions

npx skillmds@latest add tile-ai/tilelang-mlir-skill