File tree Expand file tree Collapse file tree 2 files changed +4
-12
lines changed Expand file tree Collapse file tree 2 files changed +4
-12
lines changed Original file line number Diff line number Diff line change 10
10
11
11
if [[ ${TORCH_ONLY} == ' true' ]]; then
12
12
TEST_SUFFIX=" --package torchonly"
13
- pip3 install --pre torch${RELEASE_SUFFIX} --extra-index-url " https://download.pytorch.org/whl/ ${MATRIX_CHANNEL} / ${MATRIX_DESIRED_CUDA} _pypi_cudnn "
13
+ pip3 install torch${RELEASE_SUFFIX}
14
14
else
15
- if [[ ${MATRIX_CHANNEL} != " release" ]]; then
16
- pip3 install --pre torch${RELEASE_SUFFIX} --extra-index-url " https://download.pytorch.org/whl/${MATRIX_CHANNEL} /${MATRIX_DESIRED_CUDA} _pypi_cudnn"
17
- pip3 install --pre torchvision torchaudio --extra-index-url " https://download.pytorch.org/whl/${MATRIX_CHANNEL} /${MATRIX_DESIRED_CUDA} "
18
- else
19
- pip3 install torch${RELEASE_SUFFIX} torchvision torchaudio
20
- fi
15
+ pip3 install torch${RELEASE_SUFFIX} torchvision torchaudio
21
16
fi
22
17
23
18
python ./test/smoke_test/smoke_test.py ${TEST_SUFFIX} --runtime-error-check disabled
Original file line number Diff line number Diff line change 91
91
cat release_matrix.json
92
92
93
93
# Special case PyPi installation package. And Install of PyPi package via poetry
94
- if [[ ${MATRIX_PACKAGE_TYPE} == "manywheel" && ${MATRIX_GPU_ARCH_VERSION} == "12.1" ]]; then
94
+ if [[ ${MATRIX_PACKAGE_TYPE} == "manywheel" && ${MATRIX_GPU_ARCH_VERSION} == "12.1" && ${MATRIX_CHANNEL} == "release" ]]; then
95
95
source ./.github/scripts/validate_pipy.sh
96
-
97
- if [[ ${MATRIX_CHANNEL} == "release" ]]; then
98
- source ./.github/scripts/validate_poetry.sh
99
- fi
96
+ source ./.github/scripts/validate_poetry.sh
100
97
fi
101
98
102
99
# Standart case: Validate binaries
You can’t perform that action at this time.
0 commit comments