Get in Touch
 Duration 14 hours

Course Outline

Overview of CANN Optimization Capabilities

  • How inference performance is managed within the CANN ecosystem
  • Setting optimization targets for edge and embedded AI systems
  • Gaining insight into AI Core utilization and memory allocation strategies

Utilizing Graph Engine for Analysis

  • An introduction to the Graph Engine and its execution pipeline
  • Visualizing operator graphs alongside runtime metrics
  • Adjusting computational graphs to achieve optimal performance

Profiling Tools and Performance Metrics

  • Employing the CANN Profiling Tool (profiler) for in-depth workload analysis
  • Evaluating kernel execution times to identify bottlenecks
  • Profiling memory access patterns and optimizing tiling strategies

Developing Custom Operators with TIK

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

Advanced Operator Optimization with TVM

  • Understanding the integration of TVM with CANN
  • Applying auto-tuning strategies to computational graphs
  • Determining when to transition between TVM and TIK implementations

Memory Optimization Techniques

  • Optimizing memory layouts and buffer placement
  • Implementing techniques to minimize on-chip memory usage
  • Adopting best practices for asynchronous execution and resource 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 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
  • Specialists in inference optimization
  • Developers focused on edge AI or real-time systems

Number of participants


Price per participant

Upcoming Courses

Related Categories