mirror of
https://github.com/saymrwulf/pytorch.git
synced 2026-05-15 21:00:47 +00:00
Replacing https://github.com/pytorch/pytorch/pull/109553 as it gets reverted. This PR enables training with new 2D flow and adds associated test. In addition, this PR moves the tensor/parallel/_data_parallel_utils.py that are fsdp specific back to tensor/parallel/fsdp.py to avoid circular dependency for ddp.py and test/distributed/tensor/parallel/test_ddp_2d_parallel.py. state_dict related changes would be in later PRs. cc. @fegin, @fduwjj, @wanchaol, @awgu Pull Request resolved: https://github.com/pytorch/pytorch/pull/110034 Approved by: https://github.com/fduwjj |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| test_ddp_2d_parallel.py | ||
| test_fsdp_2d_parallel.py | ||
| test_parallelize_api.py | ||
| test_tp_examples.py | ||
| test_tp_random_state.py | ||
| test_tp_style.py | ||
| test_view_sharding_dim_change.py | ||