Skip to content

Commit 013d14c

Browse files
Model mgmt torch net libxml2 (#4204)
* Update Dockerfile * Update requirements.txt * Update Dockerfile * Update Dockerfile
1 parent 8f2f172 commit 013d14c

2 files changed

Lines changed: 16 additions & 2 deletions

File tree

assets/training/model_management/environments/model-management/context/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ FROM mcr.microsoft.com/aifx/acpt/stable-ubuntu2204-cu118-py310-torch222:{{latest
22

33
WORKDIR /
44

5-
RUN apt-get update && apt-get upgrade -y && apt-get install wget nscd python3-idna git git-lfs -y
5+
RUN apt-get update && apt-get upgrade -y && apt-get install wget nscd python3-idna git git-lfs libxml2 -y
66

77
# azcopy install starts
88
RUN echo "Downloading azcopy to file azcopy.tar ....";\
@@ -25,7 +25,7 @@ RUN conda install python=3.9 -y
2525
RUN pip install -r requirements.txt --no-cache-dir
2626

2727
# Vulnerability fix
28-
RUN pip install Pillow gunicorn onnx==1.17.0 idna tqdm requests==2.32.1 tornado==6.4.2 certifi==2024.07.04 urllib3==1.26.19 scikit-learn==1.5.1 mlflow==2.20.3 mlflow-skinny==2.20.3 marshmallow==3.23.2
28+
RUN pip install torch==2.6.0 torchvision --no-cache-dir
2929

3030
# List pip packages
3131
RUN pip list

assets/training/model_management/environments/model-management/context/requirements.txt

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,17 @@ pyarrow==14.0.2
1515
GitPython=={{latest-pypi-version}}
1616
paramiko=={{latest-pypi-version}}
1717
cryptography==44.0.2
18+
####
19+
Pillow
20+
gunicorn
21+
onnx==1.17.0
22+
idna
23+
tqdm
24+
requests==2.32.1
25+
tornado==6.4.2
26+
certifi==2024.07.04
27+
urllib3==1.26.19
28+
scikit-learn==1.5.1
29+
mlflow==2.20.3
30+
mlflow-skinny==2.20.3
31+
marshmallow==3.23.2

0 commit comments

Comments
 (0)