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

Dynamic graph execution method and device for neural network calculation

An execution method and neural network technology, applied in the field of computer systems, can solve problems such as the inability to satisfy real-time verification of local subgraphs of models and the inability to satisfy real-time adjustment of model structure, and achieve the effect of real-time verification of algorithm correctness and model local performance

Active Publication Date: 2022-05-10
ZHEJIANG LAB
View PDF15 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The disadvantage of this is that in the process of building the model, researchers cannot meet the needs of real-time verification of the local subgraph of the model, and can not meet the needs of real-time adjustment of the model structure. In order to solve the real-time debugging of the dynamic graph calculated by the neural network The present invention discloses a dynamic graph execution method and device for neural network calculation, and provides a dynamic graph execution method and device for neural network model calculation in a deep learning training system

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0072] 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.

[0073] The embodiment of the present invention designs an execution engine, and the execution engine is mainly related to the program running stage in the working process of the operating system, that is, the runtime. In this embodiment, the execution engine is named as a virtual machine.

[0074] like figure 1 As shown, the architecture diagram of a dynamic graph execution for neural network...

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 dynamic graph execution method and device for neural network calculation. The method comprises the following steps: S1, constructing and distributing operators and tensors; s2, deriving an operator execution process by an operator interpreter; s3, the operator interpreter constructs an instruction of the virtual machine during operation; s4, the operator interpreter sends the instruction to the runtime virtual machine; s5, a virtual machine dispatch instruction; and S6, releasing the executed instruction by the virtual machine. According to the dynamic graph execution method and device for neural network calculation provided by the invention, the runtime is abstracted as the virtual machine, and the virtual machine obtains the sub-graph scheduling of each step established by the user through the interpreter in real time and issues and executes each sub-graph, so that the instant debugging requirement of the user is met, local adjustment and optimization can be realized, and the user experience is improved. And obtaining an optimal local model. And the requirements of algorithm researchers for instantly verifying the algorithm correctness and the local performance of the model in the model development process are met.

Description

technical field [0001] The invention relates to the field of computer systems based on a specific calculation model, in particular to a dynamic graph execution method and device for neural network calculation. Background technique [0002] With the rapid development of artificial intelligence industrial applications, the dynamic graph calculation method for deep neural networks is still a hot issue explored by deep learning framework researchers during the development of algorithm models by researchers and engineering users. Most of the existing graph computing technologies perform runtime computing tasks based on a whole static graph, so the algorithm model must be fully constructed before debugging and tuning can be performed. The disadvantage of this is that in the process of building the model, researchers cannot meet the needs of real-time verification of the local subgraph of the model, and can not meet the needs of real-time adjustment of the model structure. In order...

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/455G06F9/48G06N3/02
CPCG06F9/45558G06F9/4881G06N3/02G06F2009/4557G06N3/063G06N3/10G06N3/08G06N7/01G06N3/04
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