-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
FIX fsdp_auto_wrap_policy for some models (#2167)
Some transformers models and custom models would throw an error when used with PEFT's fsdp_auto_wrap_policy. This is problematatic because Trainer applies the policy automatically when PEFT and FSDP are detected. Now there is no error.
- Loading branch information
1 parent
d5f4e6d
commit 7717550
Showing
2 changed files
with
7 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters