Skip to content

Add support for limiting the evaluations of a streaming DAG #519

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

Merged
merged 2 commits into from
Jun 3, 2024

Conversation

JamesWrigley
Copy link
Collaborator

This is useful for testing and benchmarking.

BTW I added the stream_max_evals option to SchedulerOptions and ThunkOptions, but I see that the other streaming options are sort of used adhoc and filtered out before being passed upwards. Is that just for quick prototyping? Or should the streaming options go somewhere else?

@JamesWrigley JamesWrigley requested a review from jpsamaroo May 24, 2024 23:08
@JamesWrigley JamesWrigley self-assigned this May 24, 2024
@JamesWrigley JamesWrigley force-pushed the stream-max-evals branch 2 times, most recently from 4f357e3 to 4ff2fa1 Compare May 24, 2024 23:44
@JamesWrigley
Copy link
Collaborator Author

Also attempted to improve CI by installing the migration-helper branch of MemPool.jl in 4ff2fa1.

@JamesWrigley
Copy link
Collaborator Author

I figured out why my filtering was failing, I was doing it in the wrong place 😛 There was some filtering in initialize_streaming!() that I think doesn't actually do anything because those options are in spec.options.propagate, not spec.options. I removed that filter and added it in the proper place in finalize_streaming!() in f634923.

(P.S. if you approve, I'll rebase this before merging to squash the fixup commits)

Copy link
Member

@jpsamaroo jpsamaroo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great, thank you!

This is useful for testing and benchmarking.
This is currently necessary for the streaming branch, we'll have to change this
later but it's good to have CI working for now.
@JamesWrigley
Copy link
Collaborator Author

The CI seems to be a little overloaded so I'm gonna roguishly go ahead and merge this 🏴‍☠️

@JamesWrigley JamesWrigley merged commit 5a4ccaa into jps/stream2 Jun 3, 2024
4 of 5 checks passed
@JamesWrigley JamesWrigley deleted the stream-max-evals branch June 3, 2024 09:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants