Data processing method and device, storage medium and electronic equipment

A data processing and data acquisition technology, which is applied in the computer field, can solve problems such as incompatibility with lamb optimizer model training, achieve the effect of improving video memory saving rate, improving pre-training efficiency, and solving video memory saving

Active Publication Date: 2021-10-15
TENCENT TECH (SHENZHEN) CO LTD
View PDF7 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Embodiments of the present invention provide a data processing method and device, a storage medium, and electronic equipment to at least solve the technical problem that the zero technology cannot be compatible with the lamb optimizer for model training to save video memory

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
  • Data processing method and device, storage medium and electronic equipment
  • Data processing method and device, storage medium and electronic equipment
  • Data processing method and device, storage medium and electronic equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0022] In order to enable those skilled in the art to better understand the solutions of the present invention, the following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only It is an embodiment of a part of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.

[0023] It should be noted that the terms "first" and "second" in the description and claims of the present invention and the above drawings are used to distinguish similar objects, but not necessarily used to describe a specific sequence or sequence. It is to be understood that the data so used are interchangeable under appropriate circums...

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

The invention discloses a data processing method and device, a storage medium and electronic equipment. Wherein, the method includes: obtaining a data processing request, wherein the data processing request is used to request to update the weights of the network parameters in the deep learning network; responding to the data processing request, determining the matrix structure corresponding to the weight matrix where the weights of the network parameters are respectively located Information; according to the matrix structure information, the weight matrix is ​​assigned to each data processing process, wherein, the object weight matrix assigned to each data processing process will reach the uniform distribution condition; each data processing process determines the reference based on the corresponding object weight matrix In the case of the gradient value, the object weight matrix allocated in the data processing process is updated according to the reference gradient value. The invention solves the technical problem that the zero technology cannot be compatible with the lamb optimizer for model training to save video memory.

Description

technical field [0001] The present invention relates to the field of computers, in particular to a data processing method and device, a storage medium and electronic equipment. Background technique [0002] With the increase in the complexity of deep learning models and the size of datasets, graphics processing unit (GPU) memory has always been considered to be the biggest bottleneck for training deep learning models, which means that large-scale training often encounters model parameters. If there are too many and cannot be accommodated by the video memory, the video memory of the GPU card is very limited, which is generally much lower than the system memory. Therefore, when the parameters of the deep learning model are large, the deep learning model may not be able to be trained in GPU mode. At present, the implementation of zero technology is usually used to completely "flatten" the split of the optimizer state and gradient of the deep learning model (that is, reduce the ...

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): G06F9/50
CPCG06F9/5011G06F2209/5018
Inventor 弓静
Owner TENCENT TECH (SHENZHEN) 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