Skip to content

Commit 43c7f71

Browse files
authored
Merge pull request #193732 from MicrosoftDocs/release-preview-aml-cli-v2-refresh
Release preview aml cli v2 refresh--scheduled release at 10am of 4/04
2 parents 648c524 + 35ea7b1 commit 43c7f71

38 files changed

+721
-504
lines changed

.openpublishing.publish.config.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -441,6 +441,12 @@
441441
"branch": "main",
442442
"branch_mapping": {}
443443
},
444+
{
445+
"path_to_root": "azureml-examples-march-cli-preview",
446+
"url": "https://github.com/azure/azureml-examples",
447+
"branch": "march-cli-preview",
448+
"branch_mapping": {}
449+
},
444450
{
445451
"path_to_root": "terraform",
446452
"url": "https://github.com/Azure/terraform",

.openpublishing.redirection.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43538,6 +43538,16 @@
4353843538
"redirect_url": "reference-yaml-endpoint-managed-online",
4353943539
"redirect_document_id": true
4354043540
},
43541+
{
43542+
"source_path_from_root": "/articles/machine-learning/reference-yaml-job-component.md",
43543+
"redirect_url": "reference-yaml-job-command",
43544+
"redirect_document_id": true
43545+
},
43546+
{
43547+
"source_path_from_root": "/articles/machine-learning/reference-yaml-dataset.md",
43548+
"redirect_url": "reference-yaml-data",
43549+
"redirect_document_id": true
43550+
},
4354143551
{
4354243552
"source_path_from_root": "/articles/store-sendgrid-nodejs-how-to-send-email.md",
4354343553
"redirect_url": "https://docs.sendgrid.com/for-developers/partners/microsoft-azure-2021#create-a-twilio-sendgrid-account",

articles/machine-learning/azure-machine-learning-release-notes-cli-v2.md

Lines changed: 39 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,20 +8,54 @@ ms.subservice: core
88
ms.topic: reference
99
ms.author: minxia
1010
author: mx-iao
11-
ms.date: 11/03/2021
12-
ms.custom: cliv2
11+
ms.date: 03/14/2022
1312
---
1413

1514
# Azure Machine Learning CLI (v2) release notes
1615

1716
[!INCLUDE [cli v2](../../includes/machine-learning-cli-v2.md)]
17+
[!INCLUDE [cli v2 how to update](../../includes/machine-learning-cli-v2-update-note.md)]
1818

1919

2020
In this article, learn about Azure Machine Learning CLI (v2) releases.
2121

2222
__RSS feed__: Get notified when this page is updated by copying and pasting the following URL into your feed reader:
2323
`https://docs.microsoft.com/api/search/rss?search=%22Azure+machine+learning+release+notes-v2%22&locale=en-us`
2424

25+
## 2022-03-14
26+
27+
### Azure Machine Learning CLI (v2) v2.2.0
28+
29+
- `az ml job`
30+
- For all job types, flattened the `code` section of the YAML schema. Instead of `code.local_path` to specify the path to the source code directory, it is now just `code`
31+
- For all job types, changed the schema for defining data inputs to the job in the job YAML. Instead of specifying the data path using either the `file` or `folder` fields, use the `path` field to specify either a local path, a URI to a cloud path containing the data, or a reference to an existing registered Azure ML data asset via `path: azureml:<data_name>:<data_version>`. Also specify the `type` field to clarify whether the data source is a single file (`uri_file`) or a folder (`uri_folder`). If `type` field is omitted, it defaults to `type: uri_folder`. For more information, see the section of any of the [job YAML references](reference-yaml-job-command.md) that discuss the schema for specifying input data.
32+
- In the [sweep job YAML schema](reference-yaml-job-sweep.md), changed the `sampling_algorithm` field from a string to an object in order to support additional configurations for the random sampling algorithm type
33+
- Removed the component job YAML schema. With this release, if you want to run a command job inside a pipeline that uses a component, just specify the component to the `component` field of the command job YAML definition.
34+
- For all job types, added support for referencing the latest version of a nested asset in the job YAML configuration. When referencing a registered environment or data asset to use as input in a job, you can alias by latest version rather than having to explicitly specify the version. For example: `environment: azureml:AzureML-Minimal@latest`
35+
- For pipeline jobs, introduced the `${{ parent }}` context for binding inputs and outputs between steps in a pipeline. For more information, see [Expression syntax for binding inputs and outputs between steps in a pipeline job](reference-yaml-core-syntax.md#binding-inputs-and-outputs-between-steps-in-a-pipeline-job).
36+
- Added support for downloading named outputs of job via the `--output-name` argument for the `az ml job download` command
37+
- `az ml data`
38+
- Deprecated the `az ml dataset` subgroup, now using `az ml data` instead
39+
- There are two types of data that can now be created, either from a single file source (`type: uri_file`) or a folder (`type: uri_folder`). When creating the data asset, you can either specify the data source from a local file / folder or from a URI to a cloud path location. See the [data YAML schema](reference-yaml-data.md) for the full schema
40+
- `az ml environment`
41+
- In the [environment YAML schema](reference-yaml-environment.md), renamed the `build.local_path` field to `build.path`
42+
- Removed the `build.context_uri` field, the URI of the uploaded build context location will be accessible via `build.path` when the environment is returned
43+
- `az ml model`
44+
- In the [model YAML schema](reference-yaml-model.md), `model_uri` and `local_path` fields removed and consolidated to one `path` field that can take either a local path or a cloud path URI. `model_format` field renamed to `type`; the default type is `custom_model`, but you can specify one of the other types (`mlflow_model`, `triton_model`) to use the model in no-code deployment scenarios
45+
- For `az ml model create`, `--model-uri` and `--local-path` arguments removed and consolidated to one `--path` argument that can take either a local path or a cloud path URI
46+
- Added the `az ml model download` command to download a model's artifact files
47+
- `az ml online-deployment`
48+
- In the [online deployment YAML schema](reference-yaml-deployment-managed-online.md), flattened the `code` section of the `code_configuration` field. Instead of `code_configuration.code.local_path` to specify the path to the source code directory containing the scoring files, it is now just `code_configuration.code`
49+
- Added an `environment_variables` field to the online deployment YAML schema to support configuring environment variables for an online deployment
50+
- `az ml batch-deployment`
51+
- In the [batch deployment YAML schema](reference-yaml-deployment-batch.md), flattened the `code` section of the `code_configuration` field. Instead of `code_configuration.code.local_path` to specify the path to the source code directory containing the scoring files, it is now just `code_configuration.code`
52+
- `az ml component`
53+
- Flattened the `code` section of the [command component YAML schema](reference-yaml-component-command.md). Instead of `code.local_path` to specify the path to the source code directory, it is now just `code`
54+
- Added support for referencing the latest version of a registered environment to use in the component YAML configuration. When referencing a registered environment, you can alias by latest version rather than having to explicitly specify the version. For example: `environment: azureml:AzureML-Minimal@latest`
55+
- Renamed the component input and output type value from `path` to `uri_folder` for the `type` field when defining a component input or output
56+
- Removed the `delete` commands for assets (model, component, data, environment). The existing delete functionality is only a soft delete, so the `delete` commands will be reintroduced in a later release once hard delete is supported
57+
- Added support for archiving and restoring assets (model, component, data, environment) and jobs, e.g. `az ml model archive` and `az ml model restore`. You can now archive assets and jobs, which will hide the archived entity from list queries (e.g. `az ml model list`).
58+
2559
## 2021-10-04
2660

2761
### Azure Machine Learning CLI (v2) v2.0.2
@@ -48,18 +82,18 @@ __RSS feed__: Get notified when this page is updated by copying and pasting the
4882
- Added new `model_format` property to Model for no-code deployment scenarios
4983
- `az ml dataset`
5084
- Renamed `az ml data` subgroup to `az ml dataset`
51-
- Updated [dataset YAML schema](reference-yaml-dataset.md)
85+
- Updated dataset YAML schema
5286
- `az ml component`
5387
- Added the `az ml component` commands for managing Azure ML components
5488
- Added support for command components ([command component YAML schema](reference-yaml-component-command.md))
5589
- `az ml online-endpoint`
5690
- `az ml endpoint` subgroup split into two separate groups: `az ml online-endpoint` and `az ml batch-endpoint`
57-
- Updated [online endpoint YAML schema](reference-yaml-endpoint-managed-online.md)
91+
- Updated [online endpoint YAML schema](reference-yaml-endpoint-online.md)
5892
- Added support for local endpoints for dev/test scenarios
5993
- Added interactive VSCode debugging support for local endpoints (added the `--vscode-debug` flag to `az ml batch-endpoint create/update`)
6094
- `az ml online-deployment`
6195
- `az ml deployment` subgroup split into two separate groups: `az ml online-deployment` and `az ml batch-deployment`
62-
- Updated [managed online deployment YAML schema](reference-yaml-endpoint-managed-online.md)
96+
- Updated [managed online deployment YAML schema](reference-yaml-deployment-managed-online.md)
6397
- Added autoscaling support via integration with Azure Monitor Autoscale
6498
- Added support for updating multiple online deployment properties in the same update operation
6599
- Added support for performing concurrent operations on deployments under the same endpoint

articles/machine-learning/concept-endpoints.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,16 @@ ms.subservice: mlops
88
ms.topic: conceptual
99
ms.author: seramasu
1010
author: rsethur
11-
ms.reviewer: laobri
11+
ms.reviewer: larryfr
1212
ms.custom: devplatv2, ignite-fall-2021
13-
ms.date: 12/22/2021
13+
ms.date: 03/31/2022
1414
#Customer intent: As an MLOps administrator, I want to understand what a managed endpoint is and why I need it.
1515
---
1616

1717
# What are Azure Machine Learning endpoints (preview)?
1818

1919
[!INCLUDE [preview disclaimer](../../includes/machine-learning-preview-generic-disclaimer.md)]
20+
[!INCLUDE [cli v2 how to update](../../includes/machine-learning-cli-v2-update-note.md)]
2021

2122
Use Azure Machine Learning endpoints (preview) to streamline model deployments for both real-time and batch inference deployments. Endpoints provide a unified interface to invoke and manage model deployments across compute types.
2223

0 commit comments

Comments
 (0)