Dynamic Execution #231
Replies: 2 comments 11 replies
-
Many of the pain points here surround supporting aborted/problematic runs. Are you looking into providing SLA for this, or some kind of recovery mechanism, or is it just raw functionality for now? |
Beta Was this translation helpful? Give feedback.
-
From your twitter post:
I'd expect to be able to write the function from your example as follows:
To gather the examples, I'd expect to wrap invocations to Trying to mix dynamism into a DAG means you lose some of the ability to optimize the invocations. But in some cases it's ok. If you add in SLA or some other observability capability it might be nice. However, I imagine it's also going to be a source of bugs for you that you'd rather not deal with. |
Beta Was this translation helpful? Give feedback.
-
With the next release of Hamilton, you’ll be able to dynamically rerun portions of the DAG for a set of inputs, in parallel! What does this look like?
So, a simple map-reduce. Then you’ll be able to specify executors in the driver, which will do two things:
Use-cases are:
Note that, in the future, we will also be adding the capability to output a generator and run over the subsequent subdags in a serial order (E.G. for mini-batching).
See PR here.
The asks are two-fold:
3 votes ·
Beta Was this translation helpful? Give feedback.
All reactions