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 the problems of complicated data processing, data errors, labor, etc., to reduce maintenance costs and the possibility of errors, and increase labor costs.

Active Publication Date: 2022-04-15
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 present disclosure relates to a multi-stream parallel synchronous deployment system and method thereof. The system includes: an initial calculation graph acquisition component, which is used to acquire an initial calculation graph including multiple task flows belonging to a calculation task, each task flow includes a plurality of sequentially executed operation logic nodes, each operation logic node contains Task flow mark; node relationship analysis component, used to traverse all tensors to be targeted in the calculation graph, and determine the task flow to which the first node for the first tensor and the second node for the first tensor belong Whether it is the same; and the synchronous node deployment component is used to deploy the marker 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 a second task flow different from the first task flow The first synchronization dependent node of the first task flow marks the first synchronization dependent node with the second node, thereby 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
Patent Type & Authority Patents(China)
IPC IPC(8): G06F8/60
CPCG06F8/60
Inventor 李新奇张建浩袁进辉
Owner BEIJING ONEFLOW TECH CO LTD