Skip to content

Conversation

@TomAugspurger
Copy link
Contributor

Description

This changes to_ast and its usage to split up its validation role from its translation role. The goal is to ensure that the translation, which makes pylibcudf Scalar objects, can be run in an IR.do_evaluate context with access to a CUDA stream.

The major downside of this new implementation is the duplicated code between the validation and translation paths. Determining whether a particular operation is support isn't always trivial. I'll see whether that can be improved.

Closes #20372

This changes `to_ast` and its usage to split up its validation function
from its translation function.

Closes rapidsai#20372
@copy-pr-bot
Copy link

copy-pr-bot bot commented Oct 28, 2025

Auto-sync is disabled for draft pull requests in this repository. Workflows must be run manually.

Contributors can view more details about this message here.

@github-actions github-actions bot added Python Affects Python cuDF API. cudf-polars Issues specific to cudf-polars labels Oct 28, 2025
@GPUtester GPUtester moved this to In Progress in cuDF Python Oct 28, 2025
@TomAugspurger TomAugspurger added improvement Improvement / enhancement to an existing function non-breaking Non-breaking change labels Oct 28, 2025
@TomAugspurger
Copy link
Contributor Author

/ok to test eb45ee5

@TomAugspurger
Copy link
Contributor Author

/ok to test 8aede7e

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cudf-polars Issues specific to cudf-polars improvement Improvement / enhancement to an existing function non-breaking Non-breaking change Python Affects Python cuDF API.

Projects

Status: In Progress

Development

Successfully merging this pull request may close these issues.

[FEA]: Avoid stream synchronization in ConditinalJoin.Predicate.__init__

1 participant