File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ if [[ "$(uname)" == Darwin ]]; then
1111 conda install -yq wget
1212fi
1313
14- if [[ " $( uname) " == Darwin || " $OSTYPE " == " msys" || " $ARCH " == " aarch64 " ]]; then
14+ if [[ " $( uname) " == Darwin || " $OSTYPE " == " msys" ]]; then
1515 # Install libpng from Anaconda (defaults)
1616 conda install libpng -yq
1717 conda install -yq ffmpeg=4.2 libjpeg-turbo -c pytorch
@@ -22,8 +22,13 @@ if [[ "$(uname)" == Darwin || "$OSTYPE" == "msys" || "$ARCH" == "aarch64" ]]; th
2222 bin_path=$( dirname $python_exec )
2323 cp " $bin_path /Library/bin/libjpeg.dll" torchvision
2424 fi
25-
2625else
26+
27+ if [[ " $ARCH " == " aarch64" ]]; then
28+ conda install libpng -yq
29+ conda install -yq ffmpeg=4.2 libjpeg-turbo -c pytorch-nightly
30+ fi
31+
2732 # Install native CentOS libJPEG, freetype and GnuTLS
2833 yum install -y libjpeg-turbo-devel freetype gnutls
2934
You can’t perform that action at this time.
0 commit comments