Model processing method and device, program product and equipment

By accumulating and synchronizing gradients on distributed computing nodes, the problem of high communication overhead in large -scale model training is solved, and the training performance is improved.

CN119358643APending Publication Date: 2025-01-24CHINA TELECOM CORP LTD TECHNOLOGY INNOVATION CENTER +1

Patent Information

Application Number
CN202411578901.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-06
Publication Date
2025-01-24

Smart Images

  • Figure CN119358643A_ABST
    Figure CN119358643A_ABST
Patent Text Reader

Abstract

The invention provides a model processing method and device, a program product and equipment, and relates to the technical field of computers. The model processing method comprises the following steps: dividing a training data set for training a first model into multiple batches of training data, and distributing the multiple batches of training data to each distributed computing node, so that each distributed computing node accumulates multiple batches of gradients based on the multiple batches of training data, and determining a local average gradient based on the accumulated gradients of the plurality of batches; and synchronizing the local average gradient of each distributed computing node among the distributed computing nodes to enable each distributed computing node to determine a global average gradient based on the local average gradient of each distributed computing node, and updating model parameters of the first model based on the global average gradient. According to the invention, efficient gradient synchronization between the nodes is realized, and the communication frequency and overhead can be reduced.
Need to check novelty before this filing date? Find Prior Art

Citation Information

Patent Citations

  • Distributed training method and device for deep learning model, and computing equipment

    CN113642734A

  • Distributed deep learning method based on communication frequency optimization and error compensation mechanism

    CN116863235A

  • Soft synchronization distributed deep learning parameter updating method and system based on delay perception

    CN118446275A

  • Distributed training micro-batch data determination method and device, equipment and medium

    CN118709752A

Cited By

  • Distributed large model

    CN121212401A