Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion gemma/gm/nn/_modules.py
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ def __call__(
attn_mask *= sliding_mask
elif self.attn_type != AttentionType.GLOBAL:
raise ValueError(
'Attn_type must be either AttentionType.GLOBAL or'
'Attn_type must be either AttentionType.LOCAL_SLIDING or'
f' AttentionType.GLOBAL not {self.attn_type}'
)

Expand Down