Get in Touch
 Duration 14 hours

Course Outline

CANN Optimization Capabilities Overview

  • Managing inference performance within CANN
  • Setting optimization targets for edge and embedded AI systems
  • Comprehending AI Core utilization and memory allocation

Analysis with the Graph Engine

  • Introduction to the Graph Engine and its execution pipeline
  • Visualizing operator graphs and runtime metrics
  • Adjusting computational graphs for better optimization

Profiling Tools and Performance Indicators

  • Utilizing the CANN Profiling Tool (profiler) for workload assessment
  • Evaluating kernel execution times and identifying bottlenecks
  • Profiling memory access patterns and tiling strategies

Developing Custom Operators with TIK

  • Overview of TIK and its operator programming model
  • Building a custom operator using the TIK DSL
  • Testing and benchmarking operator efficiency

Advanced Operator Optimization via TVM

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

Memory Optimization Strategies

  • Controlling memory layout and buffer placement
  • Methods to minimize on-chip memory usage
  • 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
  • Guidelines for iterative profiling and continuous enhancement

Requirements

  • A solid grasp of deep learning model architectures and training processes
  • Practical experience with model deployment via 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