-
Notifications
You must be signed in to change notification settings - Fork 24.2k
TORCH_COMPILE_CPROFILE does not work for python 3.12 #137869
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
Labels
needs reproduction
Someone else needs to try reproducing the issue given the instructions. No action needed from user
oncall: pt2
triaged
This issue has been looked at a team member, and triaged and prioritized into an appropriate module
vllm-compile
Comments
cc @zou3519 |
Can't repro it with Python-2.4.1, do you mind running |
@malfet hope it helps. |
@bobrenjc93 is able to repro #139232 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
needs reproduction
Someone else needs to try reproducing the issue given the instructions. No action needed from user
oncall: pt2
triaged
This issue has been looked at a team member, and triaged and prioritized into an appropriate module
vllm-compile
🐛 Describe the bug
this simple code:
does not work for python 3.12:
torch._dynamo.exc.InternalTorchDynamoError: Another profiling tool is already active
might be related: python/cpython#110770
changing python versions to less than 3.12 works.
Versions
python 3.12 + pytorch 2.4
cc @ezyang @chauhang @penguinwu @zou3519
The text was updated successfully, but these errors were encountered: