-
Notifications
You must be signed in to change notification settings - Fork 442
Add option to specify an initialization function for 'loky' and 'multiprocessing' backends
#1525
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
tomMoral
merged 30 commits into
joblib:main
from
shwina:add-initializer-for-loky-and-mp
Apr 11, 2025
+205
−48
Merged
Changes from all commits
Commits
Show all changes
30 commits
Select commit
Hold shift + click to select a range
d9122f6
Add an option to specify initializer function for processes
shwina e2832a8
Add tests
shwina cb2478a
Update docs
shwina f86bfab
Don't be too prescriptive about how to use initializer
shwina aa8fc42
Move initializer definition and use batch_size=1
shwina 3cb1440
Revert "Move initializer definition and use batch_size=1"
shwina a06e405
Merge branch 'main' of github.com:joblib/joblib into add-initializer-…
tomMoral 3e33540
ENH allow initializer implicitely
tomMoral 1f9ab6c
ENH allow initializer in multiprocessing+CLN bad merge
tomMoral c095bcf
FIX linter
tomMoral 943110a
FIX code spell and typo
tomMoral 6de81c4
FIX bad merge
tomMoral 49991e5
FIX bad merge
tomMoral 8e398db
FIX make test more robust
tomMoral 509437f
DOC add entry in changelog
tomMoral 5e18921
Merge branch 'main' into add-initializer-for-loky-and-mp
tomMoral 9f57de3
FIX one test
tomMoral 380e853
FIX linter
tomMoral a9ee170
TST make test_initializer more robust
tomMoral 8d13fc6
TST make test_initializer_reuse more robust too
tomMoral 733893a
FIX linter
tomMoral 72bee0d
TST quickend test_initializer
tomMoral b746448
ENH further improve loky backend args
tomMoral dbb5ca8
Update joblib/test/test_parallel.py
tomMoral 5bb8f66
Apply suggestions from code review
tomMoral 9039d82
TST make test_initializer_reuse_* check worker reuse
tomMoral 54897ba
FIx linter
tomMoral 6ad8287
FIX more stable initializer tests
tomMoral 1107003
CI trigger
tomMoral 0d9412d
CI trigger
tomMoral File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.