Get in Touch
 Duration 14 hours

Course Outline

CANN Optimization Capabilities Overview

  • Management of inference performance within CANN
  • Optimization objectives for edge and embedded AI systems
  • Insight into AI Core usage and memory allocation

Leveraging Graph Engine for Analysis

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

Performance Profiling and Metrics

  • Application of CANN Profiling Tool (profiler) for workload evaluation
  • Evaluation of kernel execution duration and bottlenecks
  • Profiling memory access patterns and tiling methods

Developing Custom Operators with TIK

  • Summary of TIK and its operator programming model
  • Building custom operators using the TIK DSL
  • Testing and benchmarking operator efficiency

Advanced Operator Optimization with TVM

  • Introduction to TVM integration with CANN
  • Automated tuning strategies for computational graphs
  • Criteria for choosing between TVM and TIK

Memory Optimization Strategies

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

Practical 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 ongoing enhancement

Requirements

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

Target Audience

  • AI performance engineers
  • Experts in inference optimization
  • Developers specializing in edge AI or real-time systems

Number of participants


Price per participant

Upcoming Courses

Related Categories