-
Notifications
You must be signed in to change notification settings - Fork 22.8k
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
Torch 2.0 import hangs forever #97580
Comments
This comment was marked as off-topic.
This comment was marked as off-topic.
In this case the CUDA versions are the same (both 11.8). The reason this seems potentially of interest to the torch community is that it may indicate some issue with the way in which torch 2.0 is trying to grab access to available GPUs which did not exist in prior versions. |
Wondering if there's any idea as to the timelines for this issue being resolved? We're trying to merge the pytorch 2.0 dependabot PR but it breaks our CI. I saw this comment on the tensorflow repo as well if it helps at all. |
This is an issue with cpu version too. The tf team thinks it's torch's burden to fix it, and rightly so since torch gets blocked from importing : tensorflow/tensorflow#60109 |
This seems to be fixed now with |
🐛 Describe the bug
Importing torch 2.0 after importing tensorflow hangs forever. This does not happen with torch 1.13. It happens both with cuda 118 and cuda 117.
Versions
cc @malfet @seemethere @ngimel
The text was updated successfully, but these errors were encountered: