Skip to content

Commit c45f589

Browse files
committed
log attn mask
1 parent 5be137b commit c45f589

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

keras_hub/src/models/smollm3/smollm3_utils.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ def eager_attention_forward(
4747
)
4848

4949
# Apply attention mask if provided
50+
print("attention_mask", attention_mask)
5051
if attention_mask is not None:
5152
causal_mask = attention_mask[:, :, :, : ops.shape(key_states)[-2]]
5253
attn_weights = ops.add(attn_weights, causal_mask)

0 commit comments

Comments
 (0)