一种深度学习模型的流水线并行训练方法及系统
By employing a weight buffering strategy and a prefix sum partitioning algorithm, the problems of weight version inconsistency and obsolescence in pipelined parallel training are solved, thereby improving model training accuracy and GPU utilization, and optimizing training speed.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- SHANDONG COMP SCI CENTNAT SUPERCOMP CENT IN JINAN
- Filing Date
- 2022-12-13
- Publication Date
- 2026-07-17
AI Technical Summary
Existing pipelined parallel training methods have shortcomings in terms of inconsistent weight versions and obsolescence, leading to reduced model training accuracy and wasted resources.
We employ a weight buffering strategy and a prefix sum partitioning algorithm to ensure that the same version of parameters is used for the same mini-batch of data during forward and backward propagation. We also update weights through a hybrid synchronous and asynchronous approach, combined with memory estimation and partitioning optimization, to improve GPU utilization and training efficiency.
It improves model training accuracy, saves computing resources (memory), optimizes time complexity, maximizes GPU utilization efficiency, and shortens training time.
Smart Images

Figure CN116185604B_ABST