-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Enable multiprocessing groups within project config #10774
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
Closed
richardpaulhudson
wants to merge
62
commits into
explosion:master
from
richardpaulhudson:feature/projects-multiprocessing
Closed
Changes from 46 commits
Commits
Show all changes
62 commits
Select commit
Hold shift + click to select a range
8d08a68
Permit multiprocessing groups in YAML
richardpaulhudson 12e8600
Basic multiprocessing functionality
richardpaulhudson e3b4ee7
Mypy corrections
richardpaulhudson a2bd489
Secondary functionality and documentation
richardpaulhudson 8c8b81a
Fixed formatting issues
richardpaulhudson a481698
Corrections
richardpaulhudson ae82568
Changes after review
richardpaulhudson 4daffdd
Changes based on review
richardpaulhudson 2eb13f2
Readability improvement
richardpaulhudson 9e665f9
Changes after internal discussions
richardpaulhudson 5de1009
Add max_parallel_processes documentation
richardpaulhudson 1cdb92d
Correction
richardpaulhudson e6a11b5
Extend scope of test
richardpaulhudson 9d7a79e
First draft of new implementation (incomplete, doesn't run yet)
richardpaulhudson 3c64e82
Correction
richardpaulhudson ca403f8
Seems to work, not yet tested in a structured way
richardpaulhudson e9ee680
Saved (intermediate version, doesn't compile yet)
richardpaulhudson 4c2fc56
Refactoring into separate module
richardpaulhudson 83d0738
Remove unnecessary changes
richardpaulhudson 2c1f58e
Formal state machine
richardpaulhudson 012578f
Improvements / corrections
richardpaulhudson 44d51f4
Add failure test
richardpaulhudson d87fcab
Corrections / improvements
richardpaulhudson bc79e5a
Fix for Windows
richardpaulhudson 9d005a7
Correct test
richardpaulhudson 5d150f2
Add comment
richardpaulhudson f8301b4
Correction
richardpaulhudson d2bde9a
Reverse unnecessary change
richardpaulhudson 91a173f
Add note to projects.md
richardpaulhudson 4614a89
Improve error message
richardpaulhudson 4902dd6
Final touches
richardpaulhudson e2c2ba4
Fix Mypy
richardpaulhudson 48803e1
Improve document output
richardpaulhudson fcf7b6b
Use multiprocessing context
richardpaulhudson 6b0ebcd
Improve error handling with hung processes
richardpaulhudson 1650912
Add failure messages
richardpaulhudson fd8dbfd
Initial changes based on review comments
richardpaulhudson 5fad119
Update spacy/tests/test_parallel.py
richardpaulhudson c7a8956
Update spacy/cli/_util.py
richardpaulhudson c6a4a7b
Merge 'origin/master' into feature/projects-multiprocessing
richardpaulhudson ac81dc9
Revert accidentally checked-in line
richardpaulhudson 6ac15ad
Correct comment
richardpaulhudson 4eb61a7
More updates based on review comments
richardpaulhudson 10513a0
Format with black
richardpaulhudson 567d006
Log to temporary directory
richardpaulhudson 3d16625
Increase timeout to support GPU tests
richardpaulhudson 5393df4
More changes based on review comments
richardpaulhudson 8faf070
Specify new wasabi version
richardpaulhudson 40416b1
Restore previous wasabi peg
richardpaulhudson 1bf82db
Widened errors caught from os.kill()
richardpaulhudson 78ee9c3
Revert to diagnose error
richardpaulhudson 5aa95ce
Merge branch 'master' into feature/projects-multiprocessing
richardpaulhudson 70fa1ce
Copied changes from spaCy/tmp/project-multiprocess
richardpaulhudson afba051
Improve error logging
richardpaulhudson b48f2e1
Correction
richardpaulhudson 522b0ed
Handle PermissionError in Windows CI
richardpaulhudson c8b7912
Correction
richardpaulhudson 786473d
Switch to use TemporaryDirectory
richardpaulhudson b8a299f
Merge branch 'explosion:master' into feature/projects-multiprocessing
richardpaulhudson 2cc2cc1
Use mkdtemp()
richardpaulhudson cfaa902
Merge branch 'master' into feature/projects-multiprocessing
richardpaulhudson b3bcfe5
Empty commit to trigger CI
richardpaulhudson 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
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.