-
Notifications
You must be signed in to change notification settings - Fork 12
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
expected dtype float for end
but got dtype c10::BFloat16
#5
Comments
getting the same error with the newest torch and transformers==4.36.2 |
The same error occurs in the version below. absl-py 2.1.0 |
I'm getting this error at the end of epoch 1. What could be the problem? |
Me too. Have you solved this problem? |
huggingface/transformers#34702 Take a look here! |
Running the gitcode encountered the above error, the full error is as follows:
transformers == 4.32.1
torch==2.2.0
The text was updated successfully, but these errors were encountered: