mirror of
https://github.com/ROCm/jax.git
synced 2025-04-18 21:06:06 +00:00
Update minimum NumPy version in jaxlib build scripts.
This commit is contained in:
parent
42720f0711
commit
cde2612893
@ -8,15 +8,13 @@ RUN apt-get update
|
||||
RUN apt-get install libffi-dev
|
||||
RUN git clone --branch v1.2.21 https://github.com/pyenv/pyenv.git /pyenv
|
||||
ENV PYENV_ROOT /pyenv
|
||||
RUN /pyenv/bin/pyenv install 3.6.8
|
||||
RUN /pyenv/bin/pyenv install 3.7.2
|
||||
RUN /pyenv/bin/pyenv install 3.8.0
|
||||
RUN /pyenv/bin/pyenv install 3.9.0
|
||||
|
||||
# We pin numpy to a version < 1.16 to avoid version compatibility issues.
|
||||
RUN eval "$(/pyenv/bin/pyenv init -)" && /pyenv/bin/pyenv local 3.6.8 && pip install numpy==1.17.3 scipy==1.5.4 setuptools wheel six auditwheel
|
||||
RUN eval "$(/pyenv/bin/pyenv init -)" && /pyenv/bin/pyenv local 3.7.2 && pip install numpy==1.17.3 scipy==1.5.4 setuptools wheel six auditwheel
|
||||
RUN eval "$(/pyenv/bin/pyenv init -)" && /pyenv/bin/pyenv local 3.8.0 && pip install numpy==1.17.3 scipy==1.5.4 setuptools wheel six auditwheel
|
||||
# We pin numpy to the minimum permitted version to avoid compatibility issues.
|
||||
RUN eval "$(/pyenv/bin/pyenv init -)" && /pyenv/bin/pyenv local 3.7.2 && pip install numpy==1.18.5 scipy==1.5.4 setuptools wheel six auditwheel
|
||||
RUN eval "$(/pyenv/bin/pyenv init -)" && /pyenv/bin/pyenv local 3.8.0 && pip install numpy==1.18.5 scipy==1.5.4 setuptools wheel six auditwheel
|
||||
RUN eval "$(/pyenv/bin/pyenv init -)" && /pyenv/bin/pyenv local 3.9.0 && pip install numpy==1.19.4 scipy==1.5.4 setuptools wheel six auditwheel
|
||||
|
||||
# Change the CUDA version if it doesn't match the installed version.
|
||||
|
@ -45,6 +45,6 @@ build_jax () {
|
||||
|
||||
|
||||
rm -fr dist
|
||||
build_jax 3.7.2 1.17.3 1.2.0
|
||||
build_jax 3.8.0 1.17.3 1.3.2
|
||||
build_jax 3.7.2 1.18.5 1.2.0
|
||||
build_jax 3.8.0 1.18.5 1.3.2
|
||||
build_jax 3.9.0 1.19.4 1.5.4
|
||||
|
Loading…
x
Reference in New Issue
Block a user