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 (huggingface#23861) * Better warning * Update src/transformers/modeling_utils.py Co-authored-by: Sylvain Gugger <[email protected]> * format line --------- Co-authored-by: Sylvain Gugger <[email protected]>
- Loading branch information