Unlock instant, AI-driven research and patent intelligence for your innovation.

Synchronous deployment system and method for multi-stream parallelism

A technology for deploying systems and synchronizing nodes, applied in software deployment and other directions, can solve problems such as data errors, complicated data processing processes, and uncontrollable tensor life cycles, so as to increase labor costs, reduce maintenance costs and the possibility of errors Effect

Active Publication Date: 2022-02-11
BEIJING ONEFLOW TECH CO LTD
View PDF10 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Due to two Kernels, S1-n1 and S2-n2, in two different task flows S1 and S2, the execution of S2-n2 may be earlier than S1-n1, in this case, S2-n2 reads data may be wrong
On the other hand, for Kernels that are logically undependent on multiple parallel task flows, it is possible that the tensor life cycle between different Kernels is uncontrollable, resulting in memory data errors
For example, three Kernels, such as S3-n3, S2-n2, and S1-n2, are in different task flows S3, S2, and S1 respectively. S3-n3 and S2-n2 need to read the tensor T2 in the memory M, In order to achieve synchronization, the conventional method will unconditionally instruct S3-n3 and S2-n2 to wait for S1-n2 or to synchronize with S1-n2. These synchronizations are adjusted manually, which is very labor-intensive
Moreover, when there are multiple parallel task flows that need to read the tensor T2 in the memory M, there will be multiple waiting or synchronization processes, resulting in redundant synchronization operations, resulting in complicated data processing

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
  • Synchronous deployment system and method for multi-stream parallelism
  • Synchronous deployment system and method for multi-stream parallelism

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0021] The present invention will be described in further detail below in conjunction with the embodiments and accompanying drawings, so that those skilled in the art can implement it with reference to the description.

[0022] Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numerals in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the following exemplary examples do not represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatuses and methods consistent with aspects of the present disclosure as recited in the appended claims.

[0023] The terminology used in the present disclosure is for the purpose of describing particular embodiments only and is not intended to limit the present disclosure....

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 synchronous deployment system and method for multi-stream parallel parallelism The system comprises: an initial calculation graph obtaining component used for obtaining an initial calculation graph comprising a plurality of task flows belonging to a calculation task, each task flow comprises a plurality of operation logic nodes which are executed in sequence, and each operation logic node comprises a task flow mark which the operation logic node belongs to; a node relation analysis component used for traversing all tensors to be targeted in the computational graph, and judging whether task flows to which a first node targeted to a first tensor and a second node targeted to the first tensor belong for the first time are the same or not; and a synchronization node deployment component used for deploying a first synchronization dependence node marking the first task flow before the second node when the node relationship analysis component determines that the first node belongs to the first task flow and the second node belongs to the second task flow different from the first task flow, marking the second node with the first synchronization dependence node, and determining that the operation of the first node is prior to the operation of the second node through the first synchronization dependent node.

Description

technical field [0001] The present disclosure relates to a data processing technique. More specifically, the present disclosure relates to a multi-stream parallel synchronous deployment system and method thereof. Background technique [0002] Now that deep learning is popular, in order to increase the speed of data processing, it is usually necessary to divide a task into multiple slice tasks to form multiple task flows, so that the task flows can be processed in parallel, thereby saving data processing time or speeding up tasks. Processing efficiency, this data processing method is multi-stream parallel processing. [0003] However, in the multi-stream parallel data processing method, there are often parameter exchanges between different streams and data dependencies between different streams. Therefore, if parameters are not synchronized in parallel, errors will occur when the results of each task flow are merged. This asynchrony is often caused by different task volume...

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): G06F8/60
CPCG06F8/60
Inventor 李新奇张建浩袁进辉
Owner BEIJING ONEFLOW TECH CO LTD