You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/machine-learning/how-to-manage-inputs-outputs-pipeline.md
+7-2Lines changed: 7 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -79,7 +79,7 @@ The following screenshots provide an example of how inputs and outputs are displ
79
79
80
80
In the pipeline job page of studio, the asset type inputs/output of a component is shown as a small circle in the corresponding component, known as the Input/Output port. These ports represent the data flow in a pipeline.
81
81
82
-
The pipeline level input/output is displayed as a purple box for easy identification.
82
+
The pipeline level output is displayed as a purple box for easy identification.
83
83
84
84
85
85
:::image type="content" source="./media/how-to-manage-pipeline-input-output/input-output-port.png" lightbox="./media/how-to-manage-pipeline-input-output/input-output-port.png" alt-text="Screenshot highlighting the pipeline input and output port.":::
@@ -203,7 +203,12 @@ You can promote a component's input to pipeline level input in designer authorin
203
203
204
204
By default, all inputs are required and must be assigned a value (or a default value) each time you submit a pipeline job. However, there may be instances where you need optional inputs. In such cases, you have the flexibility to not assign a value to the input when submitting a pipeline job.
205
205
206
-
For example, if you have an optional input with data/model type and you don't assign a value when submitting the pipeline job, there will be a component in the pipeline that doesn't have upstream data dependency (the input port isn't connected to any component or data/model node). The pipeline service invokes this component directly rather than waiting upstream dependency to be ready.
206
+
Optional input can be useful in below two scenarios:
207
+
208
+
- If you have an optional data/model type input and do not assign a value to it when submitting the pipeline job, there will be a component in the pipeline that lacks a preceding data dependency. In other words, the input port isn't linked to any component or data/model node. This causes the pipeline service to invoke this component directly, instead of waiting for the preceding dependency to be ready.
209
+
- Below screenshot provides a clear example of the second scenario. If you set `continue_on_step_failure = True` for the pipelin and have a second node (node2) that uses the output from the first node (node1) as an optional input, node2 will still be executed even if node1 fails. However, if node2 is using required input from node1, it will not be executed if node1 fails.
210
+
211
+
:::image type="content" source="./media/how-to-manage-pipeline-input-output/continue_on_failure_optinal_input.png" lightbox="./media/how-to-manage-pipeline-input-output/continue_on_failure_optinal_input.png" alt-text="Screenshot to show the orchestration logic of optinal input and continue on failure.":::
207
212
208
213
Following are examples about how to define optional input.
0 commit comments