Get in Touch
 Duration 14 hours

Course Outline

CANN Optimization Capabilities Overview

  • How CANN manages inference performance
  • Optimization targets for edge and embedded AI systems
  • Understanding AI Core utilization and memory allocation

Leveraging Graph Engine for Analysis

  • Introduction to the Graph Engine and its execution pipeline
  • Visualizing operator graphs and runtime metrics
  • Adjusting computational graphs to achieve optimization

Profiling Tools and Performance Metrics

  • Utilizing the CANN Profiling Tool (profiler) for workload analysis
  • Evaluating kernel execution time and identifying bottlenecks
  • Profiling memory access and applying tiling strategies

Custom Operator Development using TIK

  • Overview of TIK and the operator programming model
  • Creating custom operators with the TIK DSL
  • Testing and benchmarking operator performance

Advanced Operator Optimization with TVM

  • Integrating TVM with CANN
  • Auto-tuning strategies for computational graphs
  • Determining when and how to switch between TVM and TIK

Memory Optimization Techniques

  • Managing memory layout and buffer placement
  • Methods to minimize on-chip memory consumption
  • 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 improvement

Requirements

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

Number of participants


Price per participant

Upcoming Courses

Related Categories