Intermediate representation method and device for neural network model calculation

A neural network model and intermediate representation technology, applied in the field of deep learning, can solve problems such as complex parallelism, complicated use and implementation of distributed deep learning, and inflexible and effective deep learning operating system, etc., to achieve flexible deployment and iterative optimization The effect of deployment and easy construction

Active Publication Date: 2022-03-15
ZHEJIANG LAB
View PDF12 Cites 16 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 th...

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

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

[0072] The embodiment of the present invention provides an intermediate representation method and device for neural network model calculation, provides a method capable of obtaining and analyzing the topology structure of the input deep learning neural network model, and can convert the topology of the neural network calculation oriented A method and device for generating an intermediate repre...

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 neural network model calculation-oriented intermediate representation method and device. The method comprises the following steps of S1, analyzing an input model file to obtain topological structure information of a neural network; s2, constructing a logic calculation graph; s21, deducing physical layout information of each operator in the logic calculation graph; s22, deriving the element attribute of each operator in the logic calculation graph; s23, deducing description information of an input and output logic tensor of each operator in the logic calculation graph; s3, constructing a physical calculation graph; s31, generating a physical calculation graph; according to the meta-attribute-based intermediate representation for neural network model calculation disclosed by the invention, data parallelism, model parallelism and pipeline parallelism are originally supported from an operator level. According to the neural network model calculation-oriented intermediate representation method and device disclosed by the invention, the calculation expressions are taken as basic units, the tensors are taken as flowing data in the calculation graph formed by the whole calculation expressions, and the calculation process of the neural network model is realized in a composition manner.

Description

technical field [0001] The invention relates to the field of deep learning, in particular to an intermediate representation 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,...

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/08G06N3/063G06F9/50
CPCG06N3/08G06N3/063G06F9/5016G06N3/105G06N3/045G06N3/098G06N3/04G06N3/082
Inventor 王宏升华炜郏维强鲍虎军
Owner ZHEJIANG LAB
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