From 16ec91f9e58be419ef56f42ed8067ef638c72549 Mon Sep 17 00:00:00 2001 From: corochann Date: Sun, 2 Aug 2020 15:32:26 +0900 Subject: [PATCH 1/2] update fix base chainer version to be 7.0.0 --- .flexci/pytest_script.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.flexci/pytest_script.sh b/.flexci/pytest_script.sh index abed46dc..e0f1a7db 100644 --- a/.flexci/pytest_script.sh +++ b/.flexci/pytest_script.sh @@ -1,7 +1,7 @@ #!/bin/bash set -eux -BASE=6.0.0 +BASE=7.0.0 service docker stop mount -t tmpfs -o size=100% tmpfs /var/lib/docker From 5a3829fa27dc7647fa83abf88e462050f3999b40 Mon Sep 17 00:00:00 2001 From: corochann Date: Sun, 2 Aug 2020 16:08:03 +0900 Subject: [PATCH 2/2] install proper version in chx tests --- .flexci/pytest_script.sh | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.flexci/pytest_script.sh b/.flexci/pytest_script.sh index e0f1a7db..7dae5e89 100644 --- a/.flexci/pytest_script.sh +++ b/.flexci/pytest_script.sh @@ -13,24 +13,33 @@ if [ ${CHAINERX} -gt 0 ]; then case ${CHAINER} in stable) DOCKER_IMAGE=asia.gcr.io/pfn-public-ci/chainer-chem-py$PYTHON-chainerx-gpu-stable:latest + echo pip install chainer >> install.sh + echo pip install cupy-cuda101 >> install.sh ;; latest) DOCKER_IMAGE=asia.gcr.io/pfn-public-ci/chainer-chem-py$PYTHON-chainerx-gpu-latest:latest + echo pip install --pre chainer >> install.sh + echo pip install --pre cupy-cuda101 >> install.sh ;; base) DOCKER_IMAGE=asia.gcr.io/pfn-public-ci/chainer-chem-py$PYTHON-chainerx-gpu-base:latest + echo pip install chainer==${BASE} >> install.sh + echo pip install cupy-cuda101==${BASE} >> install.sh ;; esac else case ${CHAINER} in stable) DOCKER_IMAGE=asia.gcr.io/pfn-public-ci/chainer-chem-py$PYTHON-chainerx-cpu-stable:latest + echo pip install chainer >> install.sh ;; latest) DOCKER_IMAGE=asia.gcr.io/pfn-public-ci/chainer-chem-py$PYTHON-chainerx-cpu-latest:latest + echo pip install --pre chainer >> install.sh ;; base) DOCKER_IMAGE=asia.gcr.io/pfn-public-ci/chainer-chem-py$PYTHON-chainerx-cpu-base:latest + echo pip install chainer==${BASE} >> install.sh ;; esac fi