Skip to content

Remove --get-cluster-configuration option, check for scheduler in dask cuda config#1088

Merged
rapids-bot[bot] merged 3 commits intorapidsai:branch-23.02from
charlesbluca:remove-cluster-config-option
Jan 19, 2023
Merged

Remove --get-cluster-configuration option, check for scheduler in dask cuda config#1088
rapids-bot[bot] merged 3 commits intorapidsai:branch-23.02from
charlesbluca:remove-cluster-config-option

Conversation

@charlesbluca
Copy link
Copy Markdown
Member

@charlesbluca charlesbluca commented Jan 19, 2023

As @pentschev brought up in #981 (comment), we shouldn't need the --get-cluster-configuration option for dask cuda config since it only enables/disables printing the cluster configuration.

Also added a check to ensure that a scheduler address or scheduler file has been specified, as otherwise IIUC running dask cuda config would just end up starting up and querying a local cluster on CPU.

EDIT:

Modified the scheduler check for dask cuda worker as well since it seems like a general improvement

@charlesbluca charlesbluca requested a review from a team as a code owner January 19, 2023 15:01
@github-actions github-actions bot added the python python code needed label Jan 19, 2023
@charlesbluca charlesbluca added improvement Improvement / enhancement to an existing function non-breaking Non-breaking change labels Jan 19, 2023
Copy link
Copy Markdown
Member

@pentschev pentschev left a comment

Choose a reason for hiding this comment

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

LGTM, thanks @charlesbluca .

@pentschev
Copy link
Copy Markdown
Member

/merge

@rapids-bot rapids-bot bot merged commit 03e5dcc into rapidsai:branch-23.02 Jan 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

improvement Improvement / enhancement to an existing function non-breaking Non-breaking change python python code needed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants