support for ram efficient loading of model with FSDP (#1777)
* support for ram efficient loading of model with FSDP
* with default behaviour of efficient loading when using FSDP, `sync_module_states` needs to be `True`
* fixes
* Update accelerator.py
* Update dataclasses.py