Skip to content

Commit 5b7809b

Browse files
committed
Update Docker build machinery, include Jax
1 parent 44685e6 commit 5b7809b

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

docker-image-run-py/Dockerfile

+4-2
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,8 @@ RUN if [ "$RLCONTAINER" = "full" ] ; then apt-get -o APT::Install-Recommends=0
3535
git; \
3636
fi
3737

38-
RUN if [ "$RLCONTAINER" = "full" ] ; then python3 -m pip install git+https://github.com/inducer/loopy.git; fi
38+
RUN if [ "$RLCONTAINER" = "full" ] ; then python3 -m pip install --break-system-packages git+https://github.com/inducer/pymbolic.git; fi
39+
RUN if [ "$RLCONTAINER" = "full" ] ; then python3 -m pip install --break-system-packages git+https://github.com/inducer/loopy.git; fi
3940

4041
RUN apt-get clean
4142
RUN fc-cache
@@ -50,7 +51,8 @@ RUN sed -i s/TkAgg/Agg/ /etc/matplotlibrc
5051
RUN echo "savefig.dpi : 80" >> /etc/matplotlibrc
5152
RUN echo "savefig.bbox : tight" >> /etc/matplotlibrc
5253

53-
RUN if [ "$RLCONTAINER" = "full" ] ; then pip3 install --upgrade tensorflow; fi
54+
# RUN if [ "$RLCONTAINER" = "full" ] ; then pip3 install --upgrade tensorflow; fi
55+
RUN if [ "$RLCONTAINER" = "full" ] ; then pip3 install --break-system-packages --upgrade jax; fi
5456
RUN rm -Rf /root/.cache
5557

5658
# may use ./flatten-container.sh to reduce disk space

docker-image-run-py/docker-build.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
if test "$1" = "-f"; then
44
RLCONTAINER=full
5-
IMGNAME=inducer/relate-runcode-python-amd64-tf-opencl-loopy
5+
IMGNAME=inducer/relate-runcode-python-amd64-full
66
else
77
RLCONTAINER=base
88
IMGNAME=inducer/relate-runcode-python-amd64

0 commit comments

Comments
 (0)