Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

GPU installation broken #461

Closed
tsampazk opened this issue Sep 8, 2023 · 1 comment · Fixed by #463
Closed

GPU installation broken #461

tsampazk opened this issue Sep 8, 2023 · 1 comment · Fixed by #463
Labels
bug Something isn't working

Comments

@tsampazk
Copy link
Collaborator

tsampazk commented Sep 8, 2023

See #463.

Installing through git for GPU is currently broken. I have tested both master and develop in two separate machines, getting various errors.

Mainly detectron gives out this error:

RuntimeError:
      The detected CUDA version (11.2) mismatches the version that was used to compile
      PyTorch (11.6). Please make sure to use the same CUDA versions.
      ...
      ERROR: Failed building wheel for detectron2

I have CUDA 11.2 installed as suggested before.

Suggested temporary fix (by @Pavlos-Tosidis) is to remove the last line of GPU installation in install.sh relating to detectron, running install.sh and replace the [torch installation line] with:

python3 -m pip install torch==1.13.1+cu116 torchvision==0.14.1+cu116 torchaudio==0.13.1 --extra-index-url https://download.pytorch.org/whl/cu116
@tsampazk tsampazk added the bug Something isn't working label Sep 8, 2023
This was referenced Sep 12, 2023
@tsampazk tsampazk added test tools Test the toolkit methods and removed test tools Test the toolkit methods labels Sep 18, 2023
@tsampazk
Copy link
Collaborator Author

More detailed information on how to run a working installation can be found on #463

@tsampazk tsampazk linked a pull request Sep 25, 2023 that will close this issue
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant