Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding initialization for
num_pipelines_per_node
(facebookresearch#…
…1599) Summary: …hod` to avoid unbounded local error. # Before submitting - [ ] Was this discussed/approved via a Github issue? (no need for typos, doc improvements) - [ ] Did you read the [contributor guideline](https://github.com/pytorch/fairseq/blob/master/CONTRIBUTING.md)? - [ ] Did you make sure to update the docs? - [ ] Did you write any new necessary tests? ## What does this PR do? Adding initialization for `num_pipelines_per_node` in `infer_init_method` in `distributed/utils.py` ## PR review Anyone in the community is free to review the PR once the tests have passed. If we didn't discuss your PR in Github issues there's a high chance it will not be merged. ## Did you have fun? Make sure you had fun coding � Pull Request resolved: https://github.com/fairinternal/fairseq-py/pull/1599 Reviewed By: myleott Differential Revision: D26208044 Pulled By: girifb fbshipit-source-id: 98d3c0b70b59a5e0abb027850baa3bc44d9c3c78
- Loading branch information