-
Notifications
You must be signed in to change notification settings - Fork 161
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix
worker_init_fn
to update DataPipe graph and move worker prefetc…
…h to the end of Worker pipeline (#1100) Summary: Fixes #1083 ### Changes - Fix worker loop to update the DataPipe graph with `worker_init_fn` - Add corresponding Tests - Since `worker_init_fn` function might attach new DataPipe to worker graph, guarantee `prefetch` in worker attached to the end of the pipeline in worker process Pull Request resolved: #1100 Reviewed By: NivekT Differential Revision: D44221216 Pulled By: ejguan fbshipit-source-id: dfcbaa3e8a0d82df6dd21d308cc94f6d06bcf8f4
- Loading branch information
1 parent
fd51f95
commit e78ab6c
Showing
4 changed files
with
35 additions
and
6 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