Skip to content

Commit

Permalink
install onnxruntime from pypi to avoid installing numpy 2
Browse files Browse the repository at this point in the history
  • Loading branch information
AdeelH committed Nov 23, 2024
1 parent cd1eff4 commit fb3b199
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ ENV SAGEMAKER_TRAINING_MODULE=sagemaker_pytorch_container.training:main
# --extra-index-url in requirements.txt seems to cause problems with the
# RTD build.
RUN if [ "${TARGETARCH}" != "arm64" ]; then \
uv pip install --upgrade onnxruntime-gpu==1.17 --extra-index-url https://aiinfra.pkgs.visualstudio.com/PublicPackages/_packaging/onnxruntime-cuda-12/pypi/simple/; fi
uv pip install onnxruntime-gpu==1.19; fi

#------------------------------------------------------------------------

Expand Down

0 comments on commit fb3b199

Please sign in to comment.