Update patcher.py

This commit is contained in:
hoshi-hiyouga authored and GitHub committed 2024-05-11 23:56:40 +08:00
1 parent 5f72439a1d
commit 708aa5e098
1 file changed
+1 -1
+1 -1
View File
@@ -101,7 +101,7 @@ def patch_model(
if model_args.resize_vocab:
resize_embedding_layer(model, tokenizer)
if model_args.visual_inputs and model_args.autocast_projector:
if model_args.visual_inputs:
autocast_projector_dtype(model, model_args)
if is_trainable: