diff --git a/.github/scripts/setup-env.sh b/.github/scripts/setup-env.sh index 8bb61789cdf..69dba458e26 100755 --- a/.github/scripts/setup-env.sh +++ b/.github/scripts/setup-env.sh @@ -98,16 +98,16 @@ echo '::group::Install TorchVision' python setup.py develop echo '::endgroup::' -echo '::group::Install torchvision-extra-decoders' -# This can be done after torchvision was built -if [[ "$(uname)" == "Linux" && "$(uname -m)" != "aarch64" ]]; then - extra_decoders_channel="--pre --index-url https://download.pytorch.org/whl/nightly/cpu" -else - extra_decoders_channel="" -fi +# echo '::group::Install torchvision-extra-decoders' +# # This can be done after torchvision was built +# if [[ "$(uname)" == "Linux" && "$(uname -m)" != "aarch64" ]]; then +# extra_decoders_channel="--pre --index-url https://download.pytorch.org/whl/nightly/cpu" +# else +# extra_decoders_channel="" +# fi -pip install torchvision-extra-decoders $extra_decoders_channel -echo '::endgroup::' +# pip install torchvision-extra-decoders $extra_decoders_channel +# echo '::endgroup::' echo '::group::Collect environment information' conda list diff --git a/packaging/post_build_script.sh b/packaging/post_build_script.sh index 5b7414b2f03..5f55f17be62 100644 --- a/packaging/post_build_script.sh +++ b/packaging/post_build_script.sh @@ -1,10 +1,10 @@ #!/bin/bash LD_LIBRARY_PATH="/usr/local/lib:$CUDA_HOME/lib64:$LD_LIBRARY_PATH" python packaging/wheel/relocate.py -if [[ "$(uname)" == "Linux" && "$(uname -m)" != "aarch64" ]]; then - extra_decoders_channel="--pre --index-url https://download.pytorch.org/whl/nightly/cpu" -else - extra_decoders_channel="" -fi +# if [[ "$(uname)" == "Linux" && "$(uname -m)" != "aarch64" ]]; then +# extra_decoders_channel="--pre --index-url https://download.pytorch.org/whl/nightly/cpu" +# else +# extra_decoders_channel="" +# fi -pip install torchvision-extra-decoders $extra_decoders_channel +# pip install torchvision-extra-decoders $extra_decoders_channel