-
Notifications
You must be signed in to change notification settings - Fork 132
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
RuntimeError: Not implemented on the CPU (When running example notebook) #15
Comments
Hi @Robotatron, thanks for your interest in our work. It is strange that you are encountering this error, as the notebook works perfectly fine when I execute the cells. It would be best if you do not replace I would like you to confirm if you are cloning the |
Closing this issue for now. Feel free to reopen if you face any issues. |
I am using the notebook locally, in a freshly created conda env following your guides. |
|
Hi @Robotatron, yeah, that's precisely the issue. When you use Pytorch with cuda build 11.3, it expects CUDA >= 11.3. If you have a lower cuda version, try installing torch with cuda 11.0. That should solve the issue. |
@praeclarumjj3 Thank you very much, it was indeed an issue with PyTorch installed with CUDA 11.3. Using PyTorch with 11.1 on a machine with 11.2 solved the issue! |
Using your example notebook getting an error
RuntimeError: Not implemented on the CPU
Changing cfg.MODEL.DEVICE and cpu_device = torch.device("cpu") to "cuda" throws a different error
The text was updated successfully, but these errors were encountered: