Skip to content

Commit 70ae396

Browse files
committed
poetry_fix
1 parent b124986 commit 70ae396

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.github/scripts/validate_poetry.sh

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,16 +19,14 @@ if [[ ! -z ${RELEASE_VERSION} ]]; then
1919
RELEASE_SUFFIX="@${RELEASE_VERSION}"
2020
fi
2121

22-
# Installing poetry from our custom repo. We need to configure it before use and disable authentication
23-
export PYTHON_KEYRING_BACKEND=keyring.backends.null.Keyring
24-
poetry source add --priority=explicit pytorch "https://download.pytorch.org/whl/${MATRIX_DESIRED_CUDA}"
22+
2523
if [[ ${TORCH_ONLY} == 'true' ]]; then
2624
poetry --quiet add torch${RELEASE_SUFFIX}
2725
else
2826
poetry --quiet add --source pytorch torch${RELEASE_SUFFIX} torchaudio torchvision
2927
fi
3028

31-
python ../test/smoke_test/smoke_test.py ${TEST_SUFFIX} --runtime-error-check disabled
29+
python ../test/smoke_test/smoke_test.py --package torchonly --runtime-error-check disabled
3230
conda deactivate
3331
conda env remove -p ${ENV_NAME}_poetry
3432
cd ..

0 commit comments

Comments
 (0)