Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[from_pretrained] imporve the error message when
_no_split_modules
…
…is not defined (#23861) * Better warning * Update src/transformers/modeling_utils.py Co-authored-by: Sylvain Gugger <35901082+sgugger@users.noreply.github.com> * format line --------- Co-authored-by: Sylvain Gugger <35901082+sgugger@users.noreply.github.com>
- Loading branch information