Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 <[email protected]> --------- Co-authored-by: amyeroberts <[email protected]>
- Loading branch information