rapidsai / cuml

cuML - RAPIDS Machine Learning Library
https://docs.rapids.ai/api/cuml/stable/
Apache License 2.0
4.26k stars 535 forks source link

[BUG] cudf Series code failing: "TypeError: use cudf.Series._from_data" #6017

Closed jameslamb closed 3 months ago

jameslamb commented 3 months ago

Describe the bug

On 24.10, a few dozen tests are failing like this:

TypeError: Use cudf.Series._from_data for constructing a Series from ColumnAccessor or a ColumnBase

Observed this in CI that wasn't touching any Python code (e.g. #6012).

Steps/Code to reproduce bug

CI from #6012: (build link)

Expected behavior

N/A

Environment details (please complete the following information):

Using the latest cudf 24.10 nightlies.

This does not appear to be limited to a specific subset of Python version, CPU architecture, or CUDA version. It affects both wheel and conda packages.

Additional context

I believe this is the same root cause as https://github.com/rapidsai/cuspatial/issues/1433.

Specifically, cuml needs to adapt to these changes: https://github.com/rapidsai/cudf/pull/16454

For reference, here's how @mroeschke is approaching this in cuspatial: https://github.com/rapidsai/cuspatial/pull/1434