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

Deep learning operator automatic optimization system and method based on Shenwei processor

A deep learning and automatic optimization technology, which is applied in neural learning methods, neural architectures, biological neural network models, etc., can solve problems such as difficult transplantation, high optimization time overhead, and low optimization performance

Pending Publication Date: 2020-03-27
NAT SUPERCOMPUTING WUXI CENT
View PDF3 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] In order to solve the above technical problems, the Shenwei processor-based deep learning operator automatic optimization system and method provided by the present invention can solve the problems of low optimization performance, difficulty in transplantation, and high optimization time cost in the prior art, and is more efficient than manual optimization. Optimization technology is more efficient than automatic optimization technology, and can be transplanted to other institutions by changing assembly primitives

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
  • Deep learning operator automatic optimization system and method based on Shenwei processor
  • Deep learning operator automatic optimization system and method based on Shenwei processor
  • Deep learning operator automatic optimization system and method based on Shenwei processor

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0034] Embodiment 1 of the present invention is based on Shenwei processor (SW26010) to automatically optimize convolution (including three calculation methods of im2col method, implicit convolution and Winograd method) and full connection two calculation-intensive operators. Such as image 3 , the optimization implementation of the operator is split into two parts, the tensor assembly primitive that makes full use of the hardware characteristics and the optimization scheduling that can be automatically tuned, so as to separate the hardware-related and hardware-independent optimization strategies. The tensor assembly primitive is used as the construction unit, combined with multiple loop scheduling, to complete the calculation tasks of the convolution operator and the fully connected operator.

[0035] Based on the above discussion, as figure 1 As shown, the Shenwei processor-based deep learning operator automatic optimization system provided by Embodiment 1 of the present in...

Embodiment 2

[0041] Such as figure 2 As shown, Embodiment 2 of the present invention provides an optimization method based on the Shenwei processor-based deep learning operator automatic optimization system provided in Embodiment 1, including:

[0042] S101: Acquiring a dedicated description language to define a computing task and a description of an optimization space;

[0043] S102: Construct the optimization space according to the description of the optimization space, generate several different calculation realizations for the description and scheduling of the calculation tasks according to different optimization methods in the optimization space, and output the calculation realization expressed by the intermediate representation;

[0044] S103: Perform optimization on the intermediate representation, and output the optimized intermediate representation;

[0045] S104: Search for an optimal calculation implementation from the optimized intermediate representation;

[0046] S105: Tra...

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 provides a deep learning operator automatic optimization system based on an Shenwei processor, and the system comprises an obtaining unit which obtains the description of a special description language definition calculation task and an optimization space; a scheduling unit which constructs an optimization space according to the description of the optimization space, schedules the calculation task description according to different optimization methods in the optimization space to generate a plurality of different calculation implementations, and outputs the calculation implementations expressed by intermediate representation; an optimization unit which is used for receiving the intermediate representation, optimizing the intermediate representation and outputting the optimized intermediate representation; an optimized space searching unit which is used for searching the optimal calculation implementation from the optimized intermediate representation; and a code generation unit which is used for translating the optimal calculation implementation into codes which can be executed on the Shenwei processor. The method can solve the problems of low optimization performance, difficult transplantation and large optimization time overhead in the prior art, is more efficient than a manual optimization technology and an automatic optimization technology, and can be conveniently transplanted to other mechanisms for use.

Description

technical field [0001] The present invention relates to an algorithm optimization system and method, in particular to a Shenwei processor-based deep learning operator automatic optimization system and method. Background technique [0002] Artificial intelligence has penetrated into all aspects of work and life. Deep learning technology has made remarkable breakthroughs in image recognition, language processing, and object detection. The Sunway supercomputing platform has also built a distributed deep learning development environment. As the depth of the deep learning model deepens and the number of parameters increases, its demand for computing resources gradually increases, and it is necessary to carry out in-depth customization and optimization of the computing operators of the model. [0003] For deep learning models, especially convolutional neural network models, the main computational resource consumption lies in computationally intensive operators, including convoluti...

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/08
CPCG06N3/08G06N3/045
Inventor 杨广文高伟方佳瑞赵文来
Owner NAT SUPERCOMPUTING WUXI CENT
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