diff --git a/python-torch.spec b/python-torch.spec index 20eaf4c..38c70c9 100644 --- a/python-torch.spec +++ b/python-torch.spec @@ -178,12 +178,14 @@ Patch8: 0001-dynamo-3.12-enable-dynamo-on-3.12-enable-most-dynamo.patch # ROCm patches # https://github.com/pytorch/pytorch/pull/120551 +%if %{without cuda} Patch100: 0001-Optionally-use-hipblaslt.patch Patch101: 0001-cuda-hip-signatures.patch Patch102: 0001-silence-an-assert.patch Patch103: 0001-can-not-use-with-c-files.patch Patch104: 0001-use-any-hip.patch Patch105: 0001-disable-use-of-aotriton.patch +%endif ExclusiveArch: x86_64 aarch64 %global toolchain gcc