Repository navigation
Move UCX/RMM config variables to Distributed namespace - #4916
Conversation
jrbourbeau
left a comment
There was a problem hiding this comment.
This restructure seems sensible to me. We should also update distributed.yaml and distributed-schema.yaml to reflect the updated reorganization
|
Is there anything else that needs to be done here, or can we rerun tests and merge? |
jrbourbeau
left a comment
There was a problem hiding this comment.
Yeah, I think this should be good to go after the merge conflict is resolved
Also, can you confirm that users who were previously setting the old config values (e.g. ucx.tcp) will have them properly converted to the new version (e.g. distributed.comm.ucx.tcp)? The config alias should handle this, but it'd be good to double check
|
Thanks for the reminder @jrbourbeau , indeed we'll have to make an announcement to our users when this is merged. Today, UCX settings are generally set via environment variables by most of our users, so |
Since @charlesbluca is setting config alias between the old and new config names in locally (with this PR checked out) outputs |
|
Indeed, but I believe the idea is to deprecate the |
Ah, sorry I don't think I was super clear in my previous comment. I meant to say that guiding users towards the new config names is definitely a good thing to do 👍 Though things shouldn't totally break because of the config alias This looks good to go. @charlesbluca @pentschev we're releasing |
|
IMO I would prefer this not go into tomorrow's release, as I imagine we'd want to make some corresponding changes to dask-cuda's docs to announce this change, and that project is currently in burn down. @pentschev does this sound good? |
|
Yup, I agree with @charlesbluca , delaying this for next release (not the one tomorrow) is probably the best choice. |
|
Sounds good. I'll plan on merging this PR after the release tomorrow then 👍 |
|
Awesome, thanks @jrbourbeau ! |
|
@charlesbluca could you confirm how you verified the |
Update Dask-CUDA to reflect changes made by dask/distributed#4916 . Authors: - Peter Andreas Entschev (https://github.com/pentschev) Approvers: - https://github.com/jakirkham - AJ Schmidt (https://github.com/ajschmidt8) URL: #695
|
Just checking in here. @pentschev I see rapidsai/dask-cuda#695 was merged. Does that handle the fallout from this config migration, or are there still concerns you have? |
It does in Dask-CUDA internally, but my understanding was that the alias should have worked with that. In that particular case it's not a big deal, but it will be for users as we have a lot of them specifying variables like Ideally, we would have that alias in place with a deprecation warning. Is this possible to do with Dask configuration schema? |
Sorry, I might have been unclear in my previous comments. What I meant to convey is that with changes like those in rapidsai/dask-cuda#695, things should be backwards compatible. For example, on the current This means that |
The alias will handle the internal mapping of the old -> new name, but won't emit a deprecation warning. Though maybe we should be. That sounds like a nice upstream improvement |
|
Actually warning users is possible. See dask/dask#7956 |
|
You're absolutely right @jrbourbeau , the problem is very simple: I'm an idiot. When I tested, I was on Distributed 2021.7.1 instead of main. 🤦 Sorry about the noise. |
|
No worries at all. If I had a nickel for every time I had the wrong commit of a local repo checked out, I'd be a rich man... |
Moves UCX/RMM configuring variables to be nested under Distributed's config namespace, including aliases for compatibility with the old variable names. Will probably need a PR in Dask-CUDA to update handling there as well.
distributed.#4904black distributed/flake8 distributed/isort distributed