Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update docstring for get_model_state_dict (mosaicml#3318)
Turns out it's empty dict for nonzero ranks for unsharded state dicts because for torch 2.1.2 we set the `FullStateDictConfig` `rank0_only` flag to `True` and for torch >2.1.2, the `dcp.get_model_state_dict` function always has empty dict for nonzero ranks for unsharded state dicts
- Loading branch information