-
-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
RuntimeError
when training coref example project
#11734
Comments
RuntimeError
when training coref experimental example projectRuntimeError
when training coref example project
Thanks for the report and sorry you're having trouble with this. I notice you're using Torch 1.13.0, which was just released. Can you downgrade to a 1.12 version and see if that works? This may be related to #11742. |
You're right, it works fine with PyTorch 1.12.1! I suspect it's a separate issue to #11742 though, as there was no fatal error / segfault. |
Thanks for confirming that works. I guess the specific error is different, but I think 1.13 has brought many changes that we'll need to test more thoroughly, so in general I would hold off on 1.13 for now unless you're feeling adventurous. |
The fix for this is in the main branch at |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
This is an issue in the experimental coref project. If this is not the right place to capture issues regarding that repository, please let me know.
Running
spacy project run all
to train the coref model leads to the following error:RuntimeError: indices should be either on cpu or on the same device as the indexed tensor (cpu)
Full output:
How to reproduce the behaviour
Your Environment
The text was updated successfully, but these errors were encountered: