easyconfigs-it4i/t/TensorFlow/TensorFlow-2.9.1_remove-duplicate-gpu-tests.patch
Jakub Kropacek 20f7df7596 new file: d/DFT-D3/DFT-D3-3.2.0-intel-compilers-2022.1.0.eb
new file:   h/Horovod/Horovod-0.27.0-foss-2021a-CUDA-11.7.0-TensorFlow-2.10.1.eb
	modified:   o/OpenMPI/OpenMPI-4.0.6-NVHPC-21.11-CUDA-11.4.1-v2.eb
	modified:   o/OpenMPI/OpenMPI-4.0.6-NVHPC-21.9-CUDA-11.4.1-v2.eb
	modified:   o/OpenMPI/OpenMPI-4.0.7-NVHPC-21.9-CUDA-11.4.1.eb
	modified:   o/OpenMPI/OpenMPI-4.1.2-NVHPC-22.2-CUDA-11.6.0-v2.eb
	modified:   o/OpenMPI/OpenMPI-4.1.2-NVHPC-22.2-CUDA-11.6.0.eb
	new file:   s/Siesta/Siesta-4.1.5-intel-2022a.eb
	new file:   t/TensorFlow/TensorFlow-1.13.1-fosscuda-2019a-Python-3.7.2.eb
	new file:   t/TensorFlow/TensorFlow-2.10.1-foss-2022a-CUDA-11.7.0.eb
	new file:   t/TensorFlow/TensorFlow-2.5.0-fosscuda-2020b.eb
	new file:   t/TensorFlow/TensorFlow-2.7.1-foss-2021b-CUDA-11.4.1.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_fix-include-def.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:   t/TensorFlow/TensorFlow-2.9.1_test.patch
	new file:   t/TensorFlow/TensorFlow-test.eb
	new file:   t/TensorFlow/Tensorflow-1.1.0-CUDA-7.5.18-Python-3.6.1.eb
	new file:   t/TensorFlow/Tensorflow-1.1.0-CUDA-8.0.44-Python-3.6.1.eb
	new file:   t/TensorFlow/Tensorflow-1.1.0-Python-3.6.1.eb
	new file:   t/TensorFlow/Tensorflow-1.12.0-GCC-6.3.0-2.27-Python-3.6.1.eb
	new file:   t/TensorFlow/Tensorflow-1.2.0-GCC-7.1.0-2.28.eb
	new file:   t/TensorFlow/Tensorflow-1.2.1-Python-3.6.1.eb
	new file:   t/TensorFlow/Tensorflow-1.6.0rc0-CUDA-9.0.176-Python-3.6.1.eb
	new file:   t/TensorFlow/Tensorflow-1.6.0rc0-Python-3.6.1.eb
	new file:   t/TensorFlow/Tensorflow-Python-3.6.1.eb
	new file:   t/TensorFlow/old-TensorFlow-2.10.0-foss-2022a-CUDA-11.7.0.eb
	new file:   w/WIEN2k/WIEN2k-23.2-intel-2021a.eb
	new file:   w/WIEN2k/WIEN2k-23.2-intel-2022a.eb
	deleted:    t/Tensorflow/TensorFlow-1.13.1-fosscuda-2019a-Python-3.7.2.eb
	deleted:    t/Tensorflow/TensorFlow-2.10.1-foss-2022a-CUDA-11.7.0.eb
	deleted:    t/Tensorflow/TensorFlow-2.5.0-fosscuda-2020b.eb
	deleted:    t/Tensorflow/TensorFlow-2.7.1-foss-2021b-CUDA-11.4.1.eb
	deleted:    t/Tensorflow/TensorFlow-2.8.4_exclude-xnnpack-on-ppc.patch
	deleted:    t/Tensorflow/TensorFlow-2.8.4_resolve-gcc-symlinks.patch
	deleted:    t/Tensorflow/TensorFlow-2.9.1_fix-include-def.patch
	deleted:    t/Tensorflow/TensorFlow-2.9.1_remove-duplicate-gpu-tests.patch
	deleted:    t/Tensorflow/TensorFlow-2.9.1_remove-libclang-and-io-gcs-deps.patch
	deleted:    t/Tensorflow/TensorFlow-2.9.1_test.patch
	deleted:    t/Tensorflow/TensorFlow-test.eb
	deleted:    t/Tensorflow/Tensorflow-1.1.0-CUDA-7.5.18-Python-3.6.1.eb
	deleted:    t/Tensorflow/Tensorflow-1.1.0-CUDA-8.0.44-Python-3.6.1.eb
	deleted:    t/Tensorflow/Tensorflow-1.1.0-Python-3.6.1.eb
	deleted:    t/Tensorflow/Tensorflow-1.12.0-GCC-6.3.0-2.27-Python-3.6.1.eb
	deleted:    t/Tensorflow/Tensorflow-1.2.0-GCC-7.1.0-2.28.eb
	deleted:    t/Tensorflow/Tensorflow-1.2.1-Python-3.6.1.eb
	deleted:    t/Tensorflow/Tensorflow-1.6.0rc0-CUDA-9.0.176-Python-3.6.1.eb
	deleted:    t/Tensorflow/Tensorflow-1.6.0rc0-Python-3.6.1.eb
	deleted:    t/Tensorflow/Tensorflow-Python-3.6.1.eb
	deleted:    t/Tensorflow/old-TensorFlow-2.10.0-foss-2022a-CUDA-11.7.0.eb
2023-03-08 13:18:55 +01:00

56 lines
1.7 KiB
Diff

TensorFlow adds some GPU tests twice increasing the runtime of the test suite.
This filters out the test part meant for CPU.
See https://github.com/tensorflow/tensorflow/issues/47081
From https://github.com/tensorflow/tensorflow/pull/59129
Author: Alexander Grund (TU Dresden)
---
tensorflow/tensorflow.bzl | 33 +++++++++++++++++----------------
1 file changed, 17 insertions(+), 16 deletions(-)
diff --git a/tensorflow/tensorflow.bzl b/tensorflow/tensorflow.bzl
index 649c8e22dcc95..d3fc0e3221497 100644
--- a/tensorflow/tensorflow.bzl
+++ b/tensorflow/tensorflow.bzl
@@ -1461,22 +1461,23 @@ def tf_gpu_cc_test(
linkopts = [],
**kwargs):
targets = []
- tf_cc_test(
- name = name,
- size = size,
- srcs = srcs,
- args = args,
- data = data,
- extra_copts = extra_copts + if_cuda(["-DNV_CUDNN_DISABLE_EXCEPTION"]),
- kernels = kernels,
- linkopts = linkopts,
- linkstatic = linkstatic,
- suffix = "_cpu",
- tags = tags,
- deps = deps,
- **kwargs
- )
- targets.append(name + "_cpu")
+ if 'gpu' not in tags:
+ tf_cc_test(
+ name = name,
+ size = size,
+ srcs = srcs,
+ args = args,
+ data = data,
+ extra_copts = extra_copts + if_cuda(["-DNV_CUDNN_DISABLE_EXCEPTION"]),
+ kernels = kernels,
+ linkopts = linkopts,
+ linkstatic = linkstatic,
+ suffix = "_cpu",
+ tags = tags,
+ deps = deps,
+ **kwargs
+ )
+ targets.append(name + "_cpu")
tf_cc_test(
name = name,
size = size,