Get in Touch

Course Outline

Performance Concepts and Metrics

  • Latency, throughput, power consumption, and resource utilization
  • Distinguishing between system-level and model-level bottlenecks
  • Profiling approaches for inference versus training

Profiling on Huawei Ascend

  • Utilizing CANN Profiler and MindInsight
  • Analyzing kernel and operator diagnostics
  • Understanding offload patterns and memory mapping

Profiling on Biren GPU

  • Leveraging Biren SDK for performance monitoring
  • Optimizing kernel fusion, memory alignment, and execution queues
  • Profiling with awareness of power and temperature metrics

Profiling on Cambricon MLU

  • Using BANGPy and Neuware performance utilities
  • Gaining kernel-level visibility and interpreting logs
  • Integrating the MLU profiler with deployment frameworks

Graph and Model-Level Optimization

  • Strategies for graph pruning and quantization
  • Operator fusion and restructuring computational graphs
  • Standardizing input sizes and tuning batch parameters

Memory and Kernel Optimization

  • Enhancing memory layout and reuse efficiency
  • Managing buffers effectively across different chipsets
  • Applying platform-specific kernel tuning techniques

Cross-Platform Best Practices

  • Ensuring performance portability through abstraction strategies
  • Developing shared tuning pipelines for multi-chip setups
  • Case Study: Tuning an object detection model across Ascend, Biren, and MLU

Summary and Next Steps

Requirements

  • Hands-on experience with AI model training or deployment workflows
  • Knowledge of GPU/MLU computing principles and model optimization techniques
  • Foundational understanding of performance profiling tools and metrics

Audience

  • Performance engineers
  • Machine learning infrastructure teams
  • AI system architects
 21 Hours

Upcoming Courses

Related Categories