Catlass Operator Performance Optimizer

•
99
•

Optimizes Huawei Ascend NPU matrix multiplication operators using Catlass tiling strategies and automated performance profiling.

This skill provides a rigorous, data-driven workflow for fine-tuning Catlass-based operators on Huawei Ascend hardware. It guides developers through establishing performance baselines using the torch_npu profiler, iteratively adjusting tiling configurations—including TileShape, DispatchPolicy, and Swizzle strategies—and generating mandatory Markdown comparison reports. By enforcing a 'one-variable-at-a-time' modification rule and requiring pre- and post-optimization delta analysis, it ensures that every performance gain is verifiable and documented.

主な機能

01Automated profiler baseline acquisition and baseline comparison
0299 GitHub stars
03Seamless integration with Ascend C operator compilation and debugging tools
04Guided Catlass optimization workflow following official Ascend best practices
05Support for Tiling Exploration notes and multi-shape regression testing
06Mandatory generation of Markdown performance reports with per-step latency data

ユースケース

01Benchmarking custom Ascend C operators against standard torch.matmul and native APIs
02Reducing latency in custom matrix multiplication (GEMM) kernels for large language models
03Systematically searching for optimal tiling parameters for specific hardware resource constraints