-
Notifications
You must be signed in to change notification settings - Fork 584
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
我在微调LLAMA3的时候出现NotImplementedError: Cannot copy out of meta tensor; no data! #110
Comments
可以把详细的报错代码贴一下嘛,看不太出来这是什么原因 |
我重新配置环境之后可以了 |
请问是包的版本导致的么?我也出现这中情况了。 |
我在kaggle中跑这个代码出现这个问题,现在重新配置环境之后也还是出现这个问题,昨天只好了一次,用autodl不会有这个错误 |
好了之后, 可以贴一下包的版本吗, |
|
@Mr-Lnan 多谢 不过没解决 |
这个可以 https://stackoverflow.com/a/78082205
|
trainer = Trainer( model=model, args=args, train_dataset=tokenized_id, data_collator=DataCollatorForSeq2Seq(tokenizer=tokenizer, padding=True), )
这里报错NotImplementedError: Cannot copy out of meta tensor; no data!,可是我输出model,args,tokenized_id,tokenizer全是正常的
The text was updated successfully, but these errors were encountered: