-
Notifications
You must be signed in to change notification settings - Fork 153
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement InProcessReadingService (#1139)
Summary: Fixes #1107 Fixes #720 Fixes #616 ### Changes - Implement `InProcessReadingService` (Willing to take any suggestion on naming) - Control shuffle and sharding (noop) - Add support to pause/resume/limit - ~Make `InProcessReadingService` as the default `reading_service` to `DataLoader2`.~ - ~Then, `reading_service` always has a value, and remove the logic of `reading_service` is None.~ - Modify `MultiProcessingReadingService` - When `num_workers=0`, raise a warning Pull Request resolved: #1139 Reviewed By: NivekT Differential Revision: D45184167 Pulled By: ejguan fbshipit-source-id: fc7821e8e695920a674145d17fbced86a95226c5
- Loading branch information
1 parent
bc0650a
commit 8f9d123
Showing
6 changed files
with
314 additions
and
29 deletions.
There are no files selected for viewing
This file contains 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 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 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 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 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.