From d25fbdd9c83efd8c8c547007964f9dd4f46cfeeb Mon Sep 17 00:00:00 2001 From: atalman Date: Fri, 20 May 2022 10:48:26 -0700 Subject: [PATCH] Release 1.12 Install torch from test channel, Pin builder and xla repo --- .circleci/scripts/binary_checkout.sh | 2 +- .jenkins/pytorch/common_utils.sh | 2 +- .jenkins/pytorch/test.sh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.circleci/scripts/binary_checkout.sh b/.circleci/scripts/binary_checkout.sh index 86bfeb77e6ac4..03b76275d1105 100755 --- a/.circleci/scripts/binary_checkout.sh +++ b/.circleci/scripts/binary_checkout.sh @@ -62,7 +62,7 @@ git --no-pager log --max-count 1 popd # Clone the Builder master repo -retry git clone -q https://github.com/pytorch/builder.git "$BUILDER_ROOT" +retry git clone -q https://github.com/pytorch/builder.git -b release/1.12 "$BUILDER_ROOT" pushd "$BUILDER_ROOT" echo "Using builder from " git --no-pager log --max-count 1 diff --git a/.jenkins/pytorch/common_utils.sh b/.jenkins/pytorch/common_utils.sh index 4b0c75aa0ede1..be752d427ff0b 100644 --- a/.jenkins/pytorch/common_utils.sh +++ b/.jenkins/pytorch/common_utils.sh @@ -99,6 +99,6 @@ function checkout_install_torchvision() { function clone_pytorch_xla() { if [[ ! -d ./xla ]]; then - git clone --recursive --quiet https://github.com/pytorch/xla.git + git clone --recursive -b release/1.12 https://github.com/pytorch/xla.git fi } diff --git a/.jenkins/pytorch/test.sh b/.jenkins/pytorch/test.sh index d71e19e38c79c..8f30bd6effe82 100755 --- a/.jenkins/pytorch/test.sh +++ b/.jenkins/pytorch/test.sh @@ -460,7 +460,7 @@ test_forward_backward_compatibility() { python -m venv venv # shellcheck disable=SC1091 . venv/bin/activate - pip_install --pre torch -f https://download.pytorch.org/whl/nightly/cpu/torch_nightly.html + pip_install --pre torch -f https://download.pytorch.org/whl/test/cpu/torch_test.html pip show torch python dump_all_function_schemas.py --filename nightly_schemas.txt # FC: verify newmodel can be load with old code.