Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix MPRS reqeust/response cycle for workers
Summary: Fix request index for unbalanced batches across workers. When a worker reaches `StopIteration`, we should move `req_idx` to the next index rather than stop at `req_idx`. This would prevent sending request to the worker that has run out of data. Reviewed By: aparajita15 Differential Revision: D46408394 fbshipit-source-id: 2800af3a1f49068a70c4a5ac7e53e769d818892b
- Loading branch information