View previous topic :: View next topic |
Author |
Message |
kelvin34501 n00b
Joined: 05 Oct 2018 Posts: 14
|
Posted: Sat Dec 14, 2024 12:19 pm Post subject: Multiple CUDA versions on same Gentoo machine |
|
|
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 |
|
|
Hu Administrator
Joined: 06 Mar 2007 Posts: 22885
|
Posted: Sat Dec 14, 2024 12:30 pm Post subject: |
|
|
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 |
|
|
kelvin34501 n00b
Joined: 05 Oct 2018 Posts: 14
|
Posted: Sun Dec 15, 2024 7:19 am Post subject: |
|
|
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 |
|
|
logrusx Advocate
Joined: 22 Feb 2018 Posts: 2533
|
Posted: Sun Dec 15, 2024 10:14 am Post subject: |
|
|
kelvin34501 wrote: | 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. |
What's the question here? The Gentoo ebuild is based on the NVIDIA binary distribution and really there is no other way.
kelvin34501 wrote: | 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. |
Why would you want that?
What's the real issue you're trying to solve?
Best Regards,
Georgi |
|
Back to top |
|
|
kelvin34501 n00b
Joined: 05 Oct 2018 Posts: 14
|
Posted: Sun Dec 15, 2024 10:33 am Post subject: |
|
|
logrusx wrote: | kelvin34501 wrote: | 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. |
What's the question here? The Gentoo ebuild is based on the NVIDIA binary distribution and really there is no other way.
kelvin34501 wrote: | 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. |
Why would you want that?
What's the real issue you're trying to solve?
Best Regards,
Georgi |
I am trying to build a pytorch extension that only works under CUDA 11, and I don't want to downgrade the system CUDA version |
|
Back to top |
|
|
logrusx Advocate
Joined: 22 Feb 2018 Posts: 2533
|
Posted: Sun Dec 15, 2024 11:47 am Post subject: |
|
|
kelvin34501 wrote: |
I am trying to build a pytorch extension that only works under CUDA 11, and I don't want to downgrade the system CUDA version |
Your quickest route is to downgrade, but nct 11 is already ~ keyworded and it's uncertain for how long it'll stay in tree. I'm not sure if slotting it is possible. It looks like it to my half-competent in that regard eye, but it might not be. Best way file a bug request for moving that extension to a newer version.
If you're feeling adventurous, you can try to install it in a custom location and use it from there.
Best Regards,
Georgi |
|
Back to top |
|
|
|