Skip to content

Commit c8ddfef

Browse files
sanchez-alexpdhotems
authored andcommitted
Rename distillation namespace (#38391)
* Rename distillation function * Rename namespace * Update changelog
1 parent 3b372b9 commit c8ddfef

File tree

5 files changed

+3
-3
lines changed

5 files changed

+3
-3
lines changed

sdk/ml/azure-ai-ml/CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
### Features Added
66
- Update TLS version from 1.0 to 1.2
7-
- Added support for Distillation jobs. Can be created by importing `disillation` from `azure.ai.ml.distillation`
7+
- Added support for Distillation jobs. Can be created by importing `disillation` from `azure.ai.ml.model_customization`
88
### Bugs Fixed
99
- Fix send email notification issue in model monitoring
1010

sdk/ml/azure-ai-ml/azure/ai/ml/distillation/__init__.py renamed to sdk/ml/azure-ai-ml/azure/ai/ml/model_customization/__init__.py

File renamed without changes.

sdk/ml/azure-ai-ml/azure/ai/ml/distillation/_distillation.py renamed to sdk/ml/azure-ai-ml/azure/ai/ml/model_customization/_distillation.py

File renamed without changes.

sdk/ml/azure-ai-ml/tests/distillation_job/e2e_tests/test_distillation_job.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
from azure.ai.ml import MLClient
1212
from azure.ai.ml.constants import AssetTypes, DataGenerationTaskType, DataGenerationType
13-
from azure.ai.ml.distillation import EndpointRequestSettings, PromptSettings, distillation
13+
from azure.ai.ml.model_customization import EndpointRequestSettings, PromptSettings, distillation
1414
from azure.ai.ml.entities import ServerlessConnection
1515
from azure.ai.ml.entities._inputs_outputs import Input, Output
1616
from azure.ai.ml.operations._run_history_constants import JobStatus

sdk/ml/azure-ai-ml/tests/distillation_job/unittests/test_distillation_factory.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
from azure.ai.ml import Input
44
from azure.ai.ml.constants import AssetTypes, DataGenerationTaskType, DataGenerationType
5-
from azure.ai.ml.distillation import distillation
5+
from azure.ai.ml.model_customization import distillation
66
from azure.ai.ml.entities import NoneCredentialConfiguration, ServerlessConnection, WorkspaceConnection
77
from azure.ai.ml.entities._job.distillation.distillation_job import DistillationJob
88
from azure.ai.ml.entities._job.distillation.endpoint_request_settings import EndpointRequestSettings

0 commit comments

Comments
 (0)