Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
haoning.wu committed Jan 20, 2024
1 parent d2e350f commit f79ed74
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions q_align/train/train_mem.py
Original file line number Diff line number Diff line change
Expand Up @@ -823,8 +823,8 @@ def make_inputs_require_grad(module, input, output):
if training_args.freeze_vision_model:
for p in model.get_model().vision_model.parameters():
p.requires_grad = False

model.print_trainable_parameters()
if training_args.lora_enable:
model.print_trainable_parameters()
model.config.visual_abstractor_lr = training_args.visual_abstractor_lr


Expand Down

0 comments on commit f79ed74

Please sign in to comment.