We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9c8a8dc commit 50cb7c5Copy full SHA for 50cb7c5
.github/scripts/validate_test_ops.sh
@@ -6,12 +6,19 @@ retry () {
6
$* || (sleep 1 && $*) || (sleep 2 && $*) || (sleep 4 && $*) || (sleep 8 && $*)
7
}
8
9
+BRANCH = "@main"
10
+if [[ ${MATRIX_CHANNEL} == "test" ]]
11
+ SHORT_VERSION=${MATRIX_STABLE_VERSION%.*}
12
+ BRANCH="@release/${SHORT_VERSION}"
13
+fi
14
+
15
16
# Clone the Pytorch branch
-retry git clone --depth 1 https://github.com/pytorch/pytorch.git
17
+retry git clone --depth 1 https://github.com/pytorch/pytorch.git${BRANCH}
18
retry git submodule update --init --recursive
19
pushd pytorch
20
-pip install expecttest pyyaml jinja2
21
+pip install expecttest pyyaml jinja2 packaging
22
23
# Run test_ops validation
24
export CUDA_LAUNCH_BLOCKING=1
0 commit comments