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

A 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-06-17
ZHEJIANG LAB
View PDF0 Cites 0 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
  • A dynamic graph execution method and device for neural network calculation
  • A dynamic graph execution method and device for neural network calculation
  • A 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 objectives, technical solutions and advantages of the present invention more clear, the present invention will be further described in detail below through the accompanying drawings and embodiments. However, it should be understood that the specific embodiments described herein are only used to explain the present invention, and not 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 concepts of the present invention.

[0073] The embodiment of the present invention designs an execution engine, and the execution engine mainly involves the program running phase in the operating system working process, 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 the dynamic graph execution for neural network computing. Among the...

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, comprising the following steps: S1: constructing and distributing operators and tensors; S2: operator interpreter deriving the operator execution process; S3: operator The interpreter constructs the instructions of the runtime virtual machine; S4: the operator interpreter sends instructions to the runtime virtual machine; S5: the virtual machine schedules instructions; S6: the virtual machine releases the executed instructions. The present invention provides a dynamic graph execution method and device for neural network computing. By abstracting the runtime into a virtual machine, the virtual machine obtains the subgraph scheduling and execution of each step built by the user through the interpreter in real time. Each subgraph not only meets the needs of users for real-time debugging, but also can be locally tuned to obtain the optimal local model. It meets the needs of algorithm researchers to instantly verify the correctness of the algorithm and the local performance of the model in the process of developing the model.

Description

technical field [0001] The present invention relates to the field of computer systems based on specific computing models, in particular to a dynamic graph execution method and device for neural network computing. Background technique [0002] With the rapid development of the industrial application of artificial intelligence, the dynamic graph computing method for deep neural networks is still a hot issue explored by deep learning framework researchers in the process of developing algorithm models for researchers and engineering users. Most of the existing graph computing technologies perform runtime computing tasks based on an entire static graph, so the algorithm model must be completely 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 subgraphs of the model, nor can they meet the needs of real-time adjustment of the model...

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/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