Skip to content

Commit 6702ca7

Browse files
committed
fix flax accidentally upgrading jax
1 parent 5f68164 commit 6702ca7

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

Dockerfile.tmpl

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -175,12 +175,15 @@ RUN pip install pycuda \
175175
/tmp/clean-layer.sh
176176
{{ end }}
177177

178-
RUN pip install pysal \
178+
RUN JAXVER=$(pip freeze | grep -e "^jax==") && \
179+
pip install pysal \
179180
seaborn python-dateutil dask python-igraph \
180181
pyyaml joblib husl geopy mne pyshp \
181182
pandas \
182183
polars \
183-
flax && \
184+
flax \
185+
"${JAXVER}" && \
186+
184187
# Install h2o from source.
185188
# Use `conda install -c h2oai h2o` once Python 3.7 version is released to conda.
186189
apt-get install -y default-jre-headless && \

0 commit comments

Comments
 (0)