Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Multiple CUDA versions on same Gentoo machine
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
kelvin34501
n00b
n00b


Joined: 05 Oct 2018
Posts: 13

PostPosted: Sat Dec 14, 2024 12:19 pm    Post subject: Multiple CUDA versions on same Gentoo machine Reply with quote

Is it possible to install multiple versions of CUDA on the same Gentoo machine? For example, install both CUDA 11 and 12 for building different pytorch extensions.
Back to top
View user's profile Send private message
Hu
Administrator
Administrator


Joined: 06 Mar 2007
Posts: 22818

PostPosted: Sat Dec 14, 2024 12:30 pm    Post subject: Reply with quote

You can install multiple versions of a slotted package. I see no package named CUDA. Did you mean dev-util/nvidia-cuda-toolkit? If so, that does not appear to be slotted.
Back to top
View user's profile Send private message
kelvin34501
n00b
n00b


Joined: 05 Oct 2018
Posts: 13

PostPosted: Sun Dec 15, 2024 7:19 am    Post subject: Reply with quote

Hu wrote:
You can install multiple versions of a slotted package. I see no package named CUDA. Did you mean dev-util/nvidia-cuda-toolkit? If so, that does not appear to be slotted.


Yes.

The CUDA versions supported by the nvidia-cuda-toolkit are very limited, and it would be best if someone has experience installing CUDA from nvidia runfile on Gentoo.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum