Skip to content

Commit a150398

Browse files
authored
Pin jax to fix tensorflowjs issue (#1348)
http://b/316967430
1 parent b793084 commit a150398

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Dockerfile.tmpl

+3-2
Original file line numberDiff line numberDiff line change
@@ -157,11 +157,12 @@ RUN pip install lightgbm==$LIGHTGBM_VERSION && \
157157
{{ end }}
158158

159159
# Install JAX
160+
# b/316967430 Remove pin once new version of tensorflowjs is released (> 4.15.0)
160161
{{ if eq .Accelerator "gpu" }}
161-
RUN pip install "jax[cuda11_local]" -f https://storage.googleapis.com/jax-releases/jax_cuda_releases.html && \
162+
RUN pip install "jax[cuda11_local]==0.4.21" -f https://storage.googleapis.com/jax-releases/jax_cuda_releases.html && \
162163
/tmp/clean-layer.sh
163164
{{ else }}
164-
RUN pip install jax[cpu] && \
165+
RUN pip install jax[cpu]==0.4.21 && \
165166
/tmp/clean-layer.sh
166167
{{ end }}
167168

0 commit comments

Comments
 (0)