From 2debc89ffde27e50372829c19a94c0b9e46fcb38 Mon Sep 17 00:00:00 2001 From: Tom Rix Date: Sat, 20 Jul 2024 15:43:46 -0600 Subject: [PATCH] Fix USE_NUMA Needed a BuildRequires: numactl-devel Signed-off-by: Tom Rix --- python-torch.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python-torch.spec b/python-torch.spec index 3e74505..1dad38f 100644 --- a/python-torch.spec +++ b/python-torch.spec @@ -327,9 +327,10 @@ BuildRequires: gcc-gfortran BuildRequires: gloo-devel %endif %endif +BuildRequires: libomp-devel +BuildRequires: numactl-devel BuildRequires: ninja-build BuildRequires: onnx-devel -BuildRequires: libomp-devel %if %{with distributed} %if %{with mpi} BuildRequires: openmpi-devel @@ -918,7 +919,6 @@ export USE_MAGMA=OFF export USE_MEM_EFF_ATTENTION=OFF export USE_MKLDNN=OFF export USE_MPI=OFF -export USE_MKLDNN=OFF export USE_NCCL=OFF export USE_NNPACK=OFF export USE_NUMPY=ON