Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
1c67554
Compute connect port 22 path fix (#9082)
PratibhaShrivastav18 Aug 25, 2025
166e63d
CLI v2 2.39.0 (Version/changelog changes) (#9089)
PratibhaShrivastav18 Aug 26, 2025
a693b88
Pylint fix + History update (#9143)
PratibhaShrivastav18 Sep 10, 2025
73d1a91
Sync ml-dev with Main (#9365)
achauhan-scc Nov 3, 2025
17780d0
Deployment templates - CLI (#9320)
kshitij-microsoft Nov 3, 2025
84e3af6
Sync with main (#9374)
achauhan-scc Nov 3, 2025
8c59ee4
ML Ext changes to ml Dev branch (#9376)
achauhan-scc Nov 3, 2025
9953070
Adding integration tests for DT, preview feature and command update t…
kshitij-microsoft Nov 11, 2025
c29354c
Drop Python 3.7, 3.8, 3.9 support from ml extension (#9447)
saanikaguptamicrosoft Nov 27, 2025
a2492b3
Merge upstream/main into ml-dev
PratibhaShrivastav18 Dec 11, 2025
264ecb5
Update src/machinelearningservices/azext_mlv2/manual/_help/_deploymen…
necusjz Dec 18, 2025
acbd711
Update CHANGELOG for Azure Machine Learning CLI v2.41.0
lavakumarrepala Jan 6, 2026
ba4268c
Bump version to 2.41.0
lavakumarrepala Jan 6, 2026
f1f0a3a
Update azure-ai-ml version to 1.31.0
lavakumarrepala Jan 6, 2026
8042c42
Update CHANGELOG.rst
lavakumarrepala Jan 6, 2026
cd14346
Update CHANGELOG for Azure ML CLI v2.41.0
lavakumarrepala Jan 6, 2026
6e29711
Merge pull request #1 from lavakumarrepala/patch-1
PratibhaShrivastav18 Jan 6, 2026
4d3d445
bug fix
PratibhaShrivastav18 Jan 7, 2026
8905f72
Merge pull request #2 from PratibhaShrivastav18/shrivastavp/bug_fix_dt
PratibhaShrivastav18 Jan 7, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions src/machinelearningservices/CHANGELOG.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
## 2026-01-06

### Azure Machine Learning CLI (v2) v 2.41.0

- Drop Python 3.7, 3.8 and 3.9 support

## 2025-11-11

### Azure Machine Learning CLI (v2) v 2.40.1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ def ml_deployment_template_list(cmd, registry_name=None):
ml_client, debug = get_ml_client(
cli_ctx=cmd.cli_ctx, registry_name=registry_name
)

try:
deployment_templates = ml_client.deployment_templates.list()
# Handle DeploymentTemplate serialization - try as_dict() first, then _to_dict()
Expand All @@ -59,7 +58,6 @@ def ml_deployment_template_show(cmd, name, version=None, registry_name=None):
ml_client, debug = get_ml_client(
cli_ctx=cmd.cli_ctx, registry_name=registry_name
)

try:
deployment_template = ml_client.deployment_templates.get(name=name, version=version)
# Handle DeploymentTemplate serialization
Expand Down Expand Up @@ -96,7 +94,6 @@ def ml_deployment_template_create(
params_override.append({"name": name})
if version:
params_override.append({"version": version})

if load_deployment_template:
deployment_template = load_deployment_template(source=file, params_override=params_override)
else:
Expand Down Expand Up @@ -199,7 +196,6 @@ def ml_deployment_template_archive(
ml_client, debug = get_ml_client(
cli_ctx=cmd.cli_ctx, registry_name=registry_name
)

try:
ml_client.deployment_templates.archive(name=name, version=version)
except Exception as err: # pylint: disable=broad-except
Expand All @@ -218,7 +214,6 @@ def ml_deployment_template_restore(
ml_client, debug = get_ml_client(
cli_ctx=cmd.cli_ctx, registry_name=registry_name
)

try:
ml_client.deployment_templates.restore(name=name, version=version)
except Exception as err: # pylint: disable=broad-except
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ cryptography
docker
azure-mgmt-resourcegraph<9.0.0,>=2.0.0
azure-identity==1.17.1
azure-ai-ml==1.30.0
azure-ai-ml==1.31.0
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: advanced-deployment-template
version: "2"
description: Advanced deployment template with multiple endpoints for testing
tags:
environment: development
team: ml-platform
cost-center: "12345"
endpoints:
- name: primary
traffic: 80
deployment:
model:
name: advanced-model
version: "2"
environment:
name: advanced-env
version: "1"
instance_count: 3
instance_type: Standard_DS3_v2
code_configuration:
scoring_script: score.py
code: src/
scale_settings:
type: target_utilization
target_utilization_percentage: 70
min_instances: 1
max_instances: 10
- name: canary
traffic: 20
deployment:
model:
name: canary-model
version: "1"
environment:
name: canary-env
version: "1"
instance_count: 1
instance_type: Standard_DS2_v2
code_configuration:
scoring_script: score_canary.py
scale_settings:
type: default
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,6 @@ environment_variables:
MODEL_BASE_PATH: /var/azureml-app/azureml-models/tfs-model1/1
MODEL_NAME: half_plus_two
ENABLE_INFERENCESERVER_DIAGNOSTICSLOG_AML_VISIBILITY: True
allowed_instance_type: Standard_DS3_v2 Standard_DS4_v2
allowed_instance_types: Standard_DS3_v2 Standard_DS4_v2
default_instance_type: Standard_DS3_v2
instance_count: 3
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: minimal-deployment-template
version: "1"
description: Minimal deployment template for basic testing
endpoints:
- name: simple
traffic: 100
deployment:
model:
name: simple-model
version: "1"
environment:
name: simple-env
version: "1"
instance_count: 1
instance_type: Standard_DS1_v2
5 changes: 1 addition & 4 deletions src/machinelearningservices/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
from setuptools import setup, find_packages

# HISTORY.rst entry.
VERSION = '2.40.1'
VERSION = '2.41.0'

# The full list of classifiers is available at
# https://pypi.python.org/pypi?%3Aaction=list_classifiers
Expand All @@ -21,9 +21,6 @@
'Environment :: Console',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
Expand Down
Loading