Method and apparatus for training deep learning model

A deep learning and learning model technology, applied in the field of training deep learning models, can solve the problem of failing to make full use of heterogeneous equipment, and achieve the effect of improving throughput

Active Publication Date: 2022-03-08
BEIJING BAIDU NETCOM SCI & TECH CO LTD
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, this solution does not make full use of heterogeneous devices, that is, all data streams can only run on a single type of device, let alone support the ratio of computing resources of different devices

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and apparatus for training deep learning model
  • Method and apparatus for training deep learning model
  • Method and apparatus for training deep learning model

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0029] The present disclosure will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain related inventions, rather than to limit the invention. It should also be noted that, for the convenience of description, only the parts related to the related invention are shown in the drawings.

[0030] It should be noted that, in the case of no conflict, the embodiments in the present disclosure and the features in the embodiments can be combined with each other. The present disclosure will be described in detail below with reference to the accompanying drawings and embodiments.

[0031] figure 1 An exemplary system architecture 100 is shown to which embodiments of the method for training a deep learning model or the apparatus for training a deep learning model of the present disclosure can be applied.

[0032] like figure 1 As shown, the syste...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

This disclosure embodiment disclosed methods and devices for training deep learning models.A specific implementation method of this method includes: the model description information and configuration information of the deep learning model; the model description information is divided into at least two sections according to the cut points variable in the configuration information, and the model description information is loaded to the corresponding resources to the corresponding resourcesRun; enter a batch of training samples to enter the first section of the model to describe the resources corresponding to the information and start training and use the context information obtained as the input of resources corresponding to the resources corresponding to the information;Corresponding resource operation results; if you meet the training conditions of training, the deep learning model of the output training is completed; otherwise, continue to obtain the next batch of training samples to perform the above training steps until the training complete conditions are met.This implementation method realizes the free mix of heterogeneous equipment, gives full play to the computing capabilities of different computing devices, and improves training speed.

Description

technical field [0001] Embodiments of the present disclosure relate to the field of computer technology, and in particular to methods and devices for training deep learning models. Background technique [0002] With the development of current deep learning models towards deeper levels, wider representations, and more complex structures, GPUs (Graphics Processing Units) with high-efficiency computing power have become indispensable computing resources in this field. Common parallel schemes are divided into two types: model parallelism and data parallelism. [0003] The technical solution of model parallelism distributes all model parameters to different devices to perform calculations, and each device maintains part of the parameters. Since the calculation of different devices depends on the computing context of the previous device, in order to improve the utilization of computing devices (such as GPU), the model parallel pipeline splits a large batch of data into multiple s...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Patents(China)
IPC IPC(8): G06N3/04G06K9/62
CPCG06N3/045G06F18/214G06N3/084G06N3/105G06N3/063G06F9/5044G06F9/5066G06F2209/509G06N3/10
Inventor 何天健刘毅董大祥马艳军于佃海
Owner BEIJING BAIDU NETCOM SCI & TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products