-
Notifications
You must be signed in to change notification settings - Fork 69
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CUDA version #1198
Comments
I have this same problem. |
Is it possible to force torch to use an existing CUDA-Pytorch installation on Linux (Ubuntu)? |
Hello @rimorob, When you choose cuda 12.6, it means you can neither install pytorch according to https://github.com/pytorch/pytorch/blob/main/RELEASE.md#release-compatibility-matrix nor R {torch} So I would recommend the cuda version to be the result of what you want to run on your GPU, not the other way round. That said, {torch} do try to follow the cuda version as best as possible, but there is no plan, there is only spare time, your support and your warmly welcome contributions ! |
I heavily recommend using the pre-built binaries from: https://torch.mlverse.org/docs/articles/installation#pre-built The pre-built binaries bundle the necessary CUDA and cudnn versions, so you don't need a global compatible system version of CUDA. |
I have the same problem and tried @dfalbel's suggestion to install pre-built binaries. However, I get an "Access Denied" error when trying to download from torch-cdn (e.g. https://torch-cdn.mlverse.org/packages/cu117/0.13.0/). Can anyone confirm? |
Did you run something like:
This definitely works for me - i have tried on colab notebook too quite recently: https://colab.research.google.com/drive/1XBTt3mf6EE5mX_518xIIvoT51b4mj6LX?usp=sharing |
Hm, the notebook works but how can I be sure it did not install from CRAN? Because when I check the URL with |
If you installed from CRAN, GPU code wouuldn't work because colab doesn't have a compatible version of CUDA. |
The binary route does NOT work for me:
|
I've just installed CUDA 12.6 on a fresh system. Turns out, R Torch only supports 11.7/.8 for now. Are there any near-term plans to extend support to newer CUDA versions, or should I downgrade CUDA if I'm planning to use R Torch?
The text was updated successfully, but these errors were encountered: