-
Notifications
You must be signed in to change notification settings - Fork 7.3k
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
@torch.compiler.disable - AttributeError: module 'torch' has no attribute 'compiler' #5268
Comments
The latest v0.6 is different from the previous v0.6. You can install the previous one to solve this problem, like |
Or you can take the code from just before the commit that broke it: |
I have the same problem you have. I use torch==2.0.0. |
I am using torch==2.0.0 and this works for me. Don鈥檛 forget to uninstall the current detecron2 before executing the command, otherwise an error will still appear. |
Just wondering what CUDA versions and drivers are you using guys? |
What CUDA Version are you using? @vvvvabc @Marlod390 ? |
@ChrsBaur cuda11.8 |
Instructions To Reproduce the 馃悰 Bug:
In:
detectron2/layers/nms.py''' and '''detectron2/layers/roi_align_rotated.py
There is a new commit: '''181aae3'''
has included:
+@torch.compiler.disable
(see commit changes)
So, with torch==1.11.0
torchvision==0.12.0
(I am using them to run DiT) the code says now:
Expected behavior:
It should work. Since this comit, everthing is failing!
Environment:
The text was updated successfully, but these errors were encountered: