Get in Touch
 Duration 14 hours

Course Outline

Introduction to Custom Operator Development

  • Rationale for building custom operators: use cases and constraints
  • Architecture of the CANN runtime and key operator integration points
  • An overview of TBE, TIK, and TVM within the Huawei AI ecosystem

Low-Level Operator Programming with TIK

  • Comprehending the TIK programming model and its supported APIs
  • Memory management and tiling strategies within TIK
  • Creation, compilation, and registration of custom ops with CANN

Testing and Verification of Custom Ops

  • Unit and integration testing of ops within the graph
  • Troubleshooting kernel-level performance issues
  • Visualising op execution and buffer behaviour

Scheduling and Optimisation via TVM

  • TVM as a compiler for tensor operations: an overview
  • Developing schedules for custom ops in TVM
  • TVM tuning, benchmarking, and code generation for Ascend

Framework and Model Integration

  • Registration of custom ops for MindSpore and ONNX
  • Verification of model integrity and fallback mechanisms
  • Support for multi-operator graphs with mixed precision

Case Studies and Advanced Optimisations

  • Case study: high-efficiency convolution for small input shapes
  • Case study: memory-conscious attention operator optimisation
  • Best practices for deploying custom ops across various devices

Conclusion and Future Steps

Requirements

  • Comprehensive understanding of AI model architecture and operator-level computation
  • Proficiency in Python and Linux development environments
  • Experience with neural network compilers or graph-level optimisers

Target Audience

  • Compiler engineers focused on AI toolchains
  • Systems developers specialising in low-level AI optimisation
  • Developers creating custom ops or targeting emerging AI workloads

Custom Corporate Training

Training solutions designed exclusively for businesses.

  • Customised Content: We adapt the syllabus and practical exercises to the real goals and needs of your project.
  • Flexible Schedule: Dates and times adapted to your team's agenda.
  • Format: Online (live), In-company (at your offices), or Hybrid.
Investment

Price per private group, online live training, starting from £3200 + VAT*

Contact us for an exact quote and to hear our latest promotions

Provisional Upcoming Courses (Contact Us For More Information)

Related Categories