Skip to content
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

fintune后加载推理报错,用法是标准的用法 #436

Open
o-github-o opened this issue Oct 27, 2023 · 1 comment
Open

fintune后加载推理报错,用法是标准的用法 #436

o-github-o opened this issue Oct 27, 2023 · 1 comment

Comments

@o-github-o
Copy link

Some weights of BertModel were not initialized from the model checkpoint

return t.to(device, dtype if t.is_floating_point() or t.is_complex() else None, non_blocking)
NotImplementedError: Cannot copy out of meta tensor; no data!

@hermanWu55
Copy link

同样有这个问题,是怎么解决的吗

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants