Get in Touch
 Duration 14 hours

Course Outline

Introduction to CANN Optimization Features

  • Mechanisms for handling inference performance within CANN
  • Key optimization targets for edge and embedded AI environments
  • Insights into AI Core utilization and memory distribution

Leveraging the Graph Engine for Analysis

  • Basics of the Graph Engine and its execution workflow
  • Interpreting operator graphs and real-time performance indicators
  • Adjusting computational graphs to achieve optimization goals

Performance Analysis with Profiling Tools

  • Applying the CANN Profiling Tool (profiler) for detailed workload examination
  • Evaluating kernel execution times and identifying performance bottlenecks
  • Assessing memory access patterns and implementing tiling strategies

Building Custom Operators with TIK

  • Overview of the TIK framework and its operator programming approach
  • Developing a custom operator using the TIK DSL
  • Validating and measuring operator performance

Advanced Operator Tuning with TVM

  • Introduction to integrating TVM with CANN
  • Employing auto-tuning strategies for computational graphs
  • Determining the appropriate time to switch between TVM and TIK

Techniques for Memory Optimization

  • Controlling memory layout and buffer positioning
  • Methods to minimize on-chip memory usage
  • Best practices for asynchronous processing and data reuse

Practical Deployment and Real-World Examples

  • Case study: Tuning performance for smart city camera systems
  • Case study: Refining the inference stack for autonomous vehicles
  • Principles for iterative profiling and ongoing performance enhancement

Requirements

  • A solid grasp of deep learning model structures and training processes
  • Practical experience deploying models using CANN, TensorFlow, or PyTorch
  • Proficiency in Linux command-line interfaces, shell scripting, and Python development

Target Audience

  • AI performance engineers
  • Specialists in inference optimization
  • Developers focused on edge AI or real-time system applications

Related Categories