Skip to content

Commit 043d5ed

Browse files
authored
Update how-to-deploy-mlflow-models.md
1 parent 7b5f59e commit 043d5ed

File tree

1 file changed

+1
-21
lines changed

1 file changed

+1
-21
lines changed

articles/machine-learning/v1/how-to-deploy-mlflow-models.md

Lines changed: 1 addition & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.author: mopeakande
88
ms.reviewer: fasantia
99
ms.service: machine-learning
1010
ms.subservice: core
11-
ms.date: 07/16/2024
11+
ms.date: 07/29/2024
1212
ms.topic: how-to
1313
ms.custom: UpdateFrequency5, sdkv1
1414

@@ -55,26 +55,6 @@ To deploy your MLflow model to an Azure Machine Learning web service, your model
5555

5656
For the deployment to Azure Container Instances, you don't need to define any deployment configuration. The service defaults to an Azure Container Instances deployment when a configuration isn't provided. You can register and deploy the model in one step with MLflow's [deploy](https://www.mlflow.org/docs/latest/python_api/mlflow.azureml.html#mlflow.azureml.deploy) method for Azure Machine Learning.
5757

58-
<!-- Reviewer: The following cell returns an error:
59-
60-
File /anaconda/envs/azureml_py310_sdkv2/lib/python3.10/site-packages/packaging/specifiers.py:25
61-
10 from typing import (
62-
(...)
63-
21 Union,
64-
22 )
65-
24 from .utils import canonicalize_version
66-
~~~> 25 from .version import LegacyVersion, Version, parse
67-
27 ParsedVersion = Union[Version, LegacyVersion]
68-
28 UnparsedVersion = Union[Version, LegacyVersion, str]
69-
70-
ImportError: cannot import name 'LegacyVersion' from 'packaging.version'
71-
(/anaconda/envs/azureml_py310_sdkv2/lib/python3.10/site-packages/packaging/version.py)
72-
73-
I tried downgrading the packaging version to 21.3 (or older) per this StackOverflow report, but the problem persists:
74-
https://stackoverflow.com/questions/74941714/importerror-cannot-import-name-legacyversion-from-packaging-version
75-
76-
-->
77-
7858
```python
7959
from mlflow.deployments import get_deploy_client
8060

0 commit comments

Comments
 (0)