Get in Touch
 Duration 14 hours

Course Outline

Overview of CANN Optimization Capabilities

  • Mechanisms for handling inference performance within CANN.
  • Defining optimization targets for edge and embedded AI systems.
  • An understanding of AI Core utilization and memory allocation strategies.

Utilizing 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 achieve optimal performance.

Profiling Tools and Performance Metrics

  • Employing the CANN Profiling Tool (profiler) for in-depth workload analysis.
  • Evaluating kernel execution times and identifying performance bottlenecks.
  • Profiling memory access patterns and implementing tiling strategies.

Custom Operator Development with TIK

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

Advanced Operator Optimization with TVM

  • Introduction to integrating TVM with the CANN ecosystem.
  • Applying auto-tuning strategies for computational graphs.
  • Criteria for selecting between TVM and TIK workflows.

Memory Optimization Techniques

  • Managing memory layouts and buffer placement effectively.
  • Strategies to minimize 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: Optimizing the inference stack for autonomous vehicles.
  • Guidelines for iterative profiling and continuous performance improvement.

Requirements

  • A solid command 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.
  • Inference optimization specialists.
  • Developers focused on edge AI or real-time systems.

Number of participants


Price per participant

Upcoming Courses

Related Categories