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 Jul 25, 2024
1 parent 1ecedf1 commit 9b9a54e
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 9b9a54e

Please sign in to comment.