Skip to content

Commit

Permalink
'megapak' using stable version of numpy
Browse files Browse the repository at this point in the history
  • Loading branch information
YanWenKun committed Jun 30, 2024
1 parent bcbb027 commit e43ecc4
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions megapak/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ cpp12 \
RUN --mount=type=cache,target=/root/.cache/pip \
pip list \
&& pip install \
--upgrade pip wheel setuptools Cython numpy \
--upgrade pip wheel setuptools \
&& pip install \
xformers torchvision torchaudio \
--index-url https://download.pytorch.org/whl/cu121 \
Expand Down Expand Up @@ -172,8 +172,10 @@ RUN --mount=type=cache,target=/root/.cache/pip \
-r /builder-scripts/pak5.txt \
&& pip install \
-r /builder-scripts/pak7.txt \
&& pip install \
--force-reinstall onnxruntime-gpu \
&& pip uninstall --break-system-packages --yes \
onnxruntime-gpu \
&& pip install --break-system-packages \
onnxruntime-gpu \
--index-url https://aiinfra.pkgs.visualstudio.com/PublicPackages/_packaging/onnxruntime-cuda-12/pypi/simple/ \
--extra-index-url https://pypi.org/simple \
&& pip install \
Expand Down

0 comments on commit e43ecc4

Please sign in to comment.