From 2904630b42f0cdbefe8fbdd7a3e42ed34e7ffb79 Mon Sep 17 00:00:00 2001 From: Tom Rix Date: Tue, 3 Sep 2024 05:30:39 -0700 Subject: [PATCH] amdsmi is a runtime dependency for ROCm Signed-off-by: Tom Rix --- python-torch.spec | 2 ++ 1 file changed, 2 insertions(+) diff --git a/python-torch.spec b/python-torch.spec index 9463683..9945a66 100644 --- a/python-torch.spec +++ b/python-torch.spec @@ -342,7 +342,9 @@ BuildRequires: rocm-rpm-macros-modules BuildRequires: rocthrust-devel BuildRequires: roctracer-devel +Requires: amdsmi Requires: rocm-rpm-macros-modules + %endif %if %{with cuda}