You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
deftest_error_swallowing_process_group(self) ->None:
pg=ErrorSwallowingProcessGroupWrapper(DummyProcessGroup(0, 1))
self._test_pg(pg)
pg.report_error(RuntimeException("some error"))
# ensure that the default values after an error have the right shapes/typesself._test_pg(pg)
The text was updated successfully, but these errors were encountered:
We have quite a few different ProcessGroup implementations in https://github.com/pytorch-labs/torchft/blob/main/torchft/process_group.py
We want a standardized test helper to test world_size 1 behavior to ensure that all common/inputs have the right sizes/types.
Key requirements:
torchft.ProcessGroup
https://github.com/pytorch-labs/torchft/blob/main/torchft/process_group.py#L88Work.wait()
andWork.get_future()
.Add / update tests in https://github.com/pytorch-labs/torchft/blob/main/torchft/process_group_test.py
Example test:
The text was updated successfully, but these errors were encountered: