You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Prebuilt Docker container images for inference are used when deploying a model with Azure Machine Learning. The images are prebuilt with popular machine learning frameworks and Python packages. You can also extend the packages to add other packages by using one of the following methods:
*[Use prebuilt inference image as base for a new Dockerfile](how-to-extend-prebuilt-docker-image-inference.md). Using this method, you can install both **Python packages and apt packages**.
22
-
23
20
## Why should I use prebuilt images?
24
21
25
22
* Reduces model deployment latency.
@@ -29,9 +26,17 @@ Prebuilt Docker container images for inference are used when deploying a model w
29
26
30
27
## List of prebuilt Docker images for inference
31
28
29
+
> [!IMPORTANT]
30
+
> The list provided below includes only **currently supported** inference docker images by Azure Machine Learning.
[Check examples in the Azure machine learning GitHub repository](https://github.com/Azure/azureml-examples/tree/main/cli/endpoints/online/custom-container)
37
+
34
38
## Next steps
35
39
36
-
*[Add Python packages to prebuilt images](how-to-prebuilt-docker-images-inference-python-extensibility.md).
37
-
*[Use a prebuilt package as a base for a new Dockerfile](how-to-extend-prebuilt-docker-image-inference.md).
40
+
*[Deploy and score a machine learning model by using an online endpoint](how-to-deploy-managed-online-endpoints.md)
41
+
*[Learn more about custom containers](how-to-deploy-custom-container.md)
TypeError: register() takes 3 positional arguments but 4 were given
167
+
168
+
```
169
+
170
+
You have **Flask 2** installed in your python environment but are running a server (< 7.0.0) that does not support Flask 2. To resolve, please upgrade to the latest version of server.
171
+
172
+
### 2. I encountered an ``ImportError`` or ``ModuleNotFoundError`` on modules ``opencensus``, ``jinja2``, ``MarkupSafe``, or ``click`` during startup like the following:
173
+
174
+
```bash
175
+
ImportError: cannot import name 'Markup' from 'jinja2'
176
+
```
177
+
178
+
Older versions (<= 0.4.10) of the server did not pin Flask's dependency to compatible versions. This is fixed in the latest version of the server.
179
+
180
+
### 3. Do I need to reload the server when changing the score script?
143
181
144
182
After changing your scoring script (`score.py`), stop the server with `ctrl + c`. Then restart it with `azmlinfsrv --entry_script score.py`.
145
183
146
-
### Which OS is supported?
184
+
### 4. Which OS is supported?
147
185
148
186
The Azure Machine Learning inference server runs on Windows & Linux based operating systems.
149
187
150
188
## Next steps
151
189
152
-
* For more information on creating an entry script and deploying models, see [How to deploy a model using Azure Machine Learning](how-to-deploy-and-where.md).
190
+
* For more information on creating an entry script and deploying models, see [How to deploy a model using Azure Machine Learning](how-to-deploy-managed-online-endpoints.md).
153
191
* Learn about [Prebuilt docker images for inference](concept-prebuilt-docker-images-inference.md)
Copy file name to clipboardExpand all lines: articles/machine-learning/resource-curated-environments.md
+1-5Lines changed: 1 addition & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -29,7 +29,7 @@ This article lists the curated environments with latest framework versions in Az
29
29
>[!IMPORTANT]
30
30
> To view more information about curated environment packages and versions, visit the Environments tab in the Azure Machine Learning [studio](./how-to-manage-environments-in-studio.md).
31
31
32
-
## Training curated environments
32
+
## Curated environments
33
33
34
34
### PyTorch
35
35
@@ -89,9 +89,5 @@ Azure ML pipeline training workflows that use AutoML automatically selects a cur
89
89
90
90
For more information on AutoML and Azure ML pipelines, see [use automated ML in an Azure Machine Learning pipeline in Python](how-to-use-automlstep-in-pipelines.md).
91
91
92
-
## Inference curated environments and prebuilt docker images
Version updates for supported environments, including the base images they reference, are released every two weeks to address vulnerabilities no older than 30 days. Based on usage, some environments may be deprecated (hidden from the product but usable) to support more common machine learning scenarios.
Copy file name to clipboardExpand all lines: includes/aml-inference-list-prebuilt-docker-images.md
+9-39Lines changed: 9 additions & 39 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,47 +7,17 @@ ms.service: machine-learning
7
7
ms.author: ssambare
8
8
ms.custom: "include file"
9
9
ms.topic: "include"
10
-
ms.date: 10/07/2021
10
+
ms.date: 07/14/2022
11
11
---
12
12
13
13
* All the docker images run as non-root user.
14
-
* We recommend using `latest` tag for docker images. Prebuilt docker images for inference are published to Microsoft container registry (MCR), to query list of tags available, follow [instructions on their GitHub repository](https://github.com/microsoft/ContainerRegistry#browsing-mcr-content).
14
+
* We recommend using `latest` tag for docker images. Prebuilt docker images for inference are published to Microsoft container registry (MCR), to query list of tags available, follow [instructions on the GitHub repository](https://github.com/microsoft/ContainerRegistry#browsing-mcr-content).
15
+
* If you want to use a specific tag for any inference docker image, we support from `latest` to the tag that is *6 months* old from the `latest`.
0 commit comments