RAPIDS Dask Dependency Pinning

26.4.0 · active · verified Thu Apr 16

rapids-dask-dependency is a meta-package within the RAPIDS ecosystem that pins compatible versions of Dask and Distributed for a specific RAPIDS release. Its primary function is to ensure that users working with RAPIDS libraries like cuDF and Dask-cuDF have a consistent and stable Dask environment, preventing common version mismatch issues. It aligns with the RAPIDS release cadence, currently at version 26.4.0.

Common errors

Warnings

Install

Quickstart

rapids-dask-dependency is installed to manage your environment, not imported for direct use. The quickstart shows how to install it to ensure compatible Dask/Distributed versions are present, which then allows you to seamlessly use Dask with other RAPIDS libraries.

# This package doesn't provide direct Python imports for functionality.
# Its purpose is to ensure compatible Dask/Distributed versions are installed.
# You install it to set up your environment *before* using Dask with RAPIDS.
#
# After installing, you can then import Dask components, which will be
# the versions specified by rapids-dask-dependency:

# Example of using Dask after installation:
import dask.array as da
import dask.dataframe as dd
from dask.distributed import Client

# This code will now run with Dask/Distributed versions compatible
# with the 26.04 RAPIDS release.

# client = Client()
# print(client)
# client.close()

print(f"Dask Array imported successfully: {da.__version__}")
print(f"Dask DataFrame imported successfully: {dd.__version__}")
# print(f"Dask Distributed imported successfully: {Client.__module__}")

view raw JSON →