Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix CUDA Python CI failure #7574

Merged
merged 2 commits into from
May 22, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
regenerate
  • Loading branch information
kmaehashi committed May 19, 2023
commit 723774616a5625795609376c22293b63e9461f9f
2 changes: 1 addition & 1 deletion .pfnci/linux/tests/benchmark.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 26,7 @@ ENV PYENV_ROOT "/opt/pyenv"
ENV PATH "${PYENV_ROOT}/shims:${PYENV_ROOT}/bin:${PATH}"
RUN pyenv install 3.11.0 && \
pyenv global 3.11.0 && \
pip install -U setuptools pip
pip install -U setuptools pip wheel

RUN pip install -U 'numpy==1.24.*' 'scipy==1.9.*' 'optuna==3.*' 'cython==0.29.*'
RUN pip uninstall -y mpi4py cuda-python && \
Expand Down
2 changes: 1 addition & 1 deletion .pfnci/linux/tests/benchmark.head.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 26,7 @@ ENV PYENV_ROOT "/opt/pyenv"
ENV PATH "${PYENV_ROOT}/shims:${PYENV_ROOT}/bin:${PATH}"
RUN pyenv install 3.11.0 && \
pyenv global 3.11.0 && \
pip install -U setuptools pip
pip install -U setuptools pip wheel

RUN pip install -U 'numpy==1.24.*' 'scipy==1.9.*' 'optuna==3.*' 'cython==0.29.*'
RUN pip uninstall -y mpi4py cuda-python && \
Expand Down
2 changes: 1 addition & 1 deletion .pfnci/linux/tests/cuda-example.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 26,7 @@ ENV PYENV_ROOT "/opt/pyenv"
ENV PATH "${PYENV_ROOT}/shims:${PYENV_ROOT}/bin:${PATH}"
RUN pyenv install 3.8.11 && \
pyenv global 3.8.11 && \
pip install -U setuptools pip
pip install -U setuptools pip wheel

RUN pip install -U 'numpy==1.20.*' 'scipy==1.7.*' 'optuna==3.*' 'cython==0.29.*'
RUN pip uninstall -y mpi4py cuda-python && \
Expand Down
2 changes: 1 addition & 1 deletion .pfnci/linux/tests/cuda-head.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 26,7 @@ ENV PYENV_ROOT "/opt/pyenv"
ENV PATH "${PYENV_ROOT}/shims:${PYENV_ROOT}/bin:${PATH}"
RUN pyenv install 3.11.0 && \
pyenv global 3.11.0 && \
pip install -U setuptools pip
pip install -U setuptools pip wheel

RUN pip install -U 'numpy>=0a0' 'scipy>=0a0' 'optuna>=0a0' 'cython==0.29.*'
RUN pip uninstall -y mpi4py cuda-python && \
Expand Down
2 changes: 1 addition & 1 deletion .pfnci/linux/tests/cuda-slow.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 26,7 @@ ENV PYENV_ROOT "/opt/pyenv"
ENV PATH "${PYENV_ROOT}/shims:${PYENV_ROOT}/bin:${PATH}"
RUN pyenv install 3.11.0 && \
pyenv global 3.11.0 && \
pip install -U setuptools pip
pip install -U setuptools pip wheel

RUN pip install -U 'numpy==1.23.*' 'scipy==1.9.*' 'optuna==3.*' 'cython==0.29.*'
RUN pip uninstall -y mpi4py cuda-python && \
Expand Down
2 changes: 1 addition & 1 deletion .pfnci/linux/tests/cuda102.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 29,7 @@ ENV PYENV_ROOT "/opt/pyenv"
ENV PATH "${PYENV_ROOT}/shims:${PYENV_ROOT}/bin:${PATH}"
RUN pyenv install 3.8.11 && \
pyenv global 3.8.11 && \
pip install -U setuptools pip
pip install -U setuptools pip wheel

RUN pip install -U 'numpy==1.20.*' 'scipy==1.6.*' 'optuna==3.*' 'cython==0.29.*'
RUN pip uninstall -y mpi4py cuda-python && \
Expand Down
2 changes: 1 addition & 1 deletion .pfnci/linux/tests/cuda102.multi.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 29,7 @@ ENV PYENV_ROOT "/opt/pyenv"
ENV PATH "${PYENV_ROOT}/shims:${PYENV_ROOT}/bin:${PATH}"
RUN pyenv install 3.8.11 && \
pyenv global 3.8.11 && \
pip install -U setuptools pip
pip install -U setuptools pip wheel

RUN pip install -U 'numpy==1.20.*' 'scipy==1.6.*' 'optuna==3.*' 'mpi4py==3.*' 'cython==0.29.*'
RUN pip uninstall -y cuda-python && \
Expand Down
2 changes: 1 addition & 1 deletion .pfnci/linux/tests/cuda110.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 26,7 @@ ENV PYENV_ROOT "/opt/pyenv"
ENV PATH "${PYENV_ROOT}/shims:${PYENV_ROOT}/bin:${PATH}"
RUN pyenv install 3.9.6 && \
pyenv global 3.9.6 && \
pip install -U setuptools pip
pip install -U setuptools pip wheel

RUN pip install -U 'numpy==1.20.*' 'scipy==1.7.*' 'optuna==3.*' 'cython==0.29.*'
RUN pip uninstall -y mpi4py cuda-python && \
Expand Down
2 changes: 1 addition & 1 deletion .pfnci/linux/tests/cuda110.multi.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 26,7 @@ ENV PYENV_ROOT "/opt/pyenv"
ENV PATH "${PYENV_ROOT}/shims:${PYENV_ROOT}/bin:${PATH}"
RUN pyenv install 3.9.6 && \
pyenv global 3.9.6 && \
pip install -U setuptools pip
pip install -U setuptools pip wheel

RUN pip install -U 'numpy==1.20.*' 'scipy==1.7.*' 'optuna==3.*' 'mpi4py==3.*' 'cython==0.29.*'
RUN pip uninstall -y cuda-python && \
Expand Down
2 changes: 1 addition & 1 deletion .pfnci/linux/tests/cuda111.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 25,7 @@ ENV PYENV_ROOT "/opt/pyenv"
ENV PATH "${PYENV_ROOT}/shims:${PYENV_ROOT}/bin:${PATH}"
RUN pyenv install 3.8.11 && \
pyenv global 3.8.11 && \
pip install -U setuptools pip
pip install -U setuptools pip wheel

RUN pip install -U 'numpy==1.20.*' 'cython==0.29.*'
RUN pip uninstall -y scipy optuna mpi4py cuda-python && \
Expand Down
2 changes: 1 addition & 1 deletion .pfnci/linux/tests/cuda111.multi.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 25,7 @@ ENV PYENV_ROOT "/opt/pyenv"
ENV PATH "${PYENV_ROOT}/shims:${PYENV_ROOT}/bin:${PATH}"
RUN pyenv install 3.8.11 && \
pyenv global 3.8.11 && \
pip install -U setuptools pip
pip install -U setuptools pip wheel

RUN pip install -U 'numpy==1.20.*' 'cython==0.29.*'
RUN pip uninstall -y scipy optuna mpi4py cuda-python && \
Expand Down
2 changes: 1 addition & 1 deletion .pfnci/linux/tests/cuda112.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 25,7 @@ ENV PYENV_ROOT "/opt/pyenv"
ENV PATH "${PYENV_ROOT}/shims:${PYENV_ROOT}/bin:${PATH}"
RUN pyenv install 3.8.11 && \
pyenv global 3.8.11 && \
pip install -U setuptools pip
pip install -U setuptools pip wheel

RUN pip install -U 'numpy==1.21.*' 'scipy==1.7.*' 'optuna==3.*' 'cython==0.29.*'
RUN pip uninstall -y mpi4py cuda-python && \
Expand Down
2 changes: 1 addition & 1 deletion .pfnci/linux/tests/cuda112.multi.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 25,7 @@ ENV PYENV_ROOT "/opt/pyenv"
ENV PATH "${PYENV_ROOT}/shims:${PYENV_ROOT}/bin:${PATH}"
RUN pyenv install 3.8.11 && \
pyenv global 3.8.11 && \
pip install -U setuptools pip
pip install -U setuptools pip wheel

RUN pip install -U 'numpy==1.21.*' 'scipy==1.7.*' 'optuna==3.*' 'cython==0.29.*'
RUN pip uninstall -y mpi4py cuda-python && \
Expand Down
2 changes: 1 addition & 1 deletion .pfnci/linux/tests/cuda113.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 26,7 @@ ENV PYENV_ROOT "/opt/pyenv"
ENV PATH "${PYENV_ROOT}/shims:${PYENV_ROOT}/bin:${PATH}"
RUN pyenv install 3.8.11 && \
pyenv global 3.8.11 && \
pip install -U setuptools pip
pip install -U setuptools pip wheel

RUN pip install -U 'numpy==1.20.*' 'scipy==1.6.*' 'optuna==3.*' 'cython==0.29.*'
RUN pip uninstall -y mpi4py cuda-python && \
Expand Down
2 changes: 1 addition & 1 deletion .pfnci/linux/tests/cuda113.multi.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 26,7 @@ ENV PYENV_ROOT "/opt/pyenv"
ENV PATH "${PYENV_ROOT}/shims:${PYENV_ROOT}/bin:${PATH}"
RUN pyenv install 3.8.11 && \
pyenv global 3.8.11 && \
pip install -U setuptools pip
pip install -U setuptools pip wheel

RUN pip install -U 'numpy==1.20.*' 'scipy==1.6.*' 'optuna==3.*' 'mpi4py==3.*' 'cython==0.29.*'
RUN pip uninstall -y cuda-python && \
Expand Down
2 changes: 1 addition & 1 deletion .pfnci/linux/tests/cuda114.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 26,7 @@ ENV PYENV_ROOT "/opt/pyenv"
ENV PATH "${PYENV_ROOT}/shims:${PYENV_ROOT}/bin:${PATH}"
RUN pyenv install 3.10.0 && \
pyenv global 3.10.0 && \
pip install -U setuptools pip
pip install -U setuptools pip wheel

RUN pip install -U 'numpy==1.22.*' 'scipy==1.7.*' 'optuna==3.*' 'cython==0.29.*'
RUN pip uninstall -y mpi4py cuda-python && \
Expand Down
2 changes: 1 addition & 1 deletion .pfnci/linux/tests/cuda114.multi.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 26,7 @@ ENV PYENV_ROOT "/opt/pyenv"
ENV PATH "${PYENV_ROOT}/shims:${PYENV_ROOT}/bin:${PATH}"
RUN pyenv install 3.10.0 && \
pyenv global 3.10.0 && \
pip install -U setuptools pip
pip install -U setuptools pip wheel

RUN pip install -U 'numpy==1.22.*' 'scipy==1.7.*' 'optuna==3.*' 'mpi4py==3.*' 'cython==0.29.*'
RUN pip uninstall -y cuda-python && \
Expand Down
2 changes: 1 addition & 1 deletion .pfnci/linux/tests/cuda115.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 26,7 @@ ENV PYENV_ROOT "/opt/pyenv"
ENV PATH "${PYENV_ROOT}/shims:${PYENV_ROOT}/bin:${PATH}"
RUN pyenv install 3.10.0 && \
pyenv global 3.10.0 && \
pip install -U setuptools pip
pip install -U setuptools pip wheel

RUN pip install -U 'numpy==1.23.*' 'scipy==1.8.*' 'optuna==3.*' 'cython==0.29.*'
RUN pip uninstall -y mpi4py cuda-python && \
Expand Down
2 changes: 1 addition & 1 deletion .pfnci/linux/tests/cuda115.multi.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 26,7 @@ ENV PYENV_ROOT "/opt/pyenv"
ENV PATH "${PYENV_ROOT}/shims:${PYENV_ROOT}/bin:${PATH}"
RUN pyenv install 3.10.0 && \
pyenv global 3.10.0 && \
pip install -U setuptools pip
pip install -U setuptools pip wheel

RUN pip install -U 'numpy==1.23.*' 'scipy==1.8.*' 'optuna==3.*' 'mpi4py==3.*' 'cython==0.29.*'
RUN pip uninstall -y cuda-python && \
Expand Down
2 changes: 1 addition & 1 deletion .pfnci/linux/tests/cuda116.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 26,7 @@ ENV PYENV_ROOT "/opt/pyenv"
ENV PATH "${PYENV_ROOT}/shims:${PYENV_ROOT}/bin:${PATH}"
RUN pyenv install 3.11.0 && \
pyenv global 3.11.0 && \
pip install -U setuptools pip
pip install -U setuptools pip wheel

RUN pip install -U 'numpy==1.23.*' 'scipy==1.9.*' 'optuna==3.*' 'cython==0.29.*'
RUN pip uninstall -y mpi4py cuda-python && \
Expand Down
2 changes: 1 addition & 1 deletion .pfnci/linux/tests/cuda116.multi.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 26,7 @@ ENV PYENV_ROOT "/opt/pyenv"
ENV PATH "${PYENV_ROOT}/shims:${PYENV_ROOT}/bin:${PATH}"
RUN pyenv install 3.11.0 && \
pyenv global 3.11.0 && \
pip install -U setuptools pip
pip install -U setuptools pip wheel

RUN pip install -U 'numpy==1.23.*' 'scipy==1.9.*' 'optuna==3.*' 'mpi4py==3.*' 'cython==0.29.*'
RUN pip uninstall -y cuda-python && \
Expand Down
2 changes: 1 addition & 1 deletion .pfnci/linux/tests/cuda117.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 26,7 @@ ENV PYENV_ROOT "/opt/pyenv"
ENV PATH "${PYENV_ROOT}/shims:${PYENV_ROOT}/bin:${PATH}"
RUN pyenv install 3.11.0 && \
pyenv global 3.11.0 && \
pip install -U setuptools pip
pip install -U setuptools pip wheel

RUN pip install -U 'numpy==1.23.*' 'scipy==1.9.*' 'optuna==3.*' 'cython==0.29.*'
RUN pip uninstall -y mpi4py cuda-python && \
Expand Down
2 changes: 1 addition & 1 deletion .pfnci/linux/tests/cuda117.multi.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 26,7 @@ ENV PYENV_ROOT "/opt/pyenv"
ENV PATH "${PYENV_ROOT}/shims:${PYENV_ROOT}/bin:${PATH}"
RUN pyenv install 3.11.0 && \
pyenv global 3.11.0 && \
pip install -U setuptools pip
pip install -U setuptools pip wheel

RUN pip install -U 'numpy==1.23.*' 'scipy==1.9.*' 'optuna==3.*' 'mpi4py==3.*' 'cython==0.29.*'
RUN pip uninstall -y cuda-python && \
Expand Down
2 changes: 1 addition & 1 deletion .pfnci/linux/tests/cuda118.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 26,7 @@ ENV PYENV_ROOT "/opt/pyenv"
ENV PATH "${PYENV_ROOT}/shims:${PYENV_ROOT}/bin:${PATH}"
RUN pyenv install 3.11.0 && \
pyenv global 3.11.0 && \
pip install -U setuptools pip
pip install -U setuptools pip wheel

RUN pip install -U 'numpy==1.24.*' 'scipy==1.9.*' 'optuna==3.*' 'cython==0.29.*'
RUN pip uninstall -y mpi4py cuda-python && \
Expand Down
2 changes: 1 addition & 1 deletion .pfnci/linux/tests/cuda118.multi.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 26,7 @@ ENV PYENV_ROOT "/opt/pyenv"
ENV PATH "${PYENV_ROOT}/shims:${PYENV_ROOT}/bin:${PATH}"
RUN pyenv install 3.11.0 && \
pyenv global 3.11.0 && \
pip install -U setuptools pip
pip install -U setuptools pip wheel

RUN pip install -U 'numpy==1.24.*' 'scipy==1.9.*' 'optuna==3.*' 'mpi4py==3.*' 'cython==0.29.*'
RUN pip uninstall -y cuda-python && \
Expand Down
2 changes: 1 addition & 1 deletion .pfnci/linux/tests/cuda11x-cuda-python.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 26,7 @@ ENV PYENV_ROOT "/opt/pyenv"
ENV PATH "${PYENV_ROOT}/shims:${PYENV_ROOT}/bin:${PATH}"
RUN pyenv install 3.10.0 && \
pyenv global 3.10.0 && \
pip install -U setuptools pip
pip install -U setuptools pip wheel

RUN pip install -U 'numpy==1.21.*' 'scipy==1.7.*' 'optuna==3.*' 'cython==0.29.*' 'cuda-python==11.*'
RUN pip uninstall -y mpi4py && \
Expand Down
2 changes: 1 addition & 1 deletion .pfnci/linux/tests/cuda120.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 26,7 @@ ENV PYENV_ROOT "/opt/pyenv"
ENV PATH "${PYENV_ROOT}/shims:${PYENV_ROOT}/bin:${PATH}"
RUN pyenv install 3.11.0 && \
pyenv global 3.11.0 && \
pip install -U setuptools pip
pip install -U setuptools pip wheel

RUN pip install -U 'numpy==1.23.*' 'scipy==1.9.*' 'optuna==3.*' 'cython==0.29.*'
RUN pip uninstall -y mpi4py cuda-python && \
Expand Down
2 changes: 1 addition & 1 deletion .pfnci/linux/tests/cuda120.multi.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 26,7 @@ ENV PYENV_ROOT "/opt/pyenv"
ENV PATH "${PYENV_ROOT}/shims:${PYENV_ROOT}/bin:${PATH}"
RUN pyenv install 3.11.0 && \
pyenv global 3.11.0 && \
pip install -U setuptools pip
pip install -U setuptools pip wheel

RUN pip install -U 'numpy==1.23.*' 'scipy==1.9.*' 'optuna==3.*' 'mpi4py==3.*' 'cython==0.29.*'
RUN pip uninstall -y cuda-python && \
Expand Down
2 changes: 1 addition & 1 deletion .pfnci/linux/tests/cuda121.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 26,7 @@ ENV PYENV_ROOT "/opt/pyenv"
ENV PATH "${PYENV_ROOT}/shims:${PYENV_ROOT}/bin:${PATH}"
RUN pyenv install 3.11.0 && \
pyenv global 3.11.0 && \
pip install -U setuptools pip
pip install -U setuptools pip wheel

RUN pip install -U 'numpy==1.23.*' 'scipy==1.9.*' 'optuna==3.*' 'cython==0.29.*'
RUN pip uninstall -y mpi4py cuda-python && \
Expand Down
2 changes: 1 addition & 1 deletion .pfnci/linux/tests/cuda121.multi.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 26,7 @@ ENV PYENV_ROOT "/opt/pyenv"
ENV PATH "${PYENV_ROOT}/shims:${PYENV_ROOT}/bin:${PATH}"
RUN pyenv install 3.11.0 && \
pyenv global 3.11.0 && \
pip install -U setuptools pip
pip install -U setuptools pip wheel

RUN pip install -U 'numpy==1.23.*' 'scipy==1.9.*' 'optuna==3.*' 'mpi4py==3.*' 'cython==0.29.*'
RUN pip uninstall -y cuda-python && \
Expand Down
2 changes: 1 addition & 1 deletion .pfnci/linux/tests/rocm-4-3.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 32,7 @@ ENV PYENV_ROOT "/opt/pyenv"
ENV PATH "${PYENV_ROOT}/shims:${PYENV_ROOT}/bin:${PATH}"
RUN pyenv install 3.8.11 && \
pyenv global 3.8.11 && \
pip install -U setuptools pip
pip install -U setuptools pip wheel

RUN pip install -U 'numpy==1.20.*' 'scipy==1.6.*' 'optuna==3.*' 'cython==0.29.*'
RUN pip uninstall -y mpi4py cuda-python && \
Expand Down
2 changes: 1 addition & 1 deletion .pfnci/linux/tests/rocm-5-0.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 32,7 @@ ENV PYENV_ROOT "/opt/pyenv"
ENV PATH "${PYENV_ROOT}/shims:${PYENV_ROOT}/bin:${PATH}"
RUN pyenv install 3.10.0 && \
pyenv global 3.10.0 && \
pip install -U setuptools pip
pip install -U setuptools pip wheel

RUN pip install -U 'numpy==1.23.*' 'scipy==1.9.*' 'optuna==3.*' 'cython==0.29.*'
RUN pip uninstall -y mpi4py cuda-python && \
Expand Down
2 changes: 1 addition & 1 deletion .pfnci/linux/tests/rocm-5-3.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 32,7 @@ ENV PYENV_ROOT "/opt/pyenv"
ENV PATH "${PYENV_ROOT}/shims:${PYENV_ROOT}/bin:${PATH}"
RUN pyenv install 3.11.0 && \
pyenv global 3.11.0 && \
pip install -U setuptools pip
pip install -U setuptools pip wheel

RUN pip install -U 'numpy==1.24.*' 'scipy==1.9.*' 'optuna==3.*' 'cython==0.29.*'
RUN pip uninstall -y mpi4py cuda-python && \
Expand Down