Skip to content

Commit

Permalink
jaxlib build improvements (jax-ml#1742)
Browse files Browse the repository at this point in the history
  • Loading branch information
skye authored Nov 22, 2019
1 parent 27aa76e commit 39e1739
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions build/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ FROM gcr.io/tensorflow-testing/nosla-cuda10.0-cudnn7-ubuntu16.04-manylinux2010
LABEL maintainer "Matt Johnson <[email protected]>"

WORKDIR /
RUN apt-get update
RUN apt-get install libffi-dev
RUN git clone --branch v1.2.14 https://github.com/pyenv/pyenv.git /pyenv
ENV PYENV_ROOT /pyenv
RUN /pyenv/bin/pyenv install 2.7.15
Expand Down
4 changes: 2 additions & 2 deletions build/build_jaxlib_wheels.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ for PYTHON_VERSION in $PYTHON_VERSIONS
do
mkdir -p dist/nocuda/
docker run -it --tmpfs /build:exec --rm -v $(pwd)/dist:/dist jaxbuild $PYTHON_VERSION nocuda
mv dist/*.whl dist/nocuda/
mv -f dist/*.whl dist/nocuda/
done

# build the cuda linux packages, tagging with linux_x86_64
Expand All @@ -26,7 +26,7 @@ do
do
mkdir -p dist/${CUDA_VARIANT}${CUDA_VERSION//.}
docker run -it --tmpfs /build:exec --rm -v $(pwd)/dist:/dist jaxbuild $PYTHON_VERSION $CUDA_VARIANT
mv dist/*.whl dist/${CUDA_VARIANT}${CUDA_VERSION//.}/
mv -f dist/*.whl dist/${CUDA_VARIANT}${CUDA_VERSION//.}/
done
done
done

0 comments on commit 39e1739

Please sign in to comment.