Make clearer about zero_init requirements (#29879)
* Docstring to note about zero init
* Check for accelerate
* Change conditional return
* Tweak
* Add new accelerate-specific zero3 check
* Fix import
* Revert to RTFM
* Update src/transformers/modeling_utils.py
Co-authored-by: amyeroberts <22614925+amyeroberts@users.noreply.github.com>
---------
Co-authored-by: amyeroberts <22614925+amyeroberts@users.noreply.github.com>