Get in Touch
 Duration 14 hours

Course Outline

Understanding CANN Optimization Capabilities

  • Mechanisms for handling inference performance within CANN.
  • Setting optimization goals for edge and embedded AI systems.
  • Gaining insight into AI Core utilization and memory allocation strategies.

Leveraging the Graph Engine for Analysis

  • Overview of the Graph Engine and its execution pipeline.
  • Visualizing operator graphs alongside runtime metrics.
  • Adjusting computational graphs to achieve optimal performance.

Utilizing Profiling Tools and Performance Metrics

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

Advanced Operator Optimization using TVM

  • Introduction to integrating TVM with CANN.
  • Employing auto-tuning strategies for computational graphs.
  • Determining when and how to transition between TVM and TIK.

Techniques for Memory Optimization

  • Managing memory layouts and buffer placement effectively.
  • Applying techniques to minimize on-chip memory consumption.
  • Adhering to best practices for asynchronous execution and resource reuse.

Real-World Deployment Scenarios and Case Studies

  • Case study: Performance tuning 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 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.

Related Categories