You are not logged in.

#1 2023-05-19 01:09:44

orbit1849
Member
Registered: 2022-10-13
Posts: 5

CUDA 11.7 on Arch, what to do when there's no AUR?

I need CUDA 11.7 specifically, as this is used in popular LLM (Large Language Model) projects. With a more modern CUDA version, the complex build environment breaks. I'd rather not have to install Debian or some other distro simply because NVIDIA supports these other distros, but I'm just mentioning this here because I know this will fix my problem, as I've tested it on a separate machine to see if CUDA 11.7 indeed resolved the issue, which it did.

In any case, this is the situation:

There is nothing in pacman for CUDA 11.7.
There is no AUR for CUDA 11.7.
There is no official NVIDIA support for Arch Linux for CUDA.

There doesn't seem to be any AUR for CUDA 11.7, or am I just not looking in the right place? I've tried yay and manually looked at https://aur.archlinux.org; I can't find any such package.

I've also tried to convert a .deb package (NVIDIA does support Debian, and a couple other distros), although I managed to create a package without errors using debtap, installing it doesn't seem to populate files in the directories I would expect. Moreover, the AUR appears to simply contain a slew of .deb files (within the AUR package) that are supposed to be extracted, compiled, and installed. This appears complicated to get to work by going this route.

Last edited by orbit1849 (2023-05-19 01:49:43)

Offline

#2 2023-05-19 01:38:06

dakota
Member
Registered: 2016-05-20
Posts: 206

Re: CUDA 11.7 on Arch, what to do when there's no AUR?

Are you looking for cuda? Or, specifically, for an old version of cuda (11.7)?

Offline

#3 2023-05-19 01:47:08

orbit1849
Member
Registered: 2022-10-13
Posts: 5

Re: CUDA 11.7 on Arch, what to do when there's no AUR?

dakota wrote:

Are you looking for cuda? Or, specifically, for an old version of cuda (11.7)?

For CUDA 11.7 specifically.

The reason is, this is used for LLMs (Large Language Model) in a few popular projects, so this is something that should exist. The complex build environment basically expects CUDA 11.7 to exist on the system and it breaks in bad ways when a more recent version of CUDA is present.

Offline

#4 2023-05-19 02:14:55

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 28,377
Website

Re: CUDA 11.7 on Arch, what to do when there's no AUR?

You can get cuda-11.7.1-3 from the archive, though you would need gcc11 from the AUR.


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#5 2023-05-19 20:30:42

orbit1849
Member
Registered: 2022-10-13
Posts: 5

Re: CUDA 11.7 on Arch, what to do when there's no AUR?

Trilby wrote:

You can get cuda-11.7.1-3 from the archive, though you would need gcc11 from the AUR.

Thanks, that actually worked. How did you find that package?

Last edited by orbit1849 (2023-05-19 20:30:52)

Offline

#6 2023-05-19 20:37:19

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 28,377
Website

Re: CUDA 11.7 on Arch, what to do when there's no AUR?


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

Board footer

Powered by FluxBB