Commit Graph

6 Commits

Author SHA1 Message Date
Pritam Damania
2d671ca41b [8/N] Remove c10d/ddp fork tests. (#63454)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/63454

Continuation of https://github.com/pytorch/pytorch/pull/63443, this
PR removes all fork tests from torch.distributed.
ghstack-source-id: 136285511

Test Plan: waitforbuildbot

Reviewed By: SciPioneer

Differential Revision: D30387872

fbshipit-source-id: f6d6313db126ae7b95b86f78a1e0726887c5c513
2021-08-20 12:23:18 -07:00
Pritam Damania
d565a7bd68 [6/N] Enable opt-asan for elastic and launcher tests. (#63442)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/63442

Continuation of https://github.com/pytorch/pytorch/pull/62051, I've
enabled elastic and launcher tests to run in opt-asan mode which is supported
with spawn multiprocessing.

This allows us to completely get rid of fork based tests from torch.distributed
and have all tests run in spawn mode.
ghstack-source-id: 136057123

Test Plan: waitforbuildbot

Reviewed By: cbalioglu

Differential Revision: D30384267

fbshipit-source-id: ad3447cfb9d6e31e7ec8332d64c8ff1054858dcb
2021-08-18 10:48:49 -07:00
Pritam Damania
82d81455ae [2/N] Remove unittest.skip across all of torch.distributed. (#61887)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/61887

1) Introduced a `sandcastle_skip_if` decorator that ensures these
tests just get passed on sandcastle.
2) Fixed all test files under `test/distributed` to not use `unittest.skip`

Overall goal is to avoid using skips since sandcastle tags these tests as
continuously skipping.
ghstack-source-id: 134382237

Test Plan: waitforbuildbot

Reviewed By: SciPioneer

Differential Revision: D29784152

fbshipit-source-id: 17b4df6c5a55ff1d1e8e1de128fa679c3dfbcb7d
2021-07-27 10:53:23 -07:00
Aliaksandr Ivanou
d30e31cfe6 [20/n][torch/elastic][upstream] Move torchelastic.distributed.tests to pytorch.distributed (#56215)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/56215

Pull Request resolved: https://github.com/pytorch/pytorch/pull/56077

Move torchelastic.distributed.tests to pytorch.distributed

Test Plan: buck test mode/dev-nosan //pytorch/elastic/torchelastic/distributed/...

Reviewed By: H-Huang

Differential Revision: D27808887

fbshipit-source-id: 6c9e2cba0bb202d8a5497697773d48e215e555f8
2021-04-16 14:00:10 -07:00
Vitaly Fedyunin
e2036ea342 Revert D27758303: [20/n][torch/elastic][upstream] Move torchelastic.distributed.tests to pytorch.distributed
Test Plan: revert-hammer

Differential Revision:
D27758303 (9f6fed8a15)

Original commit changeset: c987d4764f47

fbshipit-source-id: 90846dcd5c8512dd615c7f44dc3663f124cf4a25
2021-04-15 14:51:13 -07:00
Aliaksandr Ivanou
9f6fed8a15 [20/n][torch/elastic][upstream] Move torchelastic.distributed.tests to pytorch.distributed (#56077)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/56077

Move torchelastic.distributed.tests to pytorch.distributed

Test Plan: buck test mode/dev-nosan //pytorch/elastic/torchelastic/distributed/...

Reviewed By: cbalioglu

Differential Revision: D27758303

fbshipit-source-id: c987d4764f4776f55306988b02eae2306db06c2b
2021-04-15 11:58:05 -07:00