Skip to content

Commit

Permalink
Add cuDF spill warning in dask cuda worker
Browse files Browse the repository at this point in the history
  • Loading branch information
pentschev committed Jul 29, 2024
1 parent ef02d90 commit 5c39bb2
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions dask_cuda/cuda_worker.py
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,14 @@ def del_pid_file():
},
)

cudf_spill_warning = dask.config.get("cudf-spill-warning", default=True)
if enable_cudf_spill and cudf_spill_warning:
warnings.warn(
"cuDF spilling is enabled, please ensure the client and scheduler "
"processes set `CUDF_SPILL=on` as well. To disable this warning "
"set `DASK_CUDF_SPILL_WARNING=False`."
)

self.nannies = [
Nanny(
scheduler,
Expand Down

0 comments on commit 5c39bb2

Please sign in to comment.