This repository was archived by the owner on Aug 15, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change 11conda create -yp ${ENV_NAME} _pypi python=${MATRIX_PYTHON_VERSION} numpy ffmpeg
2+ conda activate ${ENV_NAME} _pypi
23
34TEST_SUFFIX=" "
45if [[ ${TORCH_ONLY} == ' true' ]]; then
56 TEST_SUFFIX=" --package torchonly"
6- conda run -p ${ENV_NAME} _pypi pip3 install --pre torch --index-url " https://download.pytorch.org/whl/${MATRIX_CHANNEL} /${MATRIX_DESIRED_CUDA} _pypi_cudnn"
7+ pip3 install --pre torch --index-url " https://download.pytorch.org/whl/${MATRIX_CHANNEL} /${MATRIX_DESIRED_CUDA} _pypi_cudnn"
78else
89 if [[ ${MATRIX_CHANNEL} != " release" ]]; then
9- conda run -p ${ENV_NAME} _pypi pip3 install --pre torch --index-url " https://download.pytorch.org/whl/${MATRIX_CHANNEL} /${MATRIX_DESIRED_CUDA} _pypi_cudnn"
10- conda run -p ${ENV_NAME} _pypi pip3 install --pre torchvision torchaudio --index-url " https://download.pytorch.org/whl/${MATRIX_CHANNEL} /${MATRIX_DESIRED_CUDA} "
10+ pip3 install --pre torch --index-url " https://download.pytorch.org/whl/${MATRIX_CHANNEL} /${MATRIX_DESIRED_CUDA} _pypi_cudnn"
11+ pip3 install --pre torchvision torchaudio --index-url " https://download.pytorch.org/whl/${MATRIX_CHANNEL} /${MATRIX_DESIRED_CUDA} "
1112 else
12- conda run -p ${ENV_NAME} _pypi pip3 install torch torchvision torchaudio
13+ pip3 install torch torchvision torchaudio
1314 fi
1415fi
1516
16- conda run -p ${ENV_NAME} _pypi python ./test/smoke_test/smoke_test.py ${TEST_SUFFIX} --runtime-error-check disabled
17+ python ./test/smoke_test/smoke_test.py ${TEST_SUFFIX} --runtime-error-check disabled
18+
1719conda deactivate
1820conda env remove -p ${ENV_NAME} _pypi
You can’t perform that action at this time.
0 commit comments