File tree Expand file tree Collapse file tree 2 files changed +14
-2
lines changed Expand file tree Collapse file tree 2 files changed +14
-2
lines changed Original file line number Diff line number Diff line change @@ -100,7 +100,13 @@ echo '::endgroup::'
100100
101101echo ' ::group::Install torchvision-extra-decoders'
102102# This can be done after torchvision was built
103- pip install torchvision-extra-decoders
103+ if [[ " $( uname) " == " Linux" && " $( uname -m) " != " aarch64" ]]; then
104+ extra_decoders_channel=" --pre --index-url https://download.pytorch.org/whl/nightly/cpu"
105+ else
106+ extra_decoders_channel=" "
107+ fi
108+
109+ pip install torchvision-extra-decoders $extra_decoders_channel
104110echo ' ::endgroup::'
105111
106112echo ' ::group::Collect environment information'
Original file line number Diff line number Diff line change 11#! /bin/bash
22LD_LIBRARY_PATH=" /usr/local/lib:$CUDA_HOME /lib64:$LD_LIBRARY_PATH " python packaging/wheel/relocate.py
33
4- pip install torchvision-extra-decoders
4+ if [[ " $( uname) " == " Linux" && " $( uname -m) " != " aarch64" ]]; then
5+ extra_decoders_channel=" --pre --index-url https://download.pytorch.org/whl/nightly/cpu"
6+ else
7+ extra_decoders_channel=" "
8+ fi
9+
10+ pip install torchvision-extra-decoders $extra_decoders_channel
You can’t perform that action at this time.
0 commit comments