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

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

Merged

Conversation

charlesbluca
Copy link
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
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 .

dask_cuda/cuda_worker.py Show resolved Hide resolved
@pentschev
Copy link
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