-
I see that |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
afaik, there is no standard API to do this but there is enough to put a recipe together and/or contribute this as a feature. For non-erred tasks I would argue, the logic is almost identical to the replay exception case. What the This happens here distributed/distributed/recreate_exceptions.py Lines 125 to 131 in 5e150aa For a non-erred task, the only thing we'll need to change is the def get_runspec(dask_scheduler, key):
ts = dask_scheduler.tasks[key]
return {
"task": ts.run_spec,
"deps": [dts.key for dts in ts.dependencies]
}
client.run_on_scheduler(get_runspec) then continue with distributed/distributed/recreate_exceptions.py Lines 86 to 92 in 5e150aa I haven't tested this, therefore no guarantees but that should be roughly how it could look like. If you want to get your hands dirty, feel free to open a PR! In a sense this would be a "calculate all dependencies on the cluster but the final task on my machine"-feature |
Beta Was this translation helpful? Give feedback.
-
This now exists with |
Beta Was this translation helpful? Give feedback.
This now exists with
client.recreate_task_locally