Unlock instant, AI-driven research and patent intelligence for your innovation.

GPU-based deep neural network model training method and apparatus, and computer device

A deep neural network and model training technology, applied in the computer field, can solve the problems of large GPU main memory resources and low utilization rate of GPU resources, and achieve the effect of solving waste and improving the utilization rate of GPU resources

Active Publication Date: 2020-07-28
HUNAN UNIV
View PDF12 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the above method occupies more GPU main memory resources, and there is a problem that the utilization rate of GPU resources is not high

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
  • GPU-based deep neural network model training method and apparatus, and computer device
  • GPU-based deep neural network model training method and apparatus, and computer device
  • GPU-based deep neural network model training method and apparatus, and computer device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0038]In order to make the purpose, technical solution and advantages of the present application clearer, the present application 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 the present application, and are not intended to limit the present application.

[0039] In one embodiment, such as figure 1 As shown, a GPU-based deep neural network model training method is provided. In this embodiment, the method is applied to a server as an example. It can be understood that this method can also be applied to terminals, and can also be applied to terminals and The server system is implemented through the interaction between the terminal and the server. Wherein, the terminal can be, but not limited to, various personal computers, notebook computers, smart phones, tablet computers and portable wearable devices, and the server can be r...

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 relates to a GPU-based deep neural network model training method and device, computer equipment and a storage medium. The method comprises the steps: when a deep neural network model istrained for the first time, compressing output data of all hidden layers to a GPU main memory for storage, and obtaining the compressed output data and the main memory allowance of the GPU; when the main memory margin does not reach the preset margin threshold, determining a preliminary hidden layer according to the sparse degree value of the output data and the time proportion of the compressed output data occupying the GPU main memory; when the deep neural network model is iteratively trained, according to the preliminary hidden layer, compressing output data of the preliminary hidden layerto a GPU main memory for storage to obtain a preliminary margin of the GPU main memory until the preliminary margin reaches a preset margin threshold; and when the preliminary margin reaches a presetmargin threshold, determining that the output data needs to be compressed to a final hidden layer stored in a GPU main memory, and performing training to obtain a trained deep neural network model. Byadopting the method, the GPU resource utilization rate can be improved.

Description

technical field [0001] The present application relates to the field of computer technology, in particular to a GPU-based deep neural network model training method, device, computer equipment and storage medium. Background technique [0002] With the development of the Internet and artificial intelligence technology, intelligent tasks such as image recognition, speech recognition, and natural language processing are ubiquitous in life. As one of the most effective algorithms for realizing such intelligent tasks, the neural network has received extensive attention and application in academia and industry. The training of modern deep neural network (DNN, Deep Neural Network) usually relies on GPU (Graphics Processing Unit, Graphics Processing Unit) to train complex hundreds of layers deep network. [0003] In the training process of the current deep neural network, each hidden layer will generate corresponding intermediate output data, such as the feature map matrix, where som...

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
IPC IPC(8): G06N3/04G06N3/063G06N3/08G06T1/20
CPCG06N3/063G06N3/084G06T1/20G06N3/045Y02D10/00
Inventor 李肯立陈再龙刘楚波阳王东周旭肖国庆唐卓谭光华朱宁波李克勤
Owner HUNAN UNIV