Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
transformers
Commits
4037a2b5
Unverified
Commit
4037a2b5
authored
Jul 16, 2024
by
Zach Mueller
Committed by
GitHub
Jul 16, 2024
Browse files
SpeechEncoderDecoder doesn't support param buffer assignments (#32009)
One more model
parent
6f40a213
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
src/transformers/models/speech_encoder_decoder/modeling_speech_encoder_decoder.py
...speech_encoder_decoder/modeling_speech_encoder_decoder.py
+1
-0
No files found.
src/transformers/models/speech_encoder_decoder/modeling_speech_encoder_decoder.py
View file @
4037a2b5
...
@@ -181,6 +181,7 @@ class SpeechEncoderDecoderModel(PreTrainedModel):
...
@@ -181,6 +181,7 @@ class SpeechEncoderDecoderModel(PreTrainedModel):
base_model_prefix
=
"speech_encoder_decoder"
base_model_prefix
=
"speech_encoder_decoder"
main_input_name
=
"inputs"
main_input_name
=
"inputs"
supports_gradient_checkpointing
=
True
supports_gradient_checkpointing
=
True
_supports_param_buffer_assignment
=
False
def
__init__
(
def
__init__
(
self
,
self
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment