Skip to content

Commit

Permalink
SpeechEncoderDecoder doesn't support param buffer assignments (huggin…
Browse files Browse the repository at this point in the history
…gface#32009)

One more model
  • Loading branch information
muellerzr authored and amyeroberts committed Jul 19, 2024
1 parent dcdccc4 commit 88c85af
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,7 @@ class SpeechEncoderDecoderModel(PreTrainedModel):
base_model_prefix = "speech_encoder_decoder"
main_input_name = "inputs"
supports_gradient_checkpointing = True
_supports_param_buffer_assignment = False

def __init__(
self,
Expand Down

0 comments on commit 88c85af

Please sign in to comment.