Open NostalgiaOfTime opened 1 year ago
Is any update, I still confuse about it
I am also confused about the parameter "--only_optimize_lora". What is the fundamental difference between setting and not setting this parameter?
@NostalgiaOfTime @xinghuang2050 - hi, actor_lora_module_name
is used to filter which linear should be changed to lora linear. And only_optimize_lora
is used to select whether optimize full-parameters or only the Lora matrix A and B.
I see much shell file include "--actor_lora_module_name" but without "only_optimize_lora". According to the source code, this will cause all the model parameters will be trained instead of only LoRA layers.
so could tell me the meaning of setting actor_lora_module_name without only_optimize_lora