Update patcher.py
This commit is contained in:
1 parent
5f72439a1d
commit
708aa5e098
1 file changed
+1
-1
@@ -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:
|
||||
|
||||
Reference in new issue
Block a user