-
Notifications
You must be signed in to change notification settings - Fork 6k
Error "NotImplementedError: Cannot copy out of meta tensor; no data!" on some tests #2500
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
Comments
I could reproduce this with @patrickvonplaten @muellerzr do you happen to have any insight here? |
cc @sgugger |
There are no limitations per se, but bugs were fixed since 0.13.1. Is this an issue that is still ongoing? |
No, it was fixed soon enough in |
Can someone who have the training process running confirm the versions used for transformers, torch , accelerate , to prevent this error about cannot copy out of meta tensor please? thanks. |
Hello, it is possible that the error was caused by transformers==4.26.0. Please try installing version 4.28.0 and check if it resolves the issue. |
I'm getting this error with accelerate==0.29.2 and transformers==4.39.3. |
Describe the bug
I am hitting this exceptions on various tests:
System Info
Tried on multiple linux machines with various Nvidia GPUs.
Running from branch v0.13.1
diffusers
version: 0.13.1The text was updated successfully, but these errors were encountered: