-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Introduce a process-wide singleton engine for .collect(engine="gpu")
#22410
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
Merged
Merged
Changes from all commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
34498a9
DefaultSingletonEngine
madsbk f2fa352
Remove the legacy "single" path
madsbk 5b25d92
Handle default_singleton in the SPMD path
madsbk 1685160
def py_executor
madsbk 792f8f8
reorder exit_stack
madsbk 27edefd
comments
madsbk 0b6db4b
Context explicit shutdown
madsbk a8501c6
self._ctx always
madsbk b5543e1
guard against self._ctx.shutdown() errors.
madsbk 2f7b115
Apply suggestions from code review
madsbk 432e590
Merge branch 'main' of github.com:rapidsai/cudf into default_gpu_engine
madsbk c5ee511
remove delattr(dask_worker, attr) guard
madsbk 22312a2
cleanup
madsbk 806cf80
Merge branch 'main' of github.com:rapidsai/cudf into default_gpu_engine
madsbk 4a1903a
moved check_no_live_default_singleton() call inside StreamingEngine
madsbk f2687e3
rename to get_or_create()
madsbk 138af2d
test collect(engine=gpu")
madsbk 108c019
Merge branch 'main' of github.com:rapidsai/cudf into default_gpu_engine
madsbk 5d7803e
Merge branch 'main' of github.com:rapidsai/cudf into default_gpu_engine
madsbk 3b9e5c0
Merge branch 'main' of github.com:rapidsai/cudf into default_gpu_engine
madsbk da4c0c4
Update python/cudf_polars/cudf_polars/experimental/rapidsmpf/frontend…
madsbk 6ad85b1
docs
madsbk File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 12 additions & 1 deletion
13
python/cudf_polars/cudf_polars/experimental/rapidsmpf/__init__.py
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,8 +1,19 @@ | ||
| # SPDX-FileCopyrightText: Copyright (c) 2025 NVIDIA CORPORATION & AFFILIATES. | ||
| # SPDX-FileCopyrightText: Copyright (c) 2025-2026 NVIDIA CORPORATION & AFFILIATES. | ||
| # SPDX-License-Identifier: Apache-2.0 | ||
|
|
||
| """RapidsMPF streaming-engine support.""" | ||
|
|
||
| from __future__ import annotations | ||
|
|
||
| # Side-effect imports: each module registers | ||
| # ``@generate_ir_sub_network.register(...)`` handlers at import time so the | ||
| # dispatch table is populated before any query is evaluated. | ||
| import cudf_polars.experimental.rapidsmpf.collectives.shuffle | ||
| import cudf_polars.experimental.rapidsmpf.collectives.sort | ||
| import cudf_polars.experimental.rapidsmpf.groupby | ||
| import cudf_polars.experimental.rapidsmpf.io | ||
| import cudf_polars.experimental.rapidsmpf.join | ||
| import cudf_polars.experimental.rapidsmpf.repartition | ||
| import cudf_polars.experimental.rapidsmpf.union # noqa: F401 | ||
|
|
||
| __all__: list[str] = [] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.