Skip to content

Commit

Permalink
Docker: Upgrade Jax to 0.4.37
Browse files Browse the repository at this point in the history
  • Loading branch information
samos123 committed Dec 18, 2024
1 parent 0f03612 commit 952f60f
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,14 @@ ENV PIP_FIND_LINKS=https://storage.googleapis.com/jax-releases/libtpu_releases.h
# Jax will fallback to CPU when run on a machine without TPU.
RUN pip install .[core,tpu]
RUN if [ -n "$EXTRAS" ]; then pip install .[$EXTRAS]; fi

# V6E requires using jax 0.4.37 so temporarily override before AXLearn
# upgrades to Jax 0.4.37.
ENV DATE=20241201
RUN pip install -U "jax[tpu]==0.4.37" "jax==0.4.37" "jaxlib==0.4.36" \
-f https://storage.googleapis.com/jax-releases/libtpu_releases.html
RUN pip install -U "libtpu-nightly==0.1.dev${DATE}" \
-f https://storage.googleapis.com/jax-releases/libtpu_releases.html
COPY . .

################################################################################
Expand Down

0 comments on commit 952f60f

Please sign in to comment.