Catlass Operator Generator for Ascend NPU
Generates high-performance Ascend NPU operator code and engineering deliverables based on Catlass design specifications.
This skill streamlines the development of custom AI operators for Huawei Ascend NPUs by automating the generation of complex project files directly from design documents. It leverages the Catlass library—a template-based library for NPU matrix operations—to create efficient kernel implementations, host-side tiling logic (op_host), and functional test suites (test_aclnn). By enforcing strict adherence to architectural specifications and providing standardized workflows, it ensures that developers follow Huawei's best practices for high-performance NPU operator engineering.
Key Features
0199 GitHub stars
02Comprehensive test_aclnn suite generation for functional validation
03Pre-configured directory structures and compilation settings for Ascend projects
04Smart selection of optimized implementations from Catlass examples
05Automated generation of op_host (tiling, def, infershape) and op_kernel code
06Strict 1-to-1 mapping between design documents and implementation code
Use Cases
01Ensuring architectural consistency between operator design and final implementation
02Rapid prototyping and testing of high-performance NPU kernels using Catlass
03Accelerating custom Matmul-based operator development on Ascend NPUs