Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Graph execution method and device for neural network model calculation

A neural network model and execution method technology, applied in the field of deep learning, can solve the problems of complex parallelism, complex use and implementation of distributed deep learning, inflexible and effective deep learning operating system, etc., to achieve the effect of convenient training

Active Publication Date: 2022-03-25
ZHEJIANG LAB
View PDF9 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, existing deep learning operating systems may not be flexible and effective when targeting new distributed devices for large-scale deep neural network model training, because distributed devices require more complex parallelism than single devices.
In addition, the distributed training interface that has been developed strengthens the parallelism of the models of the existing deep learning framework, but complicates the use and implementation of distributed deep learning

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
  • Graph execution method and device for neural network model calculation
  • Graph execution method and device for neural network model calculation
  • Graph execution method and device for neural network model calculation

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0081]In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below with reference to the accompanying drawings and embodiments. However, it should be understood that the specific embodiments described here are only used to explain the present invention, and are not intended to limit the scope of the present invention. Also, in the following description, descriptions of well-known structures and techniques are omitted to avoid unnecessarily obscuring the concept of the present invention.

[0082] Such as figure 1 As shown, the embodiment of the present invention provides a graph execution method oriented to neural network model calculation. According to the physical calculation graph compiled and generated by the deep learning framework, a task executive on the machine is created, and each task executive is allocated by design. The scheme of multiple free memory blocks enables t...

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 graph execution method and device for neural network model calculation, and the method comprises the steps: creating task execution bodies on a local machine according to a physical calculation graph generated through the compiling of a deep learning framework, and distributing a plurality of free memory blocks for each task execution body through design. According to the graph execution method and device for neural network model calculation, the execution body of the operator kernel function is used as a basic unit, the tensor of production and consumption is used as flowing data in the whole calculation graph, and therefore the whole calculation graph can participate in deep learning training tasks of different batches of data at the same time in a pipeline parallel mode. And the execution body realizes the training process of the model in a pipeline parallel mode. In a distributed application scene of a large-scale deep neural network, the use threshold of a user is relatively low, and the model can learn internal association of a large amount of data flowing into the neural network in batches, so that intelligent perception and judgment capability in a corresponding scene is obtained.

Description

technical field [0001] The invention relates to the technical field of deep learning, in particular to a graph execution method and device for neural network model calculation. Background technique [0002] With the rapid development of artificial intelligence industrial applications, the demand for large models in practical application scenarios has become more and more urgent. Most of the existing deep learning frameworks provide efficient interfaces for the expression of neural network model computation and the training of neural network models on a single device. However, existing deep learning operating systems may not be flexible and effective when targeting new distributed devices for large-scale deep neural network model training, because distributed devices require more complex parallelism than single devices. In addition, the distributed training interface that has been developed strengthens the parallelism of the models of the existing deep learning framework, bu...

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 Applications(China)
IPC IPC(8): G06F9/50G06F9/54G06N3/04G06N3/08
CPCG06F9/5038G06F9/542G06F9/546G06N3/04G06N3/08G06F2209/547G06F2209/548Y02D10/00G06N3/045G06N3/098G06N3/063
Inventor 王宏升鲍虎军陈光曾令仿程宏才李勇朱健郑焕波
Owner ZHEJIANG LAB
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products