tilelang-error-fixer

Official

Diagnose and fix TileLang-Ascend pass errors

Authortile-ai
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill provides an end-to-end workflow to locate, diagnose, and repair Pass-level errors and severe runtime crashes (Core Dump / Segmentation Fault) in TileLang-Ascend, bridging GDB backtraces, IR inspection, generated target code analysis, AOT verification, and C++ Pass fixes.

Core Features & Use Cases

  • Environment & build validation: verify TL_ROOT, PYTHONPATH, ASCEND_HOME_PATH, LD_LIBRARY_PATH and that C++ sources are freshly built before debugging.
  • Crash and backtrace analysis: attach GDB to Python processes to capture C++ stack traces and map failures to specific Pass implementations.
  • IR and target code inspection: dump and inspect intermediate IR after lowering and extract generated kernel C++ code for manual review.
  • AOT verification workflow: export operator C++ from TileLang, compile AOT .so, and run Ctypes-based tests to validate behavioral and precision fixes before changing Pass code.
  • C++ Pass repair and validation: propose guarded code edits, generate diffs, run make, re-run reproducer, compare IR/target diffs, and rollback if necessary.
  • Use Case: debugging a segmentation fault caused by a pipeline pass that miscomputes loop extents and validating the fix via AOT-compiled kernel tests.

Quick Start

Provide the failing script and build artifacts and ask the skill to run environment checks, collect GDB backtrace and IR dump, and propose a C++ Pass fix with AOT verification.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: tilelang-error-fixer
Download link: https://github.com/tile-ai/tilelang-ascend/archive/main.zip#tilelang-error-fixer

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.