Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #257559 > unrolled thread

Debian support for AMD GPU applications

Started byjeremy ardley <jeremy@ardley.org>
First post2023-04-25 07:40 +0200
Last post2023-04-27 07:50 +0200
Articles 3 — 3 participants

Back to article view | Back to linux.debian.user


Contents

  Debian support for AMD GPU applications jeremy ardley <jeremy@ardley.org> - 2023-04-25 07:40 +0200
    Re: Debian support for AMD GPU applications Sarunas Burdulis <sarunas@math.dartmouth.edu> - 2023-04-25 20:00 +0200
    Re: Debian support for AMD GPU applications Pankaj Jangid <pankaj@codeisgreat.org> - 2023-04-27 07:50 +0200

#257559 — Debian support for AMD GPU applications

Fromjeremy ardley <jeremy@ardley.org>
Date2023-04-25 07:40 +0200
SubjectDebian support for AMD GPU applications
Message-ID<Gojzb-4lJP-1@gated-at.bofh.it>

[Multipart message — attachments visible in raw view] — view raw

Is there any reliable source of information to install computational 
back-ends using AMD GPUs on Debian 11?

I have found some references to packages such as rocm-dev on 
repo.radeon.com but they are all ubuntu related and won't install in 
Debian 11.

In the end I want to run tensorflow, pytorch, opencv etc at full speed 
using a GPU.

Jeremy

[toc] | [next] | [standalone]


#257609

FromSarunas Burdulis <sarunas@math.dartmouth.edu>
Date2023-04-25 20:00 +0200
Message-ID<Gov7j-4tak-7@gated-at.bofh.it>
In reply to#257559

[Multipart message — attachments visible in raw view] — view raw

On 4/25/23 01:30, jeremy ardley wrote:
> Is there any reliable source of information to install computational 
> back-ends using AMD GPUs on Debian 11?
> 
> I have found some references to packages such as rocm-dev on 
> repo.radeon.com but they are all ubuntu related and won't install in 
> Debian 11.
> 
> In the end I want to run tensorflow, pytorch, opencv etc at full speed 
> using a GPU.

I haven't tested on Debian 11, but on a fresh install of Debian 12 
adding repositories as for Ubuntu as described here just works:

https://docs.amd.com/bundle/ROCm-Installation-Guide-v5.4.3/page/How_to_Install_ROCm.html

Then `apt install rocm-opencl-runtime` to use ROCm OpenCL with an 
upstream kernel module (amdgpu.ko), i.e. no DKMS to recompile it from 
AMD's sources.

-- 
Sarunas Burdulis
Dartmouth Mathematics
math.dartmouth.edu/~sarunas

· https://useplaintext.email ·

[toc] | [prev] | [next] | [standalone]


#257654

FromPankaj Jangid <pankaj@codeisgreat.org>
Date2023-04-27 07:50 +0200
Message-ID<Gp2FX-4OC2-5@gated-at.bofh.it>
In reply to#257559
jeremy ardley <jeremy@ardley.org> writes:

> Is there any reliable source of information to install computational
> back-ends using AMD GPUs on Debian 11?

I followed the below repo and it worked perfectly on Debian 12
(Bookworm). No need to install anything else on your system (no need for
rocm-device-* etc. packages). You can cleanly uninstall also, if you
want.

https://gitlab.com/BCMM/amdgpu-opencl-on-debian

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.user


csiph-web