Skip to content

Commit 8b8140a

Browse files
committed
do not untie
Signed-off-by: Kyle Sayers <[email protected]>
1 parent ab6f510 commit 8b8140a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

examples/multimodal_vision/gemma3n_example.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,8 @@ def data_collator(batch):
5555
data_collator=data_collator,
5656
# gemma3n has broken weight offloading which is required by the sequential pipeline
5757
pipeline="basic",
58+
# gemma3n does not support untying word embeddings
59+
tie_word_embeddings=True,
5860
)
5961

6062
# Confirm generations of the quantized model look sane.

0 commit comments

Comments
 (0)