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
Fixes#149029
Add `set_reshard_after_forward` to set `post_forward_mesh_info` so as to decide `_reshard_after_forward`
Add unit test similar to `test_fully_shard_communication_count`, the FSDPModule would perform as `._reshard_after_forward=True` after `.set_reshard_after_forward=True`, as well as setting to False
Pull Request resolved: #149103
Approved by: https://github.com/awgu
0 commit comments