-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[RFC] Dagger Integration #33
Comments
Thanks for reaching out! Definitely I agree that being able to use Dagger as an evaluation scheduler for TimeDag would be great. My thought a little while ago was that, for full integration, we'd have multiple implementations of Some thoughts from then are in a comment here: I suspect the main difficulty is the way that [1] Not all nodes are stateful, but many are — e.g. for nodes with more than one parent, state is needed to implement alignment. Tracking this state isn't technically required iff using [2] Or possibly we should just change |
Dagger now supports mutable data via If it's not valid to do this, then yeah, we can just use
I'd need to run some tests, but my guess is that this is probably true for a naive implementation that spawns one task per node evaluation; a smarter approach is to launch one task per node lifetime, and use a Note that DaggerTimeDag.jl doesn't currently use this approach, but it's on my Todo list. |
Thanks for this - wasn't aware of One (hopefully useful) observation of your current implementation is that https://github.com/invenia/TimeDag.jl/blob/main/src/evaluation.jl#L106-L109 (currently the |
I've gotten some recent interest from the community in having Dagger-powered time series operations, such that a streaming DAG can be configured across multiple nodes. I am interested in making this happen, and have started https://github.com/jpsamaroo/DaggerTimeDag.jl to show off the basic concept of what this integration could look like.
The benefits of integrating with Dagger are numerous:
Block
s to diskI would greatly appreciate any comments on this approach!
The text was updated successfully, but these errors were encountered: