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
@@ -45,7 +45,7 @@ Primitive type output isn't supported.
45
45
46
46
### Example inputs and outputs
47
47
48
-
These examples are from the [NYC Taxi Data Regression](https://github.com/Azure/azureml-examples/tree/main/cli/jobs/pipelines-with-components/nyc_taxi_data_regression) pipeline in the [Azure Machine Learning examples](https://github.com/Azure/azureml-examples) GitHub repository.
48
+
These examples are from the [NYC Taxi Data Regression](https://github.com/Azure/azureml-examples/tree/main/cli/jobs/pipelines-with-components/nyc_taxi_data_regression) pipeline in the [Azure Machine Learning examples](https://github.com/Azure/azureml-examples) GitHub repository:
49
49
50
50
- The [train component](https://github.com/Azure/azureml-examples/blob/main/cli/jobs/pipelines-with-components/nyc_taxi_data_regression/train.yml) has a `number` input named `test_split_ratio`.
51
51
- The [prep component](https://github.com/Azure/azureml-examples/blob/main/cli/jobs/pipelines-with-components/nyc_taxi_data_regression/prep.yml) has a `uri_folder` type output. The component source code reads the CSV files from the input folder, processes the files, and writes the processed CSV files to the output folder.
@@ -59,7 +59,7 @@ The component source code must serialize the output object, which is usually sto
59
59
60
60
## Data type input and output paths
61
61
62
-
For data asset inputs and outputs, you must specify a path parameter that points to the data location. The following table shows the supported data locations for Azure Machine Learning pipeline inputs and outputs, with `path` parameter examples.
62
+
For data asset inputs and outputs, you must specify a path parameter that points to the data location. The following table shows the supported data locations for Azure Machine Learning pipeline inputs and outputs, with `path` parameter examples:
63
63
64
64
|Location | Input | Output | Example |
65
65
|---------|---------|---------|---------|
@@ -69,7 +69,8 @@ For data asset inputs and outputs, you must specify a path parameter that points
69
69
|A path on an Azure Machine Learning datastore | ✓ | ✓ |`azureml://datastores/<data_store_name>/paths/<path>`|
70
70
|A path to a data asset |✓ | ✓ |`azureml:my_data:<version>`|
71
71
72
-
\* Using Azure Storage directly isn't recommended for input, because it might need extra identity configuration to read the data. It's better to use Azure Machine Learning datastore paths, which are supported across various pipeline job types.
72
+
> [!TIP]
73
+
> Using Azure Storage directly isn't recommended for input, because it can need extra identity configuration to read the data. It's better to use Azure Machine Learning datastore paths, which are supported across various pipeline job types.
The `ro_mount` or `rw_mount` modes are recommended for most cases. For more information, see [Modes](how-to-read-write-data-v2.md#modes).
88
+
We recommend the `ro_mount` or `rw_mount` modes for most cases. For more information, see [Modes](how-to-read-write-data-v2.md#modes).
88
89
89
90
## Inputs and outputs in pipeline graphs
90
91
@@ -245,7 +246,7 @@ Job `{name}` is resolved at job execution time, and `{output_name}` is the name
245
246
246
247
# [Azure CLI](#tab/cli)
247
248
248
-
The [pipeline.yml](https://github.com/Azure/azureml-examples/blob/main/cli/jobs/pipelines-with-components/basics/1b_e2e_registered_components/pipeline.yml) file at [train-score-eval pipeline with registered components example](https://github.com/Azure/azureml-examples/tree/main/cli/jobs/pipelines-with-components/basics/1b_e2e_registered_components) defines a pipeline that has three pipeline level outputs. You can use the following command to set custom output paths for the `pipeline_job_trained_model` output.
249
+
The [pipeline.yml](https://github.com/Azure/azureml-examples/blob/main/cli/jobs/pipelines-with-components/basics/1b_e2e_registered_components/pipeline.yml) file at [train-score-eval pipeline with registered components example](https://github.com/Azure/azureml-examples/tree/main/cli/jobs/pipelines-with-components/basics/1b_e2e_registered_components) defines a pipeline that has three pipeline level outputs. Use the following command to set custom output paths for the `pipeline_job_trained_model` output:
249
250
250
251
```azurecli
251
252
# define the custom output path using datastore uri
@@ -258,9 +259,28 @@ az ml job create -f ./pipeline.yml --set outputs.pipeline_job_trained_model.path
258
259
259
260
# [Python SDK](#tab/python)
260
261
261
-
The following code that demonstrates how to customize output paths is from the [Build pipeline with command_component decorated python function](https://github.com/Azure/azureml-examples/blob/main/sdk/python/jobs/pipelines/1b_pipeline_with_python_function_components/pipeline_with_python_function_components.ipynb) notebook.
262
+
The following code demonstrates how to customize output paths and is from the [Build pipeline with command_component decorated python function](https://github.com/Azure/azureml-examples/blob/main/sdk/python/jobs/pipelines/1b_pipeline_with_python_function_components/pipeline_with_python_function_components.ipynb) notebook:
On the **Overview** tab for a pipeline job, select a **Data asset** link under **Inputs** or **Outputs**. On the data asset page, select **Register**.
436
-
437
-
:::image type="content" source="./media/how-to-manage-pipeline-input-output/register-output.png" alt-text="Screenshot showing how to register output from a pipeline job.":::
outputs:e="content" source="./media/how-to-manage-pipeline-input-output/register-output.png" alt-text="Screenshot showing how to register output from a pipeline job.":::
457
458
component_out_path:
458
459
type: uri_folder
459
460
name: 'node_output'# Define name and version to register a child job's output
0 commit comments