Skip to content

Commit 36f1cb2

Browse files
authored
Santiagxf/mlflow python deprecation (Azure#2909)
* fix: updating deployments schemas * fix: python version * fix: python version * fix: python version * fixes * fixes * fixes * model
1 parent 22ad22c commit 36f1cb2

12 files changed

+191
-124
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
*.amlignore
2+
*.amlignore.amltmp
23
*.azureml
34
*pythonenv
45
*dask-worker-space

sdk/python/.gitignore

+3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
.ipynb_checkpoints
2+
.ipynb_aml_checkpoints
3+
named-outputs
24
*/.ipynb_checkpoints/*
5+
*.amltmp
36

47
# config files are required to use Semantic Kernel
58
!endpoints/online/llm/src/sk/skills/*/*/config.json

sdk/python/endpoints/online/mlflow/online-endpoints-deploy-mlflow-model-with-script.ipynb

+19-3
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,22 @@
8787
")"
8888
]
8989
},
90+
{
91+
"cell_type": "markdown",
92+
"metadata": {},
93+
"source": [
94+
"Or if you are working in a compute instance in Azure Machine Learning:"
95+
]
96+
},
97+
{
98+
"cell_type": "code",
99+
"execution_count": null,
100+
"metadata": {},
101+
"outputs": [],
102+
"source": [
103+
"ml_client = MLClient.from_config(DefaultAzureCredential())"
104+
]
105+
},
90106
{
91107
"cell_type": "markdown",
92108
"metadata": {},
@@ -244,7 +260,7 @@
244260
"source": [
245261
"environment = Environment(\n",
246262
" conda_file=\"sklearn-diabetes/environment/conda.yaml\",\n",
247-
" image=\"mcr.microsoft.com/azureml/openmpi3.1.2-ubuntu18.04:latest\",\n",
263+
" image=\"mcr.microsoft.com/azureml/openmpi4.1.0-ubuntu20.04:latest\",\n",
248264
")"
249265
]
250266
},
@@ -388,7 +404,7 @@
388404
"name": "python310-sdkv2"
389405
},
390406
"kernelspec": {
391-
"display_name": "Python 3.10 - SDK V2",
407+
"display_name": "Python 3.10 - SDK v2",
392408
"language": "python",
393409
"name": "python310-sdkv2"
394410
},
@@ -402,7 +418,7 @@
402418
"name": "python",
403419
"nbconvert_exporter": "python",
404420
"pygments_lexer": "ipython3",
405-
"version": "3.10.4 (main, Mar 31 2022, 08:41:55) [GCC 7.5.0]"
421+
"version": "3.10.11"
406422
},
407423
"nteract": {
408424
"version": "[email protected]"

0 commit comments

Comments
 (0)