Fix backward compatibility tests (#66186)
authorNikita Shulga <nshulga@fb.com>
Wed, 6 Oct 2021 03:12:13 +0000 (20:12 -0700)
committerGitHub <noreply@github.com>
Wed, 6 Oct 2021 03:12:13 +0000 (20:12 -0700)
Compare operator list against RC1 build rather than against nightly

.jenkins/pytorch/test.sh

index 3f39431..a063751 100755 (executable)
@@ -424,7 +424,7 @@ test_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_nightly.html
   pip show torch
   python dump_all_function_schemas.py --filename nightly_schemas.txt
   deactivate