From b6abfafddbdb50b062ad5f90fbec97af1a996270 Mon Sep 17 00:00:00 2001 From: David Wendt Date: Wed, 19 Aug 2026 10:08:02 -0400 Subject: [PATCH 1/4] Use no:xdist on pylibcudf stream checking pytests --- ci/run_pylibcudf_pytests.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/ci/run_pylibcudf_pytests.sh b/ci/run_pylibcudf_pytests.sh index 171be767a01b..e6c2718df447 100755 --- a/ci/run_pylibcudf_pytests.sh +++ b/ci/run_pylibcudf_pytests.sh @@ -1,5 +1,5 @@ #!/bin/bash -# SPDX-FileCopyrightText: Copyright (c) 2025, NVIDIA CORPORATION. +# SPDX-FileCopyrightText: Copyright (c) 2025-2026, NVIDIA CORPORATION & AFFILIATES. All rights reserved. # SPDX-License-Identifier: Apache-2.0 set -euo pipefail @@ -39,8 +39,9 @@ EOF # Support invoking run_cudf_pytests.sh outside the script directory cd "$(dirname "$(realpath "${BASH_SOURCE[0]}")")"/../python/pylibcudf/ +# If the stream testing library was found, split the tests into two passes. if [ -n "$TESTING_LIB" ] && [ -f "$TESTING_LIB" ]; then - # If the stream testing library was found, split the tests into two passes. - LD_PRELOAD="$TESTING_LIB" PYLIBCUDF_STREAM_TESTING=1 pytest --cache-clear -m "not uses_custom_stream" --ignore="benchmarks" "$@" tests + # run the custom stream tests without xdist to ease the burden on the compute-sanitizer checks + LD_PRELOAD="$TESTING_LIB" PYLIBCUDF_STREAM_TESTING=1 pytest --cache-clear -m "not uses_custom_stream" --ignore="benchmarks" -p no:xdist tests fi pytest --cache-clear --ignore="benchmarks" "$@" tests From 67d15feb318a266f31420fbb468bebc8e3a25032 Mon Sep 17 00:00:00 2001 From: David Wendt Date: Wed, 19 Aug 2026 10:16:06 -0400 Subject: [PATCH 2/4] change comment wording --- ci/run_pylibcudf_pytests.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ci/run_pylibcudf_pytests.sh b/ci/run_pylibcudf_pytests.sh index e6c2718df447..e79ff34d8834 100755 --- a/ci/run_pylibcudf_pytests.sh +++ b/ci/run_pylibcudf_pytests.sh @@ -41,7 +41,7 @@ cd "$(dirname "$(realpath "${BASH_SOURCE[0]}")")"/../python/pylibcudf/ # If the stream testing library was found, split the tests into two passes. if [ -n "$TESTING_LIB" ] && [ -f "$TESTING_LIB" ]; then - # run the custom stream tests without xdist to ease the burden on the compute-sanitizer checks + # run the stream tests without xdist to ease the burden on the compute-sanitizer checks LD_PRELOAD="$TESTING_LIB" PYLIBCUDF_STREAM_TESTING=1 pytest --cache-clear -m "not uses_custom_stream" --ignore="benchmarks" -p no:xdist tests fi pytest --cache-clear --ignore="benchmarks" "$@" tests From d81166d04dec8d10a1000c4917a68f5bef5ab5f9 Mon Sep 17 00:00:00 2001 From: David Wendt Date: Fri, 21 Aug 2026 10:20:05 -0400 Subject: [PATCH 3/4] skip segfault on 12.2 --- ci/run_pylibcudf_pytests.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ci/run_pylibcudf_pytests.sh b/ci/run_pylibcudf_pytests.sh index e79ff34d8834..3478014ffb4c 100755 --- a/ci/run_pylibcudf_pytests.sh +++ b/ci/run_pylibcudf_pytests.sh @@ -40,7 +40,8 @@ EOF cd "$(dirname "$(realpath "${BASH_SOURCE[0]}")")"/../python/pylibcudf/ # If the stream testing library was found, split the tests into two passes. -if [ -n "$TESTING_LIB" ] && [ -f "$TESTING_LIB" ]; then +echo "CUDA_VERSION: $CUDA_VERSION" +if [ -n "$TESTING_LIB" ] && [ -f "$TESTING_LIB" ] && [ "$CUDA_VERSION" != "12.2.2" ]; then # run the stream tests without xdist to ease the burden on the compute-sanitizer checks LD_PRELOAD="$TESTING_LIB" PYLIBCUDF_STREAM_TESTING=1 pytest --cache-clear -m "not uses_custom_stream" --ignore="benchmarks" -p no:xdist tests fi From 1baf601801a0255b5e0488c905bc9bea4d011386 Mon Sep 17 00:00:00 2001 From: David Wendt Date: Fri, 21 Aug 2026 10:30:09 -0400 Subject: [PATCH 4/4] change env var name --- ci/run_pylibcudf_pytests.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ci/run_pylibcudf_pytests.sh b/ci/run_pylibcudf_pytests.sh index 3478014ffb4c..b4ba91dfdc10 100755 --- a/ci/run_pylibcudf_pytests.sh +++ b/ci/run_pylibcudf_pytests.sh @@ -40,8 +40,8 @@ EOF cd "$(dirname "$(realpath "${BASH_SOURCE[0]}")")"/../python/pylibcudf/ # If the stream testing library was found, split the tests into two passes. -echo "CUDA_VERSION: $CUDA_VERSION" -if [ -n "$TESTING_LIB" ] && [ -f "$TESTING_LIB" ] && [ "$CUDA_VERSION" != "12.2.2" ]; then +echo "RAPIDS_CUDA_VERSION: $RAPIDS_CUDA_VERSION" +if [ -n "$TESTING_LIB" ] && [ -f "$TESTING_LIB" ] && [ "$RAPIDS_CUDA_VERSION" != "12.2.2" ]; then # run the stream tests without xdist to ease the burden on the compute-sanitizer checks LD_PRELOAD="$TESTING_LIB" PYLIBCUDF_STREAM_TESTING=1 pytest --cache-clear -m "not uses_custom_stream" --ignore="benchmarks" -p no:xdist tests fi