Calculation graph processing method and device, readable medium and electronic equipment

A processing method and a technology for computing graphs, applied in the field of data processing, can solve problems such as the extension of neural network model training time, achieve the effect of shortening model training time and improving model training efficiency

Pending Publication Date: 2022-08-02
BEIJING BYTEDANCE NETWORK TECH CO LTD +1
View PDF0 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, with the further deepening of the application of neural networks, the parameters and calculations of the neural network model are also increasing, and the training time of the neural network model is also prolonged. Therefore, how to efficiently train the neural network model has become an urgent problem to be solved. technical problem

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
  • Calculation graph processing method and device, readable medium and electronic equipment
  • Calculation graph processing method and device, readable medium and electronic equipment
  • Calculation graph processing method and device, readable medium and electronic equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0031] Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While certain embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be construed as limited to the embodiments set forth herein, but rather are provided for the purpose of A more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are only for exemplary purposes, and are not intended to limit the protection scope of the present disclosure.

[0032] It should be understood that the various steps described in the method embodiments of the present disclosure may be performed in different orders and / or in parallel. Furthermore, method embodiments may include additional steps and / or omit performing the illustrated steps. The scope of the present discl...

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 relates to a computational graph processing method and device, a readable medium and electronic equipment, and the method comprises the steps: obtaining a target computational graph corresponding to a to-be-trained machine learning model, and carrying out the node fusion processing of the target computational graph, so as to obtain a fusion computational graph comprising a plurality of sub-graphs; according to multiple preset segmentation modes of each operator node, the operator nodes in the fusion calculation graph are effectively segmented to obtain multiple segmentation data flow graphs corresponding to the fusion calculation graph, and the segmentation data flow graphs are target calculation graphs with the effective segmentation modes; and then, according to the segmented data flow diagram, searching a parallel configuration strategy corresponding to the target calculation diagram, so that a model training strategy of mixed parallel of pipeline parallel, data parallel and model parallel can be automatically and efficiently generated, the model training efficiency of a machine learning model can be effectively improved, and the time for model training can be shortened.

Description

technical field [0001] The present disclosure relates to the field of data processing, and in particular, to a computing graph processing method, apparatus, readable medium, and electronic device. Background technique [0002] As a powerful tool for task automation, machine learning can automate tasks in various types of applications. Therefore, in recent years, machine learning, especially deep neural networks, have been widely used in various challenging tasks. Such as computer vision, natural language processing, speech recognition, etc., and have made major breakthroughs. However, with the further deepening of the application of neural network, the parameters and calculation amount of the neural network model are also increasing, and the training time of the neural network model is also prolonged. technical problem. SUMMARY OF THE INVENTION [0003] This Summary is provided to introduce concepts in a simplified form that are described in detail in the Detailed Descri...

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): G06N3/04G06N3/08
CPCG06N3/08G06N3/045
Inventor 彭杨华荣懿朱亦博
Owner BEIJING BYTEDANCE NETWORK TECH CO LTD
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