From 89daf765fd18ce8d6ecf40a8c6f8fe275c542091 Mon Sep 17 00:00:00 2001 From: Tom Rix Date: Fri, 26 Sep 2025 14:24:46 -0700 Subject: [PATCH] Disable magma Magma is broken on ROCm 7. Signed-off-by: Tom Rix --- python-torch.spec | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/python-torch.spec b/python-torch.spec index 6034593..210aee2 100644 --- a/python-torch.spec +++ b/python-torch.spec @@ -178,7 +178,8 @@ BuildRequires: hiprand-devel BuildRequires: hipsparse-devel BuildRequires: hipsparselt-devel BuildRequires: hipsolver-devel -BuildRequires: magma-devel +# Magma is broken on ROCm 7 +# BuildRequires: magma-devel BuildRequires: miopen-devel BuildRequires: rocblas-devel BuildRequires: rocrand-devel @@ -607,7 +608,8 @@ export BUILD_TEST=ON export USE_ROCM=ON export USE_ROCM_CK=OFF -export USE_MAGMA=ON +# Magma is broken on ROCm 7 +# export USE_MAGMA=ON export HIP_PATH=`hipconfig -p` export ROCM_PATH=`hipconfig -R` RESOURCE_DIR=`%{rocmllvm_bindir}/clang -print-resource-dir`