Skip to content

Commit

Permalink
Add comments on cuDF spill registration function
Browse files Browse the repository at this point in the history
  • Loading branch information
pentschev committed Jul 30, 2024
1 parent 0c91a81 commit 29751de
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion dask_cuda/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,11 @@
def _register_cudf_spill_aware():
import cudf

# Only enable Dask/cuDF spilling if cuDF spilling is disabled
# Only enable Dask/cuDF spilling if cuDF spilling is disabled, see
# https://github.com/rapidsai/dask-cuda/issues/1363
if not cudf.get_option("spill"):
# This reproduces the implementation of `_register_cudf`, see
# https://github.com/dask/distributed/blob/40fcd65e991382a956c3b879e438be1b100dff97/distributed/protocol/__init__.py#L106-L115
from cudf.comm import serialize


Expand Down

0 comments on commit 29751de

Please sign in to comment.