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
21
23
22
## Why should I use prebuilt images?
@@ -29,6 +28,9 @@ Prebuilt Docker container images for inference are used when deploying a model w
29
28
30
29
## List of prebuilt Docker images for inference
31
30
31
+
> [!IMPORTANT]
32
+
> The list provided below includes only **currently supported** inference images by Azure Machine Learning.
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
+
Some older versions of the server do not have the correct boundaries for these dependencies. Please upgrade to the latest version of the server. We also recommend to not include these packages in their dependencies and rely on our server package to install the compatible versions of these dependencies.
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.
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
+29-27Lines changed: 29 additions & 27 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,47 +7,49 @@ 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
+
16
+
### No framework
17
+
18
+
Framework version | CPU/GPU | Pre-installed packages | MCR Path
19
+
--- | --- | --- | --- |
20
+
NA | CPU | NA | `mcr.microsoft.com/azureml/minimal-ubuntu18.04-py37-cpu-inference:latest`
21
+
NA | GPU | NA | `mcr.microsoft.com/azureml/minimal-ubuntu18.04-py37-cuda11.0.3-gpu-inference:latest`
0 commit comments