Don't require FakeStore to be passed into fake backend#162164
Don't require FakeStore to be passed into fake backend#162164ezyang wants to merge 1 commit intogh/ezyang/3142/basefrom
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/162164
Note: Links to docs will display an error until the docs builds have been completed. ✅ No FailuresAs of commit 11f9ddd with merge base 8171d60 ( This comment was automatically generated by Dr. CI and updates every 15 minutes. |
bdhirsh
left a comment
There was a problem hiding this comment.
I need to read more carefully through the interaction between FakeStore and FakeProcessGroup but this seems like a strict improvement to me (passing in both backend="fake" and FakeStore` felt redundant)
| if backend == "fake": | ||
| from torch.testing._internal.distributed.fake_pg import FakeStore | ||
|
|
||
| store = FakeStore() |
There was a problem hiding this comment.
Error if store kwarg is passed and not a fake store? Or is real store actually supported..?
There was a problem hiding this comment.
I have no idea! I am happy to trial a type check on the store.
|
@pytorchbot merge |
Merge startedYour change will be merged once all checks pass (ETA 0-4 Hours). Learn more about merging in the wiki. Questions? Feedback? Please reach out to the PyTorch DevX Team |
Signed-off-by: Edward Yang <ezyang@meta.com> Pull Request resolved: pytorch#162164 Approved by: https://github.com/bdhirsh, https://github.com/albanD, https://github.com/wconstab
Signed-off-by: Edward Yang <ezyang@meta.com> Pull Request resolved: pytorch#162164 Approved by: https://github.com/bdhirsh, https://github.com/albanD, https://github.com/wconstab
Signed-off-by: Edward Yang <ezyang@meta.com> Pull Request resolved: pytorch#162164 Approved by: https://github.com/bdhirsh, https://github.com/albanD, https://github.com/wconstab
Signed-off-by: Edward Yang <ezyang@meta.com> Pull Request resolved: pytorch#162164 Approved by: https://github.com/bdhirsh, https://github.com/albanD, https://github.com/wconstab
Stack from ghstack (oldest at bottom):
Signed-off-by: Edward Yang ezyang@meta.com
cc @H-Huang @awgu @wanchaol @fegin @fduwjj @wz337 @wconstab @d4l3k @pragupta @msaroufim @SherlockNoMad @EikanWang @jgong5 @wenzhe-nrv @voznesenskym @penguinwu @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @jiayisunx @chenyang78 @kadeng @chauhang @amjames @Lucaskabela