princeton-vl / DROID-SLAM

BSD 3-Clause "New" or "Revised" License
1.65k stars 272 forks source link

CUDA/PyTorch version mismatch #109

Open buemi opened 11 months ago

buemi commented 11 months ago

Hi. I receive this error when I launch the setup.py script:

RuntimeError: The detected CUDA version (11.7) mismatches the version that was used to compile PyTorch (10.2). Please make sure to use the same CUDA versions.

I did several tests uninstalling and installing several CUDA and PyTorch versions without success. What is the correct CUDA/PyTorch versions pair to use? Note that I followed the instructions to create the correct dependencies by the environment.yaml file and it ends with no errors.

ChihYuanTeng commented 1 month ago

@buemi The official anaconda installation will install Pytorch 1.10 which is compatible with CUDA 11.3.