Skip to content

Commit

Permalink
Release 1.12 Install torch from test channel, Pin builder and xla repo
Browse files Browse the repository at this point in the history
  • Loading branch information
atalman committed May 20, 2022
1 parent a119b7f commit d25fbdd
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .circleci/scripts/binary_checkout.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .jenkins/pytorch/common_utils.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
2 changes: 1 addition & 1 deletion .jenkins/pytorch/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit d25fbdd

Please sign in to comment.