Skip to content
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

Skip dask pytest NN hang in CUDA 11.4 CI #5665

Merged
merged 5 commits into from
Nov 30, 2023
Merged
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
12 changes: 12 additions & 0 deletions python/cuml/tests/dask/test_dask_nearest_neighbors.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
# limitations under the License.
#

import platform
from cuml.testing.utils import array_equal
from sklearn.neighbors import KNeighborsClassifier
from cuml.testing.utils import unit_param, quality_param, stress_param
Expand All @@ -29,6 +30,17 @@
pd = cpu_only_import("pandas")

np = cpu_only_import("numpy")
cp = gpu_only_import("cupy")


IS_ARM = platform.processor() == "aarch64"

if IS_ARM and cp.cuda.runtime.runtimeGetVersion() < 11080:
pytest.skip(
"Test hang in AARCH64 with CUDA < 11.8: "
"https://github.com/rapidsai/cuml/issues/5673",
allow_module_level=True,
)


def predict(neigh_ind, _y, n_neighbors):
Expand Down