File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -100,7 +100,7 @@ echo '::endgroup::'
100100
101101echo ' ::group::Install torchvision-extra-decoders'
102102# This can be done after torchvision was built
103- if [[ " $( uname) " == " Linux" && " $ARCH " != " aarch64" ]]; then
103+ if [[ " $( uname) " == " Linux" && " $( uname -m ) " != " aarch64" ]]; then
104104 extra_decoders_channel=" --pre --index-url https://download.pytorch.org/whl/nightly/cpu"
105105else
106106 extra_decoders_channel=" "
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- if [[ " $( uname) " == " Linux" && " $ARCH " != " aarch64" ]]; then
4+ if [[ " $( uname) " == " Linux" && " $( uname -m ) " != " aarch64" ]]; then
55 extra_decoders_channel=" --pre --index-url https://download.pytorch.org/whl/nightly/cpu"
66else
77 extra_decoders_channel=" "
You can’t perform that action at this time.
0 commit comments