Skip to content

Commit eb742bd

Browse files
Merge pull request #270795 from J-Silvestre/patch-2
change to environment reference description
2 parents bd0174d + 86eea47 commit eb742bd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

articles/machine-learning/reference-yaml-component-command.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ The source JSON schema can be found at https://azuremlschemas.azureedge.net/late
3737
| `is_deterministic` | boolean |This option determines if the component will produce the same output for the same input data. You should usually set this to `false` for components that load data from external sources, such as importing data from a URL. This is because the data at the URL might change over time. | | `true` |
3838
| `command` | string | **Required.** The command to execute. | | |
3939
| `code` | string | Local path to the source code directory to be uploaded and used for the component. | | |
40-
| `environment` | string or object | **Required.** The environment to use for the component. This value can be either a reference to an existing versioned environment in the workspace or an inline environment specification. <br><br> To reference an existing environment, use the `azureml:<environment-name>:<environment-version>` syntax. <br><br> To define an environment inline, follow the [Environment schema](reference-yaml-environment.md#yaml-syntax). Exclude the `name` and `version` properties as they aren't supported for inline environments. | | |
40+
| `environment` | string or object | **Required.** The environment to use for the component. This value can be either a reference to an existing versioned environment in the workspace or an inline environment specification. <br><br> To reference an existing custom environment, use the `azureml:<environment-name>:<environment-version>` syntax. To reference a curated environment, use the `azureml://registries/azureml/environment/<curated-environment-name>/versions/<version-number>` syntax. For more information on how to reference environments see [How to Manage Environments](https://learn.microsoft.com/azure/machine-learning/how-to-manage-environments-v2) <br><br> To define an environment inline, follow the [Environment schema](reference-yaml-environment.md#yaml-syntax). Exclude the `name` and `version` properties as they aren't supported for inline environments. | | |
4141
| `distribution` | object | The distribution configuration for distributed training scenarios. One of [MpiConfiguration](#mpiconfiguration), [PyTorchConfiguration](#pytorchconfiguration), or [TensorFlowConfiguration](#tensorflowconfiguration). | | |
4242
| `resources.instance_count` | integer | The number of nodes to use for the job. | | `1` |
4343
| `inputs` | object | Dictionary of component inputs. The key is a name for the input within the context of the component and the value is the component input definition. <br><br> Inputs can be referenced in the `command` using the `${{ inputs.<input_name> }}` expression. | | |

0 commit comments

Comments
 (0)