Multi-node distributed training method and apparatus, device and readable medium
AssigneeInspur Suzhou Intelligent Technology Co., Ltd.
InventorsLianshui ZHAO, Shaohua WU
Life of this patent
Estimating the term…
Loading patent…
AssigneeInspur Suzhou Intelligent Technology Co., Ltd.
InventorsLianshui ZHAO, Shaohua WU
Estimating the term…
The present application discloses a method for multi-node distributed training. The method includes: in each of nodes, establishing an independent training calculation chart, covering all of GPUs and CPUs in each of the nodes by using the training calculation chart, and adding the CPUs of each of the nodes into a deep-learning-model distributed-training frame; copying initial training parameters in GPUs of a host node into CPUs of the host node, and sending the initial training parameters in the CPUs of the host node to the CPUs of other nodes; copying the initial training parameters received by the CPUs of the other nodes into GPUs of the respective nodes, performing a protocolling operation to a gradient by using the training calculation chart, and copying a first-level gradient obtained after the protocolling into CPUs of the respective nodes; and performing protocolling again to the first-level gradient in the CPUs of the respective nodes, and copying a second-level gradient obtained after the protocolling into the GPUs of the respective nodes. The present application further discloses the corresponding apparatus, computer device and readable storage medium. The present application, by combining the advantages of the two training modes of Horovod and Replicated, increases the training efficiency.
A method for multi-node distributed training, wherein the method comprises:
(canceled)
(canceled)
(canceled)
A computer device, wherein the computer device comprises:
A computer-readable storage medium, the computer-readable storage medium storing a computer program, wherein the computer program, when executed by a processor, causes the processor to:
Dependencies are inferred from the claim text.