Get in Touch
 Duration 14 hours

Course Outline

CANN Optimization Capabilities: An Overview

  • Examining how inference performance is managed within CANN
  • Defining optimization targets for edge and embedded AI systems
  • Understanding AI Core utilization and memory allocation strategies

Analysis Using the Graph Engine

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

Profiling Tools and Key Performance Metrics

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

Developing Custom Operators with TIK

  • Understanding TIK and its operator programming model
  • Building a custom operator using the TIK DSL
  • Conducting tests and benchmarks for operator performance

Advanced Operator Optimization via TVM

  • Introduction to TVM integration within the CANN framework
  • Employing auto-tuning strategies for computational graphs
  • Determining when and how to transition between TVM and TIK

Techniques for Memory Optimization

  • Overseeing memory layout and buffer placement
  • Strategies to minimize on-chip memory consumption
  • Best practices for asynchronous execution and resource reuse

Real-World Deployment and Case Studies

  • Case study: Performance tuning for a smart city camera pipeline
  • Case study: Optimizing the inference stack for autonomous vehicles
  • Establishing guidelines for iterative profiling and continuous enhancement

Requirements

  • Proficient knowledge of deep learning model architectures and training workflows
  • Practical experience deploying models using CANN, TensorFlow, or PyTorch
  • Competence in Linux CLI, shell scripting, and Python programming

Target Audience

  • AI performance engineers
  • Specialists in inference optimization
  • Developers engaged in edge AI or real-time system projects

Upcoming Courses

Related Categories