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

Improve UCX documentation and examples #545

Merged
merged 12 commits into from
Mar 10, 2021
9 changes: 6 additions & 3 deletions dask_cuda/initialize.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,13 @@ def initialize(
starting up Dask workers which create a variety of threads.

To ensure UCX works correctly, it is important to ensure it is initialized with
the correct options. This is important for scheduler, workers, and client. This
function will ensure that based on the flags and options passed by the user.
the correct options. This is especially important for the scheduler and client,
which cannot be configured to use UCX with arguments like ``LocalCUDACluster``
and ``dask-cuda-worker``. This function will ensure that they are provided a UCX
configuration based on the flags and options passed by the user.
pentschev marked this conversation as resolved.
Show resolved Hide resolved

This function can also be used within a Worker preload script.
This function can also be used within a worker preload script for UCX configuration
of mainline Dask/Distributed.
https://docs.dask.org/en/latest/setup/custom-startup.html

You can add it to your global config with the following YAML:
Expand Down