Skip to content

Commit

Permalink
[BigBird Pegasus] set _supports_param_buffer_assignment to False (#32222
Browse files Browse the repository at this point in the history
)

set _supports_param_buffer_assignment to False
  • Loading branch information
kashif authored and ArthurZucker committed Jul 26, 2024
1 parent cd06184 commit cc75146
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1569,6 +1569,7 @@ class BigBirdPegasusPreTrainedModel(PreTrainedModel):
supports_gradient_checkpointing = True
_no_split_modules = ["BigBirdPegasusEncoderLayer", "BigBirdPegasusDecoderLayer"]
_skip_keys_device_placement = "past_key_values"
_supports_param_buffer_assignment = False

def _init_weights(self, module):
std = self.config.init_std
Expand Down

0 comments on commit cc75146

Please sign in to comment.