跑graphgpt_eval.sh时,sh文件配置如下,stage_1中放置的是pytorch_model-00001-of-00003.bin文件和相关huggingface上的配置文件
结果在加载模型到cuda的时候,报错“NotImplementedError: Cannot copy out of meta tensor; no data!”
运行时一直warning "copying from a non-meta parameter in the checkpoint to a meta parameter in the current model, which is a no-op. (Did you mean to pass assign=True to assign items in the state dictionary to their corresponding key in the module instead of copying them in place?)”
且提示模型初始化参数问题
请问是否是我在运行eval时的配置存在问题
跑graphgpt_eval.sh时,sh文件配置如下,stage_1中放置的是pytorch_model-00001-of-00003.bin文件和相关huggingface上的配置文件 结果在加载模型到cuda的时候,报错“NotImplementedError: Cannot copy out of meta tensor; no data!” 运行时一直warning "copying from a non-meta parameter in the checkpoint to a meta parameter in the current model, which is a no-op. (Did you mean to pass
assign=True
to assign items in the state dictionary to their corresponding key in the module instead of copying them in place?)” 且提示模型初始化参数问题 请问是否是我在运行eval时的配置存在问题