InternLM-XComposer icon indicating copy to clipboard operation
InternLM-XComposer copied to clipboard

请问两张32g v100运行 finetune.sh 报错OOM怎么办?

Open Qinger27 opened this issue 1 year ago • 2 comments

你好!谢谢你们开源了这么棒的项目! 我在2张32g的v100卡上使用finetune.sh脚本基于自己的数据集训练时报错,而且貌似第二张卡没有用起来: image 训练配置如下: image 可以帮忙看一下吗?非常感谢🙏

Qinger27 avatar Mar 11 '24 03:03 Qinger27

--max_length 2048 or 1024 or 512

thonglv21 avatar Apr 03 '24 06:04 thonglv21

lora

yuzeng0-0 avatar Apr 17 '24 08:04 yuzeng0-0

You can reduce the value of max_length of using a small value of lora_r/lora_alpha with lora fine-tuning.

yuhangzang avatar Jul 24 '24 01:07 yuhangzang