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
Received a fatal error!! #16
Comments
Browsed much materials, pytorch 1.4 or below can support it. wish somebody can fix it. |
I run on pytorch 1.9.0. But it is strange that it requires 1.4 or below to solve the bug. Can you start a new virtual environment and test it? |
Is it correct on pytorch 1.9.0? |
After verification, pytorch 1.9 does not work! |
Maybe you guys should fix it in openprompt. |
For torch 1.4, we found that transofrmers complains torch>=1.5.0 is required for a normal functioning of this module, but found torch==1.4.0+cu92. |
openprompt 1.0.1 pytorch 1.9, cuda 11.6/7 |
can u run fewshot.py? i have the same error |
No, we can not. |
I had the same issue, did anyone fix it |
test fewshot.py, get the below fatal error.
pytorch 1.10.0
one of the variables needed for gradient computation has been modified by an inplace operation: [torch.cuda.FloatTensor [20, 1076]], which is output 0 of SoftmaxBackward0, is at version 1; expected version 0 instead. Hint: the backtrace further above shows the operation that failed to compute its gradient. The variable in question was changed in there or anywhere later. Good luck!
The text was updated successfully, but these errors were encountered: