Skip to content

Commit 5a6fb27

Browse files
committed
pass dtype policy
1 parent 58e87f6 commit 5a6fb27

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

keras_hub/src/models/smollm3/smollm3_backbone.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,8 @@ def __init__(
111111
#)
112112
self.rotary_embedding = RotaryEmbedding(
113113
max_wavelength=rope_theta,
114-
scaling_factor=rope_scaling
114+
scaling_factor=rope_scaling,
115+
dtype=self.dtype_policy
115116
)
116117

117118
# === Functional Model ===

0 commit comments

Comments
 (0)