forked from huggingface/transformers
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Pass missing arguments to `SeamlessM4Tv2ConformerEncoderLayer.forward…
…()` when gradient checkpointing is enabled (huggingface#31945) * pass missing arguments when gradient checkpointing is enabled for SeamlessM4Tv2 * fix same bug in SeamlessM4Tv1 * pass args, not kwargs
- Loading branch information
1 parent
fc42335
commit 0995c77
Showing
2 changed files
with
4 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