-
Notifications
You must be signed in to change notification settings - Fork 145
Update Dockerfile #4209
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Update Dockerfile #4209
Conversation
@raghu-microsoft please read the following Contributor License Agreement(CLA). If you agree with the CLA, please reply with the following information.
Contributor License AgreementContribution License AgreementThis Contribution License Agreement (“Agreement”) is agreed to by the party signing below (“You”),
|
Test Results for assets-test10 tests 7 ✅ 7h 52m 16s ⏱️ For more details on these failures, see this check. Results for commit 350d844. ♻️ This comment has been updated with latest results. |
Test Results for training-model-mgmt-unittests45 tests 45 ✅ 9s ⏱️ Results for commit 350d844. ♻️ This comment has been updated with latest results. |
@@ -25,7 +25,27 @@ RUN conda install python=3.9 -y | |||
RUN pip install -r requirements.txt --no-cache-dir | |||
|
|||
# Vulnerability fix | |||
RUN pip install torch==2.6.0 torchvision --no-cache-dir | |||
# Remove Conda-installed Torch and related packages | |||
RUN conda remove -y --force \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can you use torch26 image from aifx instead? it defeats the purpose of using that base image
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please respond to microsoft-github-policy-service bot
Test Results for scripts-test79 tests 79 ✅ 9m 7s ⏱️ Results for commit 350d844. |
Completely removed preinstalled Torch version (especially the Conda-installed torch==2.5.1) and cleanly installed torch==2.6.0 via pip inside a Docker image,