mirror of
https://github.com/hiyouga/LLaMA-Factory.git
synced 2025-10-14 23:58:11 +08:00
Update patcher.py
Former-commit-id: 2c88d394d29c6e98ac3a6860848855722614ca52
This commit is contained in:
parent
382f096475
commit
d54313fcf9
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user