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
Overview of CANN Optimization Capabilities
- The mechanism behind inference performance handling in CANN
- Defining optimization targets for edge and embedded AI systems
- Insights into 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 interpreting runtime metrics
- Adjusting computational graphs to achieve optimization
Profiling Tools and Performance Metrics
- Employing the CANN Profiling Tool (profiler) for detailed workload analysis
- Evaluating kernel execution times and identifying bottlenecks
- Profile memory access patterns and apply tiling strategies
Developing Custom Operators with TIK
- An overview of TIK and its operator programming model
- Building a custom operator using the TIK DSL
- Conducting tests and benchmarking operator performance
Advanced Operator Optimization with TVM
- An introduction to integrating TVM with CANN
- Applying auto-tuning strategies for computational graphs
- Determining when and how to transition between TVM and TIK
Memory Optimization Techniques
- Managing memory layouts and buffer placement effectively
- Strategies to minimize on-chip memory consumption
- Best practices for asynchronous execution and resource reuse
Real-World Deployment and Case Studies
- Case study: Performance tuning for a smart city camera pipeline
- Case study: Optimizing the inference stack for autonomous vehicles
- Guidelines for iterative profiling and continuous performance improvement
Requirements
- A solid grasp of deep learning model architectures and training workflows
- Practical experience in 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