From c22797722e114343f4e24188a39516af671858dd Mon Sep 17 00:00:00 2001 From: Tanja Bayer Date: Mon, 21 Dec 2020 11:50:49 +0100 Subject: [PATCH 1/2] consitent usage of python-version --- build-docker.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/build-docker.sh b/build-docker.sh index 6989ad9c03ce..b654b307a931 100755 --- a/build-docker.sh +++ b/build-docker.sh @@ -8,7 +8,7 @@ set -x GPU="" BASE_IMAGE="ubuntu:focal" WHEEL_URL="https://s3-us-west-2.amazonaws.com/ray-wheels/latest/ray-1.2.0.dev0-cp37-cp37m-manylinux2014_x86_64.whl" -PYTHON_VERSION="" +PYTHON_VERSION="3.7.7" while [[ $# -gt 0 ]] do @@ -41,6 +41,7 @@ case $key in --python-version) # Python version to install. e.g. 3.7.7. # Changing python versions may require a different wheel. + # If not provided defaults to 3.7.7 shift PYTHON_VERSION=$1 ;; @@ -59,7 +60,7 @@ for IMAGE in "base-deps" "ray-deps" "ray" do cp "$WHEEL" "docker/$IMAGE/$(basename "$WHEEL")" if [ $OUTPUT_SHA ]; then - IMAGE_SHA=$(docker build $NO_CACHE --build-arg GPU="$GPU" --build-arg BASE_IMAGE="$BASE_IMAGE" --build-arg WHEEL_PATH="$(basename "$WHEEL")" -q -t rayproject/$IMAGE:nightly$GPU docker/$IMAGE) + IMAGE_SHA=$(docker build $NO_CACHE --build-arg GPU="$GPU" --build-arg BASE_IMAGE="$BASE_IMAGE" --build-arg WHEEL_PATH="$(basename "$WHEEL")" --build-arg PYTHON_VERSION="$PYTHON_VERSION" -q -t rayproject/$IMAGE:nightly$GPU docker/$IMAGE) echo "rayproject/$IMAGE:nightly$GPU SHA:$IMAGE_SHA" else docker build $NO_CACHE --build-arg GPU="$GPU" --build-arg BASE_IMAGE="$BASE_IMAGE" --build-arg WHEEL_PATH="$(basename "$WHEEL")" --build-arg PYTHON_VERSION="$PYTHON_VERSION" -t rayproject/$IMAGE:nightly$GPU docker/$IMAGE From 5fe03f54a60befce074158ed8ac1e2b13fd16b74 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 12 Aug 2021 11:02:22 +0000 Subject: [PATCH 2/2] [tune](deps): Bump torchvision in /python/requirements/tune Bumps [torchvision](https://github.com/pytorch/vision) from 0.9.1 to 0.10.0. - [Release notes](https://github.com/pytorch/vision/releases) - [Commits](https://github.com/pytorch/vision/compare/v0.9.1...v0.10.0) --- updated-dependencies: - dependency-name: torchvision dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- python/requirements/tune/requirements_tune.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/requirements/tune/requirements_tune.txt b/python/requirements/tune/requirements_tune.txt index b00b9b081523..8801f0f3d883 100644 --- a/python/requirements/tune/requirements_tune.txt +++ b/python/requirements/tune/requirements_tune.txt @@ -43,7 +43,7 @@ torchvision==0.9.1;sys_platform=="darwin" -f https://download.pytorch.org/whl/torch_stable.html torch==1.8.1+cpu;sys_platform!="darwin" -f https://download.pytorch.org/whl/torch_stable.html -torchvision==0.9.1+cpu;sys_platform!="darwin" +torchvision==0.10.0;sys_platform!="darwin" transformers==4.9.1