Open camposandro opened 1 week ago
How does one use the new execute_graph api? @camposandro I'm not familiar with Dask so please point me to the doc or better migration doc if theres one.
Hi @Superskyyy! Unfortunately I could not find useful documentation on how to use this new task specification. From my understanding we can resort to convert_legacy_graph
, as shown here, to achieve the same behavior. The downside is that this new _task_spec
module being private could undergo other unexpected breaking changes.
Hi @Superskyyy! Unfortunately I could not find useful documentation on how to use this new task specification. From my understanding we can resort to
convert_legacy_graph
, as shown here, to achieve the same behavior. The downside is that this new_task_spec
module being private could undergo other unexpected breaking changes.
Thanks! I will take a look at it.
What happened + What you expected to happen
One of the latest Dask releases (
v2024.11.0
) removed the_execute_task
method from its core module in favor ofexecute_graph
(https://github.com/dask/dask/commit/a0783a8d46ffa0203906c47c7495a7e5bc09e691). The dask on ray scheduler implementation currently needs it: https://github.com/ray-project/ray/blob/3141dfe4031cc715515b365278cd1d6b8955154e/python/ray/util/dask/scheduler.py#L12-L12This behavior was detected in a smoke test run for
hats-import
.Versions / Dependencies
ray==2.38.0 dask==2024.11.1 dask-expr==1.1.18 distributed==2024.11.1
Reproduction script
Issue Severity
High: It blocks me from completing my task.