yongzhuo / ChatGLM2-SFT

ChatGLM2-6B微调, SFT/LoRA, instruction finetune
Apache License 2.0
107 stars 10 forks source link

OutOfMemoryError: CUDA out of memory. #10

Open logcy opened 1 year ago

logcy commented 1 year ago

image 运行的时候报如上错误是为啥呀

yongzhuo commented 1 year ago

有可能是某个样本文本太长了?改一下最大文本长度,或者batch_size试试呢