-
Notifications
You must be signed in to change notification settings - Fork 816
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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
pip install torchtext==0.7.0 installs incompatible PyTorch 1.7.0 #1063
Comments
Yup. That's expected. Since we add cpp extension in torchtext, we have to publish torchtext and pytorch together for compatibility. You should use torchtext=0.8.0 with torch=1.7.0. Any version before 0.7.0 has python only so the compatibility is not an issue. Feel free to re-open the issue if you still have questions. |
But, shouldn't |
It should but obviously it didn't. If users would like the access to the previous version, please follow the version compatibility on README file of the repo. |
Is it possible for you to fix this such that |
Let me follow-up with @seemethere |
Yup looks like this is a real bug, we don't actually set a specific torch version in the setup.py https://github.com/pytorch/text/blob/v0.8.0-rc2/setup.py#L85 |
This will be addressed in the next release to fix the torch/torchtext version. |
馃悰 Bug
Describe the bug
Recently, after I do
pip install torchtext==0.7.0
, import torchtext would cause segmentation fault. I found that degrading pytorch to 1.6.0 fixes this issue.To Reproduce
Steps to reproduce the behavior:
pip install torchtext==0.7.0
(assuming that pytorch is not installed yet, and this command will install the latest pytorch)Expected behavior
Segmentation Fault
Environment
The text was updated successfully, but these errors were encountered: