Skip to content
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

add support for parallelism with future #208

Merged
merged 3 commits into from
Mar 14, 2024
Merged

add support for parallelism with future #208

merged 3 commits into from
Mar 14, 2024

Conversation

simonpcouch
Copy link
Collaborator

@simonpcouch simonpcouch commented Mar 13, 2024

Related to tidymodels/tune#866, but a bit more straightforward here. :)

This PR uses future's RNG scheme when using doFuture; while tune has its own RNG machinery that guarantees reproducibility between sequential and parallel runs, stacks did not. Going ahead and transitioning to future's RNG scheme is thus no more breaking than not doing so, and means that users will see no change when foreach is fully written out in a later release.

@simonpcouch simonpcouch merged commit d768536 into main Mar 14, 2024
10 of 11 checks passed
@simonpcouch simonpcouch deleted the future-tune-866 branch March 14, 2024 18:37
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.

1 participant