Skip to content

Commit 586a395

Browse files
committed
Removing tunix condition in JAII build
1 parent 041ba3e commit 586a395

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

maxtext_jax_ai_image.Dockerfile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,11 @@ RUN if [ "$DEVICE" = "tpu" ] && [ "$JAX_STABLE_STACK_BASEIMAGE" = "us-docker.pkg
4747
python3 -m pip install -r /deps/requirements_with_jax_ai_image.txt; \
4848
fi
4949

50+
# Install google-tunix for TPU devices, skip for GPU
51+
RUN if [ "$DEVICE" = "tpu" ]; then \
52+
python3 -m pip install 'google-tunix>=0.1.2'; \
53+
fi
54+
5055
# Now copy the remaining code (source files that may change frequently)
5156
COPY . .
5257

0 commit comments

Comments
 (0)