Kernel not compiled with GPU support
See original GitHub issue❓ Questions and Help
General questions about detectron2.
Hi, when train models with detectron2, the encountered error is shown below:
RuntimeError: Not compiled with GPU support (ROIAlign_forward at /mnt/lustre/liang1/project/detectron2/detectron2/layers/csrc/ROIAlign/ROIAlign.h:71)
I have install detectron2 with python setup.py build develop
, will it compile only with CPU by default? thx.
Issue Analytics
- State:
- Created 4 years ago
- Reactions:4
- Comments:19 (6 by maintainers)
Top Results From Across the Web
Why am I getting RuntimeError: Not compiled with GPU ...
I am trying to run the code from: https://github.com/cvlab-stonybrook/ContactHands on Windows 10. It uses detectron2 and pytorch with CUDA.
Read more >NVIDIA CUDA Installation Guide for Linux
NVIDIA CUDA Installation Guide for Linux. The installation instructions for the CUDA Toolkit on Linux. 1. Introduction . CUDA® is a parallel...
Read more >Installation — detectron2 0.6 documentation
"nvcc not found" or "Not compiled with GPU support" or "Detectron2 CUDA ... "invalid device function" or "no kernel image is available for...
Read more >Troubleshooting - CUDA.jl
Not all of Julia is supported by CUDA.jl. Several commonly-used features, like strings or exceptions, will not compile to GPU code, because of...
Read more >Install TensorFlow with pip
Note: The error message "Status: device kernel image is invalid" indicates that the TensorFlow package does not contain PTX for your architecture. You...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
i run python3 -c ‘import torch; from torch.utils.cpp_extension import CUDA_HOME; print(torch.cuda.is_available(), CUDA_HOME)’, it return True。 and i run detectron2, it still return “RuntimeError: Not compiled with GPU support”, Have you solved it? @ppwwyyxx
i have solved it, reinstall detectron2 : remove bulid file , execute “python setup.py build develop” again,make sure your cuda version is match with pytorch version @ppwwyyxx