Skip to content

Commit 6239664

Browse files
committed
removing mention of compnents entry
1 parent 4db7e3f commit 6239664

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ ms.topic: reference
99
ms.custom: cliv2, devx-track-python, update-code
1010
author: Blackmist
1111
ms.author: larryfr
12-
ms.date: 07/25/2024
12+
ms.date: 08/29/2024
1313
ms.reviewer: balapv
1414
---
1515

@@ -34,9 +34,9 @@ The source JSON schema can be found at https://azuremlschemas.azureedge.net/late
3434
| `experiment_name` | string | Experiment name to organize the job under. Each job's run record is organized under the corresponding experiment in the studio's "Experiments" tab. If omitted, Azure Machine Learning defaults it to the name of the working directory where the job was created. | | |
3535
| `description` | string | Description of the job. | | |
3636
| `tags` | object | Dictionary of tags for the job. | | |
37-
| `command` | string | **Required (if not using `component` field).** The command to execute. | | |
37+
| `command` | string | The command to execute. | | |
3838
| `code` | string | Local path to the source code directory to be uploaded and used for the job. | | |
39-
| `environment` | string or object | **Required (if not using `component` field).** The environment to use for the job. 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 or `azureml:<environment_name>@latest` (to reference the latest version of an environment). <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. | | |
39+
| `environment` | string or object | The environment to use for the job. 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 or `azureml:<environment_name>@latest` (to reference the latest version of an environment). <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. | | |
4040
| `environment_variables` | object | Dictionary of environment variable key-value pairs to set on the process where the command is executed. | | |
4141
| `distribution` | object | The distribution configuration for distributed training scenarios. One of [MpiConfiguration](#mpiconfiguration), [PyTorchConfiguration](#pytorchconfiguration), or [TensorFlowConfiguration](#tensorflowconfiguration). | | |
4242
| `compute` | string | Name of the compute target to execute the job on. Can be either a reference to an existing compute in the workspace (using the `azureml:<compute_name>` syntax) or `local` to designate local execution. **Note:** jobs in pipeline didn't support `local` as `compute` | | `local` |

0 commit comments

Comments
 (0)