Get in Touch
 Duration 14 hours

Course Outline

Foundations of CANN Optimization

  • The approach to managing inference performance within CANN.
  • Setting optimization targets for edge and embedded AI systems.
  • Insights into AI Core utilization and memory allocation strategies.

Leveraging the Graph Engine for Analysis

  • An introduction to the Graph Engine and its execution pipeline.
  • Visualizing operator graphs alongside runtime metrics.
  • Adjusting computational graphs to enhance efficiency.

Profiling Tools and Key Performance Metrics

  • Applying the CANN Profiling Tool for detailed workload analysis.
  • Evaluating kernel execution times to identify bottlenecks.
  • Profiling memory access patterns and applying tiling strategies.

Building Custom Operators with TIK

  • An overview of TIK and its operator programming model.
  • Implementing custom operators using the TIK DSL.
  • Conducting tests and benchmarks to assess operator performance.

Advanced Optimization with TVM

  • Understanding TVM integration within the CANN ecosystem.
  • Implementing auto-tuning strategies for computational graphs.
  • Determining the optimal time to switch between TVM and TIK.

Strategies for Memory Optimization

  • Managing memory layouts and buffer placement effectively.
  • Techniques for reducing on-chip memory consumption.
  • Best practices regarding asynchronous execution and data 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 solid grasp of deep learning model architectures and training workflows.
  • Hands-on experience deploying models using CANN, TensorFlow, or PyTorch.
  • Proficiency in the Linux command line, 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