KitsuVp commited on
Commit
73c7209
·
verified ·
1 Parent(s): ca18fa6

Update modeling_neollm.py

Browse files
Files changed (1) hide show
  1. modeling_neollm.py +1 -1
modeling_neollm.py CHANGED
@@ -4562,7 +4562,7 @@ class NeoLLMDecoderLayer(GradientCheckpointingLayer):
4562
  self.register_buffer(
4563
  "_siamese_stream_scale_value",
4564
  torch.tensor(siamese_stream_scale, dtype=torch.float32),
4565
- persistent=False,
4566
  )
4567
  # Controls only the first pre-attention normalisation applied directly
4568
  # to the embedding stream. Defaults to True for checkpoint/config
 
4562
  self.register_buffer(
4563
  "_siamese_stream_scale_value",
4564
  torch.tensor(siamese_stream_scale, dtype=torch.float32),
4565
+ persistent=True,
4566
  )
4567
  # Controls only the first pre-attention normalisation applied directly
4568
  # to the embedding stream. Defaults to True for checkpoint/config