Get in Touch
 Duration 14 hours

Course Outline

Overview of CANN Optimization Features

  • The approach to managing inference performance within CANN
  • Key optimization objectives for edge and embedded AI systems
  • Insights into AI Core utilization and memory allocation strategies

Leveraging the Graph Engine for Analysis

  • Fundamentals of the Graph Engine and its execution pipeline
  • Visualization of operator graphs and runtime metrics
  • Techniques for modifying computational graphs to enhance optimization

Profiling Tools and Performance Metrics

  • Utilizing the CANN Profiling Tool (profiler) for detailed 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
  • Steps to implement a custom operator using the TIK DSL
  • Procedures for testing and benchmarking operator performance

Advanced Operator Optimization using TVM

  • Introduction to integrating TVM with CANN
  • Auto-tuning strategies for computational graphs
  • Criteria for deciding when to utilize TVM versus TIK

Memory Optimization Strategies

  • Managing memory layouts and buffer placement
  • Methods to minimize on-chip memory usage
  • Best practices for asynchronous execution and resource reuse

Real-World Deployment and Case Studies

  • Case study: Tuning performance 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 processes
  • Hands-on experience deploying models using CANN, TensorFlow, or PyTorch
  • Proficiency with the Linux command line, shell scripting, and Python programming

Target Audience

  • AI performance engineers
  • Specialists in inference optimization
  • Developers focusing on edge AI or real-time systems

Number of participants


Price per participant

Upcoming Courses

Related Categories