Skip to content

Commit a9c78f1

Browse files
authored
.cirlceci: Be specific about CU_VERSION for pytorch (#2827)
ROCM builds were being picked up for CUDA 10.2 builds since they do not specify a version suffix. We can utilize the CU_VERSION to be specific about which index to actually pull from. Signed-off-by: Eli Uriegas <[email protected]>
1 parent b480903 commit a9c78f1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packaging/pkg_helpers.bash

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -234,9 +234,9 @@ setup_pip_pytorch_version() {
234234
fi
235235
else
236236
pip_install "torch==$PYTORCH_VERSION$PYTORCH_VERSION_SUFFIX" \
237-
-f https://download.pytorch.org/whl/torch_stable.html \
238-
-f https://download.pytorch.org/whl/test/torch_test.html \
239-
-f https://download.pytorch.org/whl/nightly/torch_nightly.html
237+
-f "https://download.pytorch.org/whl/${CU_VERSION}/torch_stable.html" \
238+
-f "https://download.pytorch.org/whl/test/${CU_VERSION}/torch_test.html" \
239+
-f "https://download.pytorch.org/whl/nightly/${CU_VERSION}/torch_nightly.html"
240240
fi
241241
}
242242

0 commit comments

Comments
 (0)