Get in Touch
 Duration 14 hours

Course Outline

Foundational Concepts in Custom Operator Development

  • Rationale for Developing Custom Operators: Operational Use Cases and System Constraints
  • CANN Runtime Architecture and Operator Integration Points
  • Overview of TBE, TIK, and TVM within the Huawei AI Infrastructure

Implementing Low-Level Operator Programming with TIK

  • Detailed Examination of the TIK Programming Model and Supported APIs
  • Memory Allocation Management and Tiling Strategies in TIK
  • Procedures for Creating, Compiling, and Registering Custom Operators with CANN

Testing and Verification of Custom Operators

  • Unit Testing and Integration Testing of Operators within Computational Graphs
  • Diagnosing Kernel-Level Performance Anomalies
  • Visualization of Operator Execution Flows and Buffer Behaviors

Scheduling and Optimization via TVM

  • Overview of TVM as a Compiler Framework for Tensor Operations
  • Authoring Custom Operator Schedules in TVM
  • TVM Auto-Tuning, Benchmarking, and Code Generation for Ascend Hardware

Framework and Model Integration

  • Registering Custom Operators for MindSpore and ONNX Compatibility
  • Verification of Model Integrity and Fallback Mechanisms
  • Support for Multi-Operator Graphs with Mixed Precision Workloads

Case Studies and Advanced Optimization Strategies

  • Case Study: High-Efficiency Convolution for Small Input Shapes
  • Case Study: Memory-Aware Optimization of Attention Operators
  • Best Practices for Custom Operator Deployment Across Diverse Devices

Summary and Recommended Next Steps

Requirements

  • Comprehensive knowledge of AI model internals and operator-level computation
  • Proficiency with Python and Linux development environments
  • Familiarity with neural network compilers or graph-level optimizers

Audience

  • Compiler engineers working on AI toolchains
  • Systems developers focused on low-level AI optimization
  • Developers building custom operators or targeting novel AI workloads

Number of participants


Price per participant

Upcoming Courses

Related Categories