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}