Get in Touch
 Duration 14 hours

Course Outline

Overview of CANN Optimisation Capabilities

  • How inference performance is managed within CANN.
  • Optimisation objectives for edge and embedded AI systems.
  • Understanding AI Core utilisation and memory allocation.

Leveraging Graph Engine for Analysis

  • Introduction to the Graph Engine and its execution pipeline.
  • Visualising operator graphs and runtime metrics.
  • Modifying computational graphs to achieve optimisation.

Profiling Tools and Performance Metrics

  • Using the CANN Profiling Tool (profiler) for workload analysis.
  • Analyzing kernel execution times and identifying bottlenecks.
  • Memory access profiling and tiling strategies.

Custom Operator Development using TIK

  • Overview of TIK and the operator programming model.
  • Implementing a custom operator using the TIK DSL.
  • Testing and benchmarking operator performance.

Advanced Operator Optimisation using TVM

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

Memory Optimisation Techniques

  • Managing memory layout and buffer placement.
  • Techniques to reduce on-chip memory consumption.
  • Best practices for asynchronous execution and data reuse.

Real-World Deployment and Case Studies

  • Case study: performance tuning for a smart city camera pipeline.
  • Case study: optimising an autonomous vehicle inference stack.
  • Guidelines for iterative profiling and continuous improvement.

Requirements

  • A solid understanding of deep learning model architectures and training workflows.
  • Experience with model deployment using CANN, TensorFlow, or PyTorch.
  • Familiarity with Linux CLI, shell scripting, and Python programming.

Target Audience

  • AI performance engineers.
  • Inference optimisation specialists.
  • Developers working with edge AI or real-time systems.

Number of participants


Price per participant

Provisional Upcoming Courses (Require 5+ participants)

Related Categories