Skip to content
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

Open
rimorob opened this issue Oct 14, 2024 · 4 comments
Open

CUDA version #1198

rimorob opened this issue Oct 14, 2024 · 4 comments

Comments

@rimorob
Copy link

rimorob commented Oct 14, 2024

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?

@dmkaplan2000
Copy link

I have this same problem.

@LuisLauM
Copy link

Is it possible to force torch to use an existing CUDA-Pytorch installation on Linux (Ubuntu)?

@cregouby
Copy link
Collaborator

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}
When you choose cuda 12.4, you have one pytorch version supported (2.5) that has not been patched yet and a second one with experimental support
When you choose cuda 11.8, you can choose pytorch version from 2.1 to 2.5, many associated cudnn versions and {torch} v 0.13.0 available on CRAN.

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 !

@dfalbel
Copy link
Member

dfalbel commented Oct 17, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants