Incompatible with CUDA version (12.3)
Closed this issue · 1 comments
phuchm commented
When I try to run demo.py, it requires detectron2, but when install detectron2, I meet issue as below:
RuntimeError:
The detected CUDA version (12.3) mismatches the version that was used to compile
PyTorch (11.8). Please make sure to use the same CUDA versions.
Is there any workaround to fix that?
phuchm commented
Oh I fixed it by using:
pip install torch==2.2.1+cu121 torchvision==0.17.1+cu121 --index-url https://download.pytorch.org/whl/cu121