Thank you for sending your enquiry! One of our team members will contact you shortly.
Thank you for sending your booking! One of our team members will contact you shortly.
Duration 14 hours
Course Outline
Foundations of CANN Optimization
- Mechanisms for handling inference performance within the CANN environment.
- Defining optimization objectives for edge and embedded AI systems.
- Insights into AI Core utilization and memory allocation strategies.
Leveraging the Graph Engine for Insight
- An introduction to the Graph Engine and its execution pipeline.
- Methods for visualizing operator graphs alongside runtime metrics.
- Strategies for modifying computational graphs to achieve optimization goals.
Performance Metrics and Profiling Utilities
- Applying the CANN Profiling Tool (profiler) for comprehensive workload analysis.
- Evaluating kernel execution times and identifying potential bottlenecks.
- Profiling memory access patterns and implementing tiling strategies.
Developing Custom Operators with TIK
- An overview of TIK and its operator programming model.
- Step-by-step implementation of a custom operator using the TIK DSL.
- Procedures for testing and benchmarking operator efficiency.
Advanced Operator Refinement with TVM
- Integrating TVM with the CANN ecosystem.
- Employing auto-tuning strategies to optimize computational graphs.
- Determining the optimal scenarios for switching between TVM and TIK.
Techniques for Memory Optimization
- Effective management of memory layouts and buffer placement.
- Strategies to minimize on-chip memory usage.
- Best practices for asynchronous execution and resource reuse.
Practical Deployment Scenarios and Case Studies
- Case study: Performance tuning for a smart city camera surveillance pipeline.
- Case study: Optimizing the inference stack for autonomous vehicles.
- Guidelines for maintaining iterative profiling and continuous improvement cycles.
Requirements
- A solid grasp of deep learning model architectures and associated training workflows.
- Practical experience in deploying models using CANN, TensorFlow, or PyTorch.
- Proficiency in Linux CLI, shell scripting, and Python programming.
Target Audience
- AI performance engineers.
- Specialists focused on inference optimization.
- Developers involved in edge AI applications or real-time system environments.