datawhalechina / self-llm

《开源大模型食用指南》基于Linux环境快速部署开源大模型,更适合中国宝宝的部署教程
Apache License 2.0
8.24k stars 985 forks source link

DeepSeek-7B-chat-Lora微调训练时报错 #139

Open 3Justice opened 4 months ago

3Justice commented 4 months ago

在设置trainer时会显示该错误,使用accelerate之后也不能解决。 微信截图_20240606144632 微信截图_20240606144647

NotImplementedError: Cannot copy out of meta tensor; no data!

logan-zou commented 3 months ago

请确认环境的所有版本配置和我们给出来的一致哈,这个看起来是环境配置问题

3Justice commented 3 months ago

请确认环境的所有版本配置和我们给出的结果一致,这个外观是环境配置问题

自己大意了,已经解决了,非常感谢