Skip to content
Closed

DEBUG #8979

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions .github/scripts/setup-env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
12 changes: 6 additions & 6 deletions packaging/post_build_script.sh
Original file line number Diff line number Diff line change
@@ -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
Loading