Get in Touch
 Duration 14 hours

Course Outline

CANN Optimization Capabilities Overview

  • Mechanisms for handling inference performance within CANN
  • Setting optimization targets for edge and embedded AI systems
  • Insights into AI Core usage and memory allocation strategies

Leveraging Graph Engine for Analysis

  • Overview of the Graph Engine and its execution pipeline
  • Visualization of operator graphs and runtime metrics
  • Modifying computational graphs to achieve optimization goals

Profiling Tools and Performance Indicators

  • Utilizing the CANN Profiling Tool (profiler) for workload assessment
  • Evaluating kernel execution times and identifying bottlenecks
  • Profiling memory access patterns and implementing tiling strategies

Developing Custom Operators with TIK

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

Advanced Operator Optimization via TVM

  • Introduction to TVM integration with CANN
  • Auto-tuning strategies applied to computational graphs
  • Determining when and how to alternate between TVM and TIK

Memory Optimization Strategies

  • Managing memory layout and buffer placement
  • 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 continuous improvement

Requirements

  • A robust grasp of deep learning model architectures and training pipelines
  • Practical experience in deploying models using CANN, TensorFlow, or PyTorch
  • Proficiency with the Linux command line, shell scripting, and Python programming

Intended 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