You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if [[ "$(uname)"!='Darwin'||"$PACKAGE_TYPE"!=*wheel ]];then
189
189
if [[ "$(uname -m)"=="aarch64" ]];then
190
190
echo"Checking that MKLDNN is available on aarch64"
@@ -208,7 +208,7 @@ if [[ "$PACKAGE_TYPE" == 'libtorch' ]]; then
208
208
echo"Checking that XNNPACK is available"
209
209
build_and_run_example_cpp check-torch-xnnpack
210
210
else
211
-
if [[ "$(uname)"!='Darwin'||"$PACKAGE_TYPE"!=*wheel ]] && [[ "$(uname -m)"!="s390x" ]];then
211
+
if [[ "$(uname)"!='Darwin'||"$PACKAGE_TYPE"!=*wheel ]] && [[ "$(uname -m)"!="s390x"&&"$(uname -m)"!="ppc64le" ]];then
212
212
echo"Checking that XNNPACK is available"
213
213
pushd /tmp
214
214
python -c 'import torch.backends.xnnpack; exit(0 if torch.backends.xnnpack.enabled else 1)'
@@ -237,7 +237,7 @@ if [[ "$OSTYPE" == "msys" ]]; then
237
237
fi
238
238
239
239
# Test that CUDA builds are setup correctly
240
-
if [[ "$DESIRED_CUDA"!='cpu'&&"$DESIRED_CUDA"!='xpu'&&"$DESIRED_CUDA"!='cpu-cxx11-abi'&&"$DESIRED_CUDA"!=*"rocm"*&&"$(uname -m)"!="s390x" ]];then
240
+
if [[ "$DESIRED_CUDA"!='cpu'&&"$DESIRED_CUDA"!='xpu'&&"$DESIRED_CUDA"!='cpu-cxx11-abi'&&"$DESIRED_CUDA"!=*"rocm"*&&"$(uname -m)"!="s390x"&&"$(uname -m)"!="ppc64le"]];then
241
241
if [[ "$PACKAGE_TYPE"=='libtorch' ]];then
242
242
build_and_run_example_cpp check-torch-cuda
243
243
else
@@ -311,7 +311,7 @@ if [[ "$(uname)" == 'Linux' && "$PACKAGE_TYPE" == 'manywheel' ]]; then
311
311
# gcc 11 - CUDA 11.8, xpu, rocm
312
312
# gcc 13 - CUDA 12.6, 12.8 and cpu
313
313
# Please see issue for reference: https://github.com/pytorch/pytorch/issues/152426
314
-
if [[ "$(uname -m)"=="s390x" ]];then
314
+
if [[ "$(uname -m)"=="s390x"&&"$(uname -m)"!="ppc64le"]];then
0 commit comments