Skip to content

Commit

Permalink
baby steps 5: pytorch before-and-after
Browse files Browse the repository at this point in the history
  • Loading branch information
steveri committed Sep 26, 2023
1 parent 2fb88da commit dc2f2b3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,9 @@ ENV TMPTMPDIR=$TMPDIR
ENV TMPDIR=/aha/tmp/torch_install/
RUN source /aha/bin/activate && \
pip install --cache-dir=$TMPDIR --build=$TMPDIR torch==1.7.1+cpu -f https://download.pytorch.org/whl/torch_stable.html && \
rm -rf $TMPDIR
echo -n "BEFORE CLEANUP: " && du -hs /aha && \
/bin/rm -rf $TMPDIR && \
echo -n "AFTER CLEANUP: " && du -hs /aha
ENV TMPDIR=$TMPTMPDIR

WORKDIR /aha
Expand Down

0 comments on commit dc2f2b3

Please sign in to comment.