Skip to content

Commit

Permalink
PIP cache remove
Browse files Browse the repository at this point in the history
  • Loading branch information
YanWenKun committed Jun 30, 2024
1 parent e7f1ffc commit 88e323a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,8 @@ RUN --mount=type=cache,target=/root/.cache/pip \
RUN --mount=type=cache,target=/root/.cache/pip \
pip uninstall --break-system-packages --yes \
onnxruntime-gpu \
&& pip cache remove \
onnxruntime-gpu \
&& pip install --break-system-packages \
onnxruntime-gpu \
--index-url https://aiinfra.pkgs.visualstudio.com/PublicPackages/_packaging/onnxruntime-cuda-12/pypi/simple/ \
Expand Down
2 changes: 2 additions & 0 deletions megapak/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,8 @@ RUN --mount=type=cache,target=/root/.cache/pip \
-r /builder-scripts/pak7.txt \
&& pip uninstall --break-system-packages --yes \
onnxruntime-gpu \
&& pip cache remove \
onnxruntime-gpu \
&& pip install --break-system-packages \
onnxruntime-gpu \
--index-url https://aiinfra.pkgs.visualstudio.com/PublicPackages/_packaging/onnxruntime-cuda-12/pypi/simple/ \
Expand Down

0 comments on commit 88e323a

Please sign in to comment.