Skip to content
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

[BUG]: Torch compile causes multi-process to hang with python 3.9 #5987

Open
1 task done
Edenzzzz opened this issue Aug 10, 2024 · 0 comments
Open
1 task done

[BUG]: Torch compile causes multi-process to hang with python 3.9 #5987

Edenzzzz opened this issue Aug 10, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@Edenzzzz
Copy link
Contributor

Is there an existing issue for this bug?

  • I have searched the existing issues

🐛 Describe the bug

Posting this for documentation purposes.
torch.compile has been reported to cause hang on exit when used with the "spawn" method in multiprocess.
pytorch/pytorch#115366
pytorch/pytorch#126311
Upgrading to Python 3.10 may solve the problem (at least in my case). Currently, we can only push the Pytorch community to fix this🫠

Environment

PyTorch 2.1.1 + Python 3.9

@Edenzzzz Edenzzzz added the bug Something isn't working label Aug 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant