Skip to content

Commit c708507

Browse files
committed
Debug
1 parent 21d95a4 commit c708507

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

ci/run_cuml_singlegpu_pytests.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@
44
# Support invoking run_cuml_singlegpu_pytests.sh outside the script directory
55
cd "$(dirname "$(realpath "${BASH_SOURCE[0]}")")"/../python/cuml/tests || exit 1
66

7-
python -m pytest --cache-clear --ignore=dask "$@" .
7+
python -m pytest --cache-clear -sv --tb=auto --disable-warnings --ignore=dask "$@" .

python/cuml/tests/test_naive_bayes.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -474,6 +474,10 @@ def test_gaussian_parameters(priors, var_smoothing, nlp_20news):
474474
X = sparse_scipy_to_cp(X[:nrows], x_dtype).todense()[:, :ncols]
475475
y = y.astype(y_dtype)[:nrows]
476476

477+
print()
478+
print(f"{np.unique(y)=}")
479+
print(f"{y=}")
480+
477481
if priors == "balanced":
478482
priors = cp.array([1 / 20] * 20)
479483
elif priors == "unbalanced":

0 commit comments

Comments
 (0)