Re: ROCm test launcher modifications when there is other non-AMD GPU cards.
Hi Christian,
Thank you for all your answers ! However I was wondering, is it possible to do autopkgtest without backend, here (podman+rocm)? If we don't have a GPU, how do we go about using the backend without a container? Schroot is gradually falling into disuse, can we use the unshare backend instead of schroot when ordering autopkgtest?
Best regards,
Clément LONGEAC
----- Mail original -----
De: "Christian Kastner" <ckk@debian.org>
À: "debian-science" <debian-science@lists.debian.org>
Envoyé: Lundi 12 Mai 2025 22:56:44
Objet: Re: ROCm test launcher modifications when there is other non-AMD GPU cards.
On 2025-05-12 13:06, LONGEAC Clement wrote:
> We have several NVIDIA cards and one AMD
I wasn't paying attention: as there is only *one* AMD card, you can of
course use the podman+rocm backend, as it will pick up all AMD cards. As
there is only one, the "all" is not a problem here.
So you can simply autopkgtest your package, with rocm-test-launcher
enabled, with
$ autopkgtest -B <pkg> -- podman+rocm <image>
This requires package rocm-podman-support. That package also provides
you with
* rocm-podman-setup(1) to prepare your system for GPU-in-container use
* rocm-podman-create(1) to create an image.
Best,
Christian
Reply to: