Skip to content

Commit

Permalink
Set Ray task name to Dask key for Dask tasks. (ray-project#10547)
Browse files Browse the repository at this point in the history
  • Loading branch information
clarkzinzow authored Sep 3, 2020
1 parent c54853d commit 7068c63
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion python/ray/experimental/dask/scheduler.py
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,8 @@ def _rayify_task(task, key, deps):
# Ray properly tracks the object dependencies between Ray tasks.
object_refs, repack = unpack_object_refs(args, deps)
# Submit the task using a wrapper function.
return dask_task_wrapper.remote(func, repack, *object_refs)
return dask_task_wrapper.options(name=f"dask:{key!s}").remote(
func, repack, *object_refs)
elif not ishashable(task):
return task
elif task in deps:
Expand Down

0 comments on commit 7068c63

Please sign in to comment.