Skip to content

Run the test_svc_methods in isolation #6513

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 17 additions & 2 deletions ci/test_python_singlegpu.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Copyright (c) 2022-2025, NVIDIA CORPORATION.

# Support invoking test_python_singlegpu.sh outside the script directory
cd "$(dirname "$(realpath "${BASH_SOURCE[0]}")")"/../
cd "$(dirname "$(realpath "${BASH_SOURCE[0]}")")"/../ || exit 1

# Common setup steps shared by Python test jobs
source ./ci/test_python_common.sh
Expand All @@ -12,18 +12,33 @@ trap "EXITCODE=1" ERR
set +e

rapids-logger "pytest cuml single GPU"
# Run all tests except test_svc_methods in the main test suite
./ci/run_cuml_singlegpu_pytests.sh \
--numprocesses=8 \
--dist=worksteal \
-k 'not test_svc_methods' \
--junitxml="${RAPIDS_TESTS_DIR}/junit-cuml.xml" \
--cov-config=../../.coveragerc \
--cov=cuml \
--cov-report=xml:"${RAPIDS_COVERAGE_DIR}/cuml-coverage.xml"

rapids-logger "pytest cuml accelerator"
# Run test_svc_methods separately due to known issues with CUDA 11.8
# See: https://github.com/rapidsai/cuml/issues/6480
# The tests segfault in decision_function on CUDA 11.8.
./ci/run_cuml_singlegpu_pytests.sh \
-k 'test_svc_methods' \
--junitxml="${RAPIDS_TESTS_DIR}/junit-cuml-svc.xml" \
--cov-config=../../.coveragerc \
--cov=cuml \
--cov-report=xml:"${RAPIDS_COVERAGE_DIR}/cuml-svc-coverage.xml"

rapids-logger "pytest cuml accelerator"
# Skip test_svc_methods in accelerator tests due to known issues with CUDA 11.8
# See: https://github.com/rapidsai/cuml/issues/6480
./ci/run_cuml_singlegpu_accel_pytests.sh \
--numprocesses=8 \
--dist=worksteal \
-k 'not test_svc_methods' \
--junitxml="${RAPIDS_TESTS_DIR}/junit-cuml-accel.xml" \
--cov-config=../../../.coveragerc \
--cov=cuml \
Expand Down
Loading