Performance Optimization

View Source On Gitee

MindSpore provides a variety of performance optimization methods, users can use them to improve the performance of training and inference according to the actual situation.

Optimization Stage

Optimization Method

Supported

Training

Distributed Training

Ascend, GPU

Mixed Precision

Ascend, GPU

Graph Kernel Fusion

Ascend, GPU

Gradient Accumulation

GPU

Inference

Quantization After Training

Lite