Get in Touch
 Duration 14 hours

Course Outline

Overview of CANN Optimization Capabilities

  • Examining how inference performance is managed within the CANN ecosystem.
  • Defining optimization targets for edge and embedded AI applications.
  • Analyzing AI Core utilization patterns and memory allocation strategies.

Utilizing Graph Engine for Analysis

  • Introducing the Graph Engine and its underlying execution pipeline.
  • Visualizing operator graphs and interpreting runtime metrics.
  • Modifying computational graphs to achieve optimal performance.

Profiling Tools and Performance Metrics

  • Applying the CANN Profiling Tool (profiler) for detailed workload analysis.
  • Evaluating kernel execution times to identify potential bottlenecks.
  • Profiling memory access patterns and exploring tiling strategies.

Custom Operator Development with TIK

  • Providing 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

  • Introducing TVM integration within the CANN framework.
  • Exploring auto-tuning strategies for computational graphs.
  • Determining the optimal scenarios for switching between TVM and TIK.

Memory Optimization Techniques

  • Managing memory layout and strategic buffer placement.
  • Applying techniques to minimize on-chip memory consumption.
  • Implementing 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 performance improvement.

Requirements

  • A solid grasp of deep learning model architectures and training workflows.
  • Practical 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