File tree Expand file tree Collapse file tree 3 files changed +12
-3
lines changed
Expand file tree Collapse file tree 3 files changed +12
-3
lines changed Original file line number Diff line number Diff line change 11#! /bin/bash
2- LD_LIBRARY_PATH=" /usr/local/lib:$CUDA_HOME /lib64:$LD_LIBRARY_PATH " python packaging/wheel/relocate.py
2+ set -euxo pipefail
3+
4+ if [ -n " ${CUDA_HOME:- } " ]; then
5+ LD_LIBRARY_PATH=" /usr/local/lib:${CUDA_HOME} /lib64:${LD_LIBRARY_PATH} "
6+ fi
7+
8+ python packaging/wheel/relocate.py
39
410if [[ " $( uname) " == " Linux" && " $( uname -m) " != " aarch64" ]]; then
511 extra_decoders_channel=" --pre --index-url https://download.pytorch.org/whl/nightly/cpu"
Original file line number Diff line number Diff line change 3636 conda install libwebp -y
3737 conda install libjpeg-turbo -c pytorch
3838 yum install -y freetype gnutls
39- pip install auditwheel
39+ pip install " auditwheel<6.3.0 "
4040fi
4141
4242pip install numpy pyyaml future ninja
Original file line number Diff line number Diff line change 1515
1616# Third party imports
1717if sys .platform == "linux" :
18- from auditwheel .lddtree import lddtree
18+ try :
19+ from auditwheel .lddtree import lddtree
20+ except ImportError :
21+ from auditwheel import lddtree
1922
2023
2124ALLOWLIST = {
You can’t perform that action at this time.
0 commit comments