Get in Touch
 Duration 14 hours

Course Outline

Introduction to CANN Optimization Capabilities

  • How CANN manages inference performance
  • Key optimization targets for edge and embedded AI systems
  • Comprehending AI Core utilization and memory allocation

Leveraging Graph Engine for Analysis

  • An introduction to the Graph Engine and its execution pipeline
  • Visualizing operator graphs and monitoring runtime metrics
  • Adjusting computational graphs to achieve optimization

Profiling Tools and Performance Metrics

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

Developing Custom Operators with TIK

  • An overview of TIK and its operator programming model
  • Building custom operators using the TIK DSL
  • Conducting tests and benchmarking operator performance

Advanced Operator Optimization using TVM

  • Foundations of TVM integration within CANN
  • Applying auto-tuning strategies to computational graphs
  • Determining when and how to transition between TVM and TIK

Memory Optimization Strategies

  • Controlling memory layout and buffer positioning
  • Methods to minimize on-chip memory usage
  • Best practices for asynchronous execution and resource reuse

Real-World Deployments and Case Studies

  • Case study: tuning performance for smart city camera pipelines
  • Case study: refining the inference stack for autonomous vehicles
  • Establishing guidelines for iterative profiling and continuous enhancement

Requirements

  • A solid grasp of deep learning model architectures and training workflows
  • Hands-on experience deploying models using CANN, TensorFlow, or PyTorch
  • Proficiency in 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

Upcoming Courses

Related Categories