Update modeling_neollm.py
Browse files- 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=
|
| 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
|