From 2efd1f0d79ce0f352537a3387e7714f850a2e832 Mon Sep 17 00:00:00 2001 From: Tom Rix Date: Sat, 27 Jul 2024 08:58:44 -0400 Subject: [PATCH] Fbgemm not available on aarch64 Signed-off-by: Tom Rix --- python-torch.spec | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/python-torch.spec b/python-torch.spec index 7bcc4bf..d3b1156 100644 --- a/python-torch.spec +++ b/python-torch.spec @@ -83,10 +83,14 @@ %endif %if 0%{?fedora} > 40 +%ifarch x86_64 %bcond_without fbgemm %else %bcond_with fbgemm %endif +%else +%bcond_with fbgemm +%endif # For testing cuda %ifarch x86_64