From 9abbcfe46b631e9c76991f079b5b974c3de069db Mon Sep 17 00:00:00 2001 From: Geoffrey Martin-Noble Date: Fri, 16 Apr 2021 14:08:09 -0700 Subject: [PATCH] Revert "[ci] Allow parallel testing on NVIDIA GPUs (#5467)" This reverts commit 3eab154df371da7bde5e9af6ee9f8ef4d7348ce6. --- .../kokoro/gcp_ubuntu/cmake-bazel/linux/x86-turing/build.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/build_tools/kokoro/gcp_ubuntu/cmake-bazel/linux/x86-turing/build.sh b/build_tools/kokoro/gcp_ubuntu/cmake-bazel/linux/x86-turing/build.sh index c98889ee52f5..7eb92c337e01 100755 --- a/build_tools/kokoro/gcp_ubuntu/cmake-bazel/linux/x86-turing/build.sh +++ b/build_tools/kokoro/gcp_ubuntu/cmake-bazel/linux/x86-turing/build.sh @@ -69,7 +69,9 @@ echo "Building with Ninja" cd "${CMAKE_BUILD_DIR?}" ninja -export CTEST_PARALLEL_LEVEL=${CTEST_PARALLEL_LEVEL:-$(nproc)} +# Limit parallelism dramatically to avoid exhausting GPU memory +# TODO(#5162): Handle this more robustly +export CTEST_PARALLEL_LEVEL=${CTEST_PARALLEL_LEVEL:-1} # Only test drivers that use the GPU, since we run all tests on non-GPU machines # as well.