Skip to content

Commit d25fbdd

Browse files
committed
Release 1.12 Install torch from test channel, Pin builder and xla repo
1 parent a119b7f commit d25fbdd

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Diff for: .circleci/scripts/binary_checkout.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ git --no-pager log --max-count 1
6262
popd
6363

6464
# Clone the Builder master repo
65-
retry git clone -q https://github.com/pytorch/builder.git "$BUILDER_ROOT"
65+
retry git clone -q https://github.com/pytorch/builder.git -b release/1.12 "$BUILDER_ROOT"
6666
pushd "$BUILDER_ROOT"
6767
echo "Using builder from "
6868
git --no-pager log --max-count 1

Diff for: .jenkins/pytorch/common_utils.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,6 @@ function checkout_install_torchvision() {
9999

100100
function clone_pytorch_xla() {
101101
if [[ ! -d ./xla ]]; then
102-
git clone --recursive --quiet https://github.com/pytorch/xla.git
102+
git clone --recursive -b release/1.12 https://github.com/pytorch/xla.git
103103
fi
104104
}

Diff for: .jenkins/pytorch/test.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -460,7 +460,7 @@ test_forward_backward_compatibility() {
460460
python -m venv venv
461461
# shellcheck disable=SC1091
462462
. venv/bin/activate
463-
pip_install --pre torch -f https://download.pytorch.org/whl/nightly/cpu/torch_nightly.html
463+
pip_install --pre torch -f https://download.pytorch.org/whl/test/cpu/torch_test.html
464464
pip show torch
465465
python dump_all_function_schemas.py --filename nightly_schemas.txt
466466
# FC: verify newmodel can be load with old code.

0 commit comments

Comments
 (0)