Skip to content

[CI] Dask OneHotEncoder CuPy test fails during task serialization on Python 3.14 #8487

Description

@csadorf

Summary

Failing test/component: test_dask_one_hot_encoder.py::test_onehot_random_inputs[10-sparse-cupy-None]

Failure observed in:

Environment

  • OS: ubuntu26.04, arm64
  • Python version: 3.14.7
  • CUDA version: 13.3.0
  • GPU: GB300
  • Dependencies: latest-deps; cuml-cu13==26.10.0a70.post260818062854, dask==2026.7.1, distributed==2026.7.1, pytest==9.1.1

Test Details

  • Test file: python/cuml/cuml/tests/dask/test_dask_one_hot_encoder.py
  • Test name: test_onehot_random_inputs[10-sparse-cupy-None]
  • Error message:
    ExceptionGroup: multiple unraisable exception warnings (5 sub-exceptions)
    
    _pickle.PicklingError: Can't pickle <function _to_cudf ...>:
    it's not the same object as cuml.dask.common.dask_arr_utils._to_cudf
    when serializing dask._task_spec.Task object
    
    RecursionError: Stack overflow (used 8097 kB)
    RuntimeError: Failed to process unraisable exception
    

The job completed with 1 failed, 850 passed, 3685 skipped, 4 xfailed.

Root Cause Analysis

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingci

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions