Get in Touch
 Duration 14 hours

Course Outline

Overview of CANN Optimization Capabilities

  • Managing inference performance within the CANN framework.
  • Setting optimisation targets for edge and embedded AI systems.
  • Understanding AI Core utilisation and memory allocation strategies.

Utilising Graph Engine for Analysis

  • An introduction to the Graph Engine and its execution pipeline.
  • Visualising operator graphs and interpreting runtime metrics.
  • Modifying computational graphs to drive optimisation.

Profiling Tools and Performance Metrics

  • Applying the CANN Profiling Tool (profiler) for in-depth workload analysis.
  • Analysing kernel execution times to identify bottlenecks.
  • Profiling memory access patterns and optimising tiling strategies.

Custom Operator Development with TIK

  • An overview of TIK and its operator programming model.
  • Implementing custom operators using the TIK DSL.
  • Testing and benchmarking operator performance.

Advanced Operator Optimization with TVM

  • Integrating TVM with CANN: an introduction.
  • 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 effectively.
  • Techniques to minimise on-chip memory consumption.
  • Best practices for asynchronous execution and data reuse.

Real-World Deployment and Case Studies

  • Case study: Performance tuning for smart city camera pipelines.
  • Case study: Optimising 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 in model deployment using CANN, TensorFlow, or PyTorch.
  • Proficiency in Linux CLI, shell scripting, and Python programming.

Target Audience

  • AI performance engineers.
  • Specialists in inference optimisation.
  • Developers working with edge AI or real-time systems.

Number of participants


Price per participant

Provisional Upcoming Courses (Require 5+ participants)

Related Categories