Get in Touch
 Duration 14 hours

Course Outline

Introduction to CANN Optimization Features

  • The mechanics of inference performance management within CANN
  • Setting optimization targets for edge and embedded AI systems
  • Comprehending AI Core utilization and memory allocation strategies

Leveraging Graph Engine for Analysis

  • An introduction to the Graph Engine and its execution pipeline
  • Visualizing operator graphs and monitoring runtime metrics
  • Modifying computational graphs to achieve performance gains

Utilizing Profiling Tools and Performance Metrics

  • Applying the CANN Profiling Tool for in-depth workload analysis
  • Evaluating kernel execution times and identifying bottlenecks
  • Profiling memory access patterns and implementing tiling strategies

Developing Custom Operators with TIK

  • An overview of TIK and its operator programming model
  • Building custom operators using the TIK DSL
  • Conducting tests and benchmarking operator efficiency

Advanced Operator Optimization via TVM

  • Understanding the integration of TVM with CANN
  • Implementing auto-tuning strategies for computational graphs
  • Determining when and how to transition between TVM and TIK

Techniques for Memory Optimization

  • Optimizing memory layout and buffer placement
  • Strategies to minimize on-chip memory usage
  • Best practices for asynchronous execution and data reuse

Real-World Deployment and Case Studies

  • Case study: Performance tuning for smart city camera pipelines
  • Case study: Optimizing the inference stack for autonomous vehicles
  • Guidelines for iterative profiling and continuous performance improvement

Requirements

  • A solid grasp of deep learning model architectures and training workflows
  • Practical experience deploying models with CANN, TensorFlow, or PyTorch
  • Proficiency in Linux CLI, shell scripting, and Python programming

Target Audience

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

Number of participants


Price per participant

Upcoming Courses

Related Categories