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
Introduction to CANN Optimization Capabilities
- The role of CANN in managing inference performance
- Setting optimization targets for edge and embedded AI systems
- Gaining insight into AI Core utilization and memory allocation strategies
Leveraging the Graph Engine for Analysis
- An introduction to the Graph Engine and its execution pipeline
- Visualizing operator graphs alongside runtime metrics
- Refining computational graphs to achieve optimization goals
Profiling Tools and Key Performance Metrics
- Employing the CANN Profiling Tool (profiler) for comprehensive workload analysis
- Examining kernel execution times to identify bottlenecks
- Profiling memory access patterns and applying tiling strategies
Developing Custom Operators with TIK
- An overview of TIK and its operator programming model
- Implementing custom operators using the TIK DSL
- Conducting tests and benchmarking operator performance
Advanced Operator Optimization via TVM
- Understanding TVM integration within the CANN ecosystem
- Applying auto-tuning strategies to computational graphs
- Determining the appropriate timing and methods for switching between TVM and TIK
Memory Optimization Techniques
- Managing memory layouts and buffer placement effectively
- Implementing techniques to lower on-chip memory consumption
- Adopting best practices for asynchronous execution and resource reuse
Real-World Deployment and Case Studies
- Case study: Tuning performance for a smart city camera pipeline
- Case study: Optimizing the inference stack for autonomous vehicles
- Establishing guidelines for iterative profiling and continuous improvement
Requirements
- A solid grasp of deep learning model architectures and training workflows
- Practical experience deploying models 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