You are not logged in.

#1 2024-11-08 10:23:49

xibei
Member
From: Chengdu
Registered: 2024-11-08
Posts: 3
Website

How to specify the installation of a specific version of CUDA and cudn

How to specify the installation of a specific version of CUDA and cudnn?

I need to run a project using CUDA 10.1 while my ARCH is 12.6, which installed by "sudo pacman -S cuda cudnn".

I search the NVIDIA official website and find out that there only  has version for Ubuntu. Does it suitable for ARCH?

Offline

#2 2024-11-08 10:26:44

gromit
Package Maintainer (PM)
From: Germany
Registered: 2024-02-10
Posts: 657
Website

Re: How to specify the installation of a specific version of CUDA and cudn

If you need a specific version it's probably easier to do via user-level tools (as opposed to a system package manager) like anaconda or others.

Offline

#3 2024-11-08 10:33:15

xibei
Member
From: Chengdu
Registered: 2024-11-08
Posts: 3
Website

Re: How to specify the installation of a specific version of CUDA and cudn

gromit wrote:

If you need a specific version it's probably easier to do via user-level tools (as opposed to a system package manager) like anaconda or others.

My Anaconda version and CUDA version is right, but when I run this project in my bash and it shows"ValueError: Unknown CUDA arch (8.9) or GPU not supported", which seems problem happened on the system level.

Thank for your reply! I will try to solve it.

Offline

#4 2024-11-08 10:37:43

xibei
Member
From: Chengdu
Registered: 2024-11-08
Posts: 3
Website

Re: How to specify the installation of a specific version of CUDA and cudn

xibei wrote:

How to specify the installation of a specific version of CUDA and cudnn?

I need to run a project using CUDA 10.1 while my ARCH is 12.6, which installed by "sudo pacman -S cuda cudnn".

I search the NVIDIA official website and find out that there only  has version for Ubuntu. Does it suitable for ARCH?

The biggest headache for me is that I don't know how to install an old version of CUDA on arch linux, AUR doesn't have an old version of CUDA, and the NVIDIA official website only has an Ubuntu version.

Offline

#5 2024-11-08 10:43:05

gromit
Package Maintainer (PM)
From: Germany
Registered: 2024-02-10
Posts: 657
Website

Re: How to specify the installation of a specific version of CUDA and cudn

Yeah what I meant with my previous reply is that you could probably create a anaconda environment where the development dependencies of this project are all pinned to the fitting versions.

Offline

#6 2024-11-08 11:15:23

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 12,926

Re: How to specify the installation of a specific version of CUDA and cudn

For the Record : AUR has many old versions of cuda, but 10.1 is not present.

10.2 and 10.0 are .
Maybe you can use one of them ?


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

Board footer

Powered by FluxBB