Get in Touch
 Duration 14 hours

Course Outline

Overview of CANN Optimization Features

  • The mechanism behind inference performance management in CANN
  • Key optimization targets for edge and embedded AI systems
  • Comprehending AI Core utilization and memory allocation strategies

Leveraging the Graph Engine for Analysis

  • An introduction to the Graph Engine and its execution pipeline
  • Visualizing operator graphs alongside runtime metrics
  • Adjusting computational graphs to achieve optimization goals

Profiling Tools and Performance Indicators

  • Employing the CANN Profiling Tool (profiler) to analyze workloads
  • 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 a custom operator using the TIK DSL
  • Conducting tests and benchmarking operator performance

Advanced Operator Optimization via TVM

  • Introduction to integrating TVM with CANN
  • Auto-tuning approaches for computational graphs
  • Determining when and how to switch between TVM and TIK

Memory Optimization Strategies

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

Practical Deployment and Case Studies

  • Case study: Performance tuning for a smart city camera pipeline
  • Case study: Optimizing the inference stack for autonomous vehicles
  • Guidelines for iterative profiling and ongoing improvement

Requirements

  • A solid command of deep learning model architectures and training processes
  • Practical experience in deploying models using 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 systems

Number of participants


Price per participant

Upcoming Courses

Related Categories