Get in Touch
 Duration 14 hours

Course Outline

Overview of CANN Optimization Capabilities

  • Managing inference performance within the CANN ecosystem
  • Defining optimization targets for edge and embedded AI systems
  • Comprehending AI Core utilization and memory allocation strategies

Leveraging the Graph Engine for Analysis

  • An introduction to the Graph Engine and its execution pipeline
  • Visualizing operator graphs alongside runtime metrics
  • Refining computational graphs to achieve optimization goals

Profiling Tools and Performance Metrics

  • Employing the CANN Profiling Tool for comprehensive workload analysis
  • Evaluating kernel execution times and identifying bottlenecks
  • Profile memory access patterns and apply effective tiling strategies

Developing Custom Operators with TIK

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

Advanced Operator Optimization with TVM

  • Introduction to integrating TVM with CANN
  • Applying auto-tuning strategies to computational graphs
  • Determining when and how to transition between TVM and TIK

Memory Optimization Techniques

  • Controlling memory layouts and buffer placement
  • Strategies to minimize on-chip memory usage
  • 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
  • Establishing guidelines for iterative profiling and continuous improvement

Requirements

  • A solid grasp of deep learning model architectures and training processes
  • Hands-on experience deploying models with CANN, TensorFlow, or PyTorch
  • Proficiency in the Linux CLI, shell scripting, and Python programming

Target Audience

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

Number of participants


Price per participant (excl. VAT)

Upcoming Courses

Related Categories