easyconfigs-it4i/t/Tensorflow/TensorFlow-2.8.4_exclude-xnnpack-on-ppc.patch
easybuild 3178cb7962 new file: f/flatbuffers/flatbuffers-2.0.7-GCCcore-11.3.0.eb
new file:   o/OpenMPI/OpenMPI-4.1.4-GCC-12.2.0.eb
	modified:   q/QuantumESPRESSO/QuantumESPRESSO-7.1-NVHPC-21.9.eb
	new file:   t/Tensorflow/TensorFlow-2.10.1-foss-2022a-CUDA-11.7.0.eb
	new file:   t/Tensorflow/TensorFlow-2.8.4_exclude-xnnpack-on-ppc.patch
	new file:   t/Tensorflow/TensorFlow-2.8.4_resolve-gcc-symlinks.patch
	new file:   t/Tensorflow/TensorFlow-2.9.1_remove-duplicate-gpu-tests.patch
	new file:   t/Tensorflow/TensorFlow-2.9.1_remove-libclang-and-io-gcs-deps.patch
	new file:   u/UCX/UCX-1.13.1-GCCcore-12.2.0.eb
	new file:   x/XALT/XALT-2.10.45-GPU-eb.eb
	modified:   x/XALT/XALT-2.10.45-eb.eb
2023-01-25 17:48:29 +01:00

19 lines
602 B
Diff

XNNPACK is not supported on PowerPC so disable it by default.
See https://github.com/tensorflow/tensorflow/issues/58768
Author: Alexander Grund (TU Dresden)
diff --git a/tensorflow/lite/BUILD b/tensorflow/lite/BUILD
index 198f949b341..d15dcf9a80d 100644
--- a/tensorflow/lite/BUILD
+++ b/tensorflow/lite/BUILD
@@ -709,6 +709,8 @@ cc_library(
deps = select({
"//tensorflow:macos": [],
"//tensorflow:fuchsia": [],
+ # XNNPACK is not supported on PPC
+ "//tensorflow:linux_ppc64le": [],
"//conditions:default": [":tflite_with_xnnpack_enabled"],
}),
)