Skip to content

Commit 64d8080

Browse files
committed
Merge branch 'main' into release/2.5
2 parents 6e49bf6 + 1756257 commit 64d8080

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

swift/llm/utils/template.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3173,7 +3173,7 @@ def data_collator(self, batch: List[Dict[str, Any]], padding_to: Optional[int] =
31733173
return res
31743174

31753175

3176-
register_template(TemplateType.molmo, MolmoTemplate())
3176+
register_template(TemplateType.molmo, MolmoTemplate(), lazy_tokenize=True, use_model=True)
31773177

31783178

31793179
class PaliGemmaTemplate(Template):

0 commit comments

Comments
 (0)