CUDA issue with local RootPainter server WIN #113
-
Hi. I was setting local RP server on windows machine with Nvidia RTX 4090 with installed compatible CUDA toolkit, NVIDIA drivers, pytotch from https://pytorch.org/get-started/locally/ and all required packages from requirements.txt. Here is the text of error hwich I get when it tries to read instructions and start segmentation:
Could you please give me a hint what can be the issue? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 4 replies
-
Hi! thanks for reaching out! My best guess is that cuda (or PyTorch with cuda support) is not yet installed properly on your system. It can be a little tricky. See the following stack overflow answer, which includes a code snippet showing how to check if your PyTorch installation has access to your GPU. https://stackoverflow.com/a/48152675 The snippet included inline for convenience: ‘’’
The cuda and PyTorch version you need to install is specific to your platform. I suggest figuring this bit out before installing the RootPainter server, as the RootPainter server should work with any recent version of PyTorch. Unfortunately there’s a lot that could have gone wrong so I can’t really give you too much advice on installing cuda and PyTorch on your platform beyond following the official NVIDIA and PyTorch documentation. I don’t believe this issue is within RootPainter itself (although I appreciate the cuda/PyTorch dependency can be a headache to sort out and I wish I knew of a better solution). The NVIDIA 4090 GPU is an excellent choice for running RootPainter. I am sure you will have fun once you get cuda and PyTorch installed. Kind regards, |
Beta Was this translation helpful? Give feedback.
-
A related discussion: https://discuss.pytorch.org/t/windows-11-with-nvidia-rtx-4090/170221/13 Perhaps this could help |
Beta Was this translation helpful? Give feedback.
-
Another option could be to try the nightly PyTorch and see if that gives you GPU access: |
Beta Was this translation helpful? Give feedback.
Thank you for all the comments! All problems were solved when I installed NVIDIA CUDA with Anaconda. With pytorch nightly for cuda 12.1. It works perfectly now.