Skip to content

Commit

Permalink
Dockerfile: Use unofficial arm64 binary for jaxlib
Browse files Browse the repository at this point in the history
  • Loading branch information
victorlin committed Dec 6, 2022
1 parent d0a8bfe commit 028d27c
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,15 @@ RUN if [ "$TARGETPLATFORM" = "linux/arm64" ]; then \
; \
fi

# Install jaxlib on linux/arm64
# jaxlib, an evofr dependency, does not have official pre-built binaries for
# linux/arm64. A GitHub user has provided them in a fork repo.
# https://github.com/google/jax/issues/7097#issuecomment-1110730040
RUN if [ "$TARGETPLATFORM" = "linux/arm64" ]; then \
pip3 install https://github.com/yoziru/jax/releases/download/jaxlib-v0.3.25/jaxlib-0.3.25-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.whl \
; \
fi

# Install envdir, which is used by pathogen builds
RUN pip3 install envdir==1.0.1

Expand Down

0 comments on commit 028d27c

Please sign in to comment.