MiniCPM-V icon indicating copy to clipboard operation
MiniCPM-V copied to clipboard

fp16 or bf16 in LoRA fine-tuning ?

Open chongkuiqi opened this issue 1 year ago • 1 comments

Thanks for your great work! When LoRA fine-tuning the MiniCPM-V-2_6, should I use fp16 or bf16 ? The default setting in 'finetune_lora.sh' is fp16, but the trained models you provided is bf16, so which one is better for LoRA fine-tuning ?

chongkuiqi avatar Aug 21 '24 03:08 chongkuiqi

hi,if you can use bf16 in your machine you should choose bf16. This is just my personal opinion

LDLINGLINGLING avatar Aug 21 '24 06:08 LDLINGLINGLING