Get in Touch
 Duration 14 hours

Course Outline

Introduction to CANN Optimization Capabilities

  • Mechanisms for handling inference performance within CANN
  • Key optimization objectives for edge and embedded AI systems
  • Insights into AI Core utilization and memory allocation

Analysis via Graph Engine

  • Overview of the Graph Engine and its execution pipeline
  • Visualization of operator graphs and runtime metrics
  • Adjusting computational graphs to achieve optimization

Profiling Tools and Performance Indicators

  • Application of the CANN Profiling Tool (profiler) for workload assessment
  • Evaluation of kernel execution times and identification of bottlenecks
  • Profiling of memory access patterns and tiling strategies

Developing Custom Operators with TIK

  • Overview of TIK and its operator programming model
  • Implementation of custom operators using the TIK DSL
  • Testing and benchmarking of operator performance

Advanced Operator Optimization using TVM

  • Introduction to TVM integration with CANN
  • Auto-tuning strategies applied to computational graphs
  • Criteria for switching between TVM and TIK

Memory Optimization Strategies

  • Management of memory layout and buffer placement
  • Methods for reducing on-chip memory usage
  • Best practices for asynchronous execution and resource reuse

Real-World Deployment and Case Analyses

  • Case study: Performance tuning for a smart city camera pipeline
  • Case study: Optimization of an autonomous vehicle inference stack
  • Guidelines for iterative profiling and continuous improvement

Requirements

  • A solid command of deep learning model architectures and training workflows
  • Hands-on experience with 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