Get in Touch
 Duration 14 hours

Course Outline

CANN Optimization Capabilities: An Overview

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

Leveraging Graph Engine for Analysis

  • Foundations of the Graph Engine and its execution pipeline
  • Visualization of operator graphs and runtime performance metrics
  • Adjusting computational graphs to enhance efficiency

Performance Metrics and Profiling Tools

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

Building Custom Operators with TIK

  • Understanding TIK and its operator programming model
  • Creating custom operators using the TIK DSL
  • Testing and benchmarking the performance of custom operators

Advanced Operator Optimization using TVM

  • Integrating TVM with CANN
  • Strategies for auto-tuning computational graphs
  • Determining when to transition between TVM and TIK

Techniques for Memory Optimization

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

Real-World Applications and Case Studies

  • Case study: tuning performance for a smart city camera pipeline
  • Case study: enhancing the inference stack for autonomous vehicles
  • Frameworks for iterative profiling and sustained performance improvement

Requirements

  • A solid grasp of deep learning model architectures and training workflows
  • Hands-on experience 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

Related Categories