File tree Expand file tree Collapse file tree
assets/training/model_management/environments/model-management/context Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- FROM mcr.microsoft.com/aifx/acpt/stable-ubuntu2204-cu118-py310-torch222 :{{latest-image-tag:biweekly\.\d {6}\.\d {1}.*}}
1+ FROM mcr.microsoft.com/aifx/acpt/stable-ubuntu2204-cu118-py310-torch260 :{{latest-image-tag:biweekly\.\d {6}\.\d {1}.*}}
22
33WORKDIR /
44
@@ -16,17 +16,12 @@ RUN echo "Downloading azcopy to file azcopy.tar ....";\
1616
1717COPY requirements.txt .
1818
19- # Switch to python==3.9 to prevent numpy==1.23.5 build failure
20- # numpy==1.23.5 is a hard dependency in azureml-automl-dnn-vision
21- # which is not compatible with py310.
22- # Going forward azureml-automl-dnn-vision needs to update version for torch and numpy
23- RUN conda install python=3.9 -y
19+ # This line is added because azureml-automl-dnn-vision depends on python 3.9.
20+ # Added ignore python requires to get this installed.
21+ RUN pip install --ignore-requires-python azureml-automl-dnn-vision
2422
2523RUN pip install -r requirements.txt --no-cache-dir
2624
27- # Vulnerability fix
28- RUN pip install torch==2.6.0 torchvision --no-cache-dir
29-
3025# List pip packages
3126RUN pip list
3227
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ wget=={{latest-pypi-version}}
1010applicationinsights =={{latest-pypi-version}}
1111azureml-automl-core =={{latest-pypi-version}}
1212azureml-telemetry =={{latest-pypi-version}}
13- azureml-automl-dnn-vision =={{latest-pypi-version}}
13+ # azureml-automl-dnn-vision=={{latest-pypi-version}}
1414pyarrow == 14.0.2
1515GitPython =={{latest-pypi-version}}
1616paramiko =={{latest-pypi-version}}
@@ -22,7 +22,7 @@ onnx==1.17.0
2222idna
2323tqdm
2424requests == 2.32.1
25- tornado == 6.4.2
25+ tornado == 6.5
2626certifi == 2024.07.04
2727urllib3 == 1.26.19
2828scikit-learn == 1.5.1
You can’t perform that action at this time.
0 commit comments