Skip to content

[Multi-GPU Polars] Split PDSH utils into legacy and new frontend paths#21941

Draft
madsbk wants to merge 2 commits intorapidsai:mainfrom
madsbk:StreamingOptions-benchmarks
Draft

[Multi-GPU Polars] Split PDSH utils into legacy and new frontend paths#21941
madsbk wants to merge 2 commits intorapidsai:mainfrom
madsbk:StreamingOptions-benchmarks

Conversation

@madsbk
Copy link
Copy Markdown
Member

@madsbk madsbk commented Mar 26, 2026

Depend and include #21930.

Split utils.py into three modules to support the new --frontend CLI alongside the existing --cluster-based legacy path:

  • utils.py becomes a lightweight forwarding shim. It routes to utils_new_frontends when --frontend is present in sys.argv, otherwise falls back to utils_legacy. This is a temporary bridge until the legacy path is removed.
  • utils_legacy.py contains the existing implementation, limited to the single and distributed cluster modes.
  • utils_new_frontends.py introduces a new implementation for --frontend spmd, --frontend ray, and --frontend duckdb. It integrates with StreamingOptions to provide a unified CLI surface for all RapidsMPF, executor, and engine configuration.

@madsbk madsbk self-assigned this Mar 26, 2026
@madsbk madsbk added improvement Improvement / enhancement to an existing function breaking Breaking change labels Mar 26, 2026
@copy-pr-bot
Copy link
Copy Markdown

copy-pr-bot bot commented Mar 26, 2026

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 Mar 26, 2026
@GPUtester GPUtester moved this to In Progress in cuDF Python Mar 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

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

Projects

Status: In Progress

Development

Successfully merging this pull request may close these issues.

2 participants