Skip to content

Commit

Permalink
Update large graph size warning to remove scatter recommendation (#8815)
Browse files Browse the repository at this point in the history
  • Loading branch information
phofl authored Aug 5, 2024
1 parent 879e592 commit e0ce0fe
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion distributed/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -3362,7 +3362,9 @@ def _graph_to_futures(
warnings.warn(
f"Sending large graph of size {format_bytes(pickled_size)}.\n"
"This may cause some slowdown.\n"
"Consider scattering data ahead of time and using futures."
"Consider loading the data with Dask directly\n or using futures or "
"delayed objects to embed the data into the graph without repetition.\n"
"See also https://docs.dask.org/en/stable/best-practices.html#load-data-with-dask for more information."
)

computations = self._get_computation_code(
Expand Down

0 comments on commit e0ce0fe

Please sign in to comment.