Get in Touch
 Duration 14 hours

Course Outline

Overview of CANN Optimization Capabilities

  • Mechanisms of inference performance management within CANN
  • Defining optimization targets for edge and embedded AI systems
  • Insight into AI Core utilization and memory allocation strategies

Leveraging the Graph Engine for Analysis

  • Fundamentals of the Graph Engine and its execution pipeline
  • Visualization of operator graphs and runtime metrics
  • Modifying computational graphs to achieve optimization goals

Profiling Tools and Performance Metrics

  • Utilizing the CANN Profiling Tool (profiler) for workload analysis
  • Examining kernel execution times and identifying bottlenecks
  • Memory access profiling and application of tiling strategies

Custom Operator Development with TIK

  • Introduction to TIK and its operator programming model
  • Implementing custom operators via the TIK DSL
  • Testing and benchmarking operator performance

Advanced Operator Optimization with TVM

  • Integration of TVM with the CANN ecosystem
  • Auto-tuning strategies for computational graphs
  • Criteria for selecting between TVM and TIK

Memory Optimization Techniques

  • Strategies for managing memory layout and buffer placement
  • Methods 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 improvement

Requirements

  • A solid understanding of deep learning model architectures and training workflows
  • Practical experience with model deployment using CANN, TensorFlow, or PyTorch
  • Proficiency in Linux CLI, shell scripting, and Python programming

Target Audience

  • AI performance engineers
  • Specialists in inference optimization
  • Developers working on edge AI or real-time systems

Number of participants


Price per participant

Upcoming Courses

Related Categories