Skip to content

Conversation

@jcrist
Copy link
Member

@jcrist jcrist commented Nov 19, 2025

With all the work in #7317, we're now at a point where target_dtype is no longer used.

This PR removes target_dtype and all supporting infra. This simplifies our decorators and base class, and reduces the amount of state stored on an estimator. Since this was all private implementation details, this is not a breaking change.

This was only ever called to set the output type, easier to delete and
just use `_set_output_type` directly.
@jcrist jcrist self-assigned this Nov 19, 2025
@jcrist jcrist added the Cython / Python Cython or Python issue label Nov 19, 2025
@jcrist jcrist requested a review from a team as a code owner November 19, 2025 23:14
@jcrist jcrist added improvement Improvement / enhancement to an existing function non-breaking Non-breaking change labels Nov 19, 2025
@jcrist jcrist requested a review from dantegd November 19, 2025 23:14
Copy link
Member

@aamijar aamijar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we update the wiki?

2. Set `target_dtype` attribute

@jcrist
Copy link
Member Author

jcrist commented Nov 20, 2025

Looks like a lot of that doc is out of date. I'd prefer to handle that in a followup, it's more than just ripping out target_dtype from the the doc.

@jcrist jcrist requested a review from csadorf November 20, 2025 17:07
@jcrist
Copy link
Member Author

jcrist commented Nov 20, 2025

/merge

@rapids-bot rapids-bot bot merged commit f69ab90 into rapidsai:release/25.12 Nov 20, 2025
105 checks passed
@jcrist jcrist deleted the remove-output-dtype branch November 20, 2025 20:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Cython / Python Cython or Python issue improvement Improvement / enhancement to an existing function non-breaking Non-breaking change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants