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

Document how to use cudf.pandas in tandem with multiprocessing #15940

Merged
merged 1 commit into from
Jun 6, 2024

Conversation

wence-
Copy link
Contributor

@wence- wence- commented Jun 6, 2024

Description

We need to arrange that cudf.pandas.install() is run on the workers, this requires that we programmatically install the metapath loader in our script. Unfortunately, passing an initializer function to the pool startup is not sufficient if any part of the script transitively loads pandas at the top level.

Checklist

  • I am familiar with the Contributing Guidelines.
  • New or existing tests cover these changes.
  • The documentation is up to date with these changes.

We need to arrange that cudf.pandas.install() is run on the workers,
this requires that we programmatically install the metapath loader in
our script. Unfortunately, passing an initializer function to the pool
startup is not sufficient if any part of the script transitively loads
pandas at the top level.

- Closes rapidsai#15246
@wence- wence- added doc Documentation non-breaking Non-breaking change cudf.pandas Issues specific to cudf.pandas labels Jun 6, 2024
@wence- wence- requested review from a team, galipremsagar and Matt711 and removed request for a team June 6, 2024 11:12
@galipremsagar
Copy link
Contributor

/merge

@rapids-bot rapids-bot bot merged commit 61da924 into rapidsai:branch-24.08 Jun 6, 2024
71 checks passed
@wence- wence- deleted the wence/fix/15246 branch June 6, 2024 16:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cudf.pandas Issues specific to cudf.pandas doc Documentation non-breaking Non-breaking change
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

[QST] Returning from multi-thread. TypeError: a bytes-like object is required, not 'dict'
2 participants