summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam J. Stewart <ajstewart426@gmail.com>2023-12-11 11:00:24 +0100
committerGitHub <noreply@github.com>2023-12-11 11:00:24 +0100
commit16bb4c360afd20c53ea87fc79140630b77f34fb8 (patch)
tree995c9e2d7965d995e38cc687039b3404129e6e5d
parentcfd58bdafe35c114886356ad12c988df51563288 (diff)
downloadspack-16bb4c360afd20c53ea87fc79140630b77f34fb8.tar.gz
spack-16bb4c360afd20c53ea87fc79140630b77f34fb8.tar.bz2
spack-16bb4c360afd20c53ea87fc79140630b77f34fb8.tar.xz
spack-16bb4c360afd20c53ea87fc79140630b77f34fb8.zip
PyTorch: disable sleef dep for now (#41508)
-rw-r--r--var/spack/repos/builtin/packages/py-torch/package.py8
1 files changed, 5 insertions, 3 deletions
diff --git a/var/spack/repos/builtin/packages/py-torch/package.py b/var/spack/repos/builtin/packages/py-torch/package.py
index e93522cd5c..35ff5a5064 100644
--- a/var/spack/repos/builtin/packages/py-torch/package.py
+++ b/var/spack/repos/builtin/packages/py-torch/package.py
@@ -192,8 +192,9 @@ class PyTorch(PythonPackage, CudaPackage, ROCmPackage):
# depends_on("cpuinfo@2022-08-19", when="@1.13:2.0")
# depends_on("cpuinfo@2020-12-17", when="@1.8:1.12")
# depends_on("cpuinfo@2020-06-11", when="@1.6:1.7")
- depends_on("sleef@3.5.1_2020-12-22", when="@1.8:")
- depends_on("sleef@3.4.0_2019-07-30", when="@1.6:1.7")
+ # https://github.com/shibatch/sleef/issues/474
+ # depends_on("sleef@3.5.1_2020-12-22", when="@1.8:")
+ # depends_on("sleef@3.4.0_2019-07-30", when="@1.6:1.7")
depends_on("fp16@2020-05-14", when="@1.6:")
depends_on("pthreadpool@2021-04-13", when="@1.9:")
depends_on("pthreadpool@2020-10-05", when="@1.8")
@@ -622,7 +623,8 @@ class PyTorch(PythonPackage, CudaPackage, ROCmPackage):
# env.set("USE_SYSTEM_LIBS", "ON")
# https://github.com/pytorch/pytorch/issues/60329
# env.set("USE_SYSTEM_CPUINFO", "ON")
- env.set("USE_SYSTEM_SLEEF", "ON")
+ # https://github.com/shibatch/sleef/issues/474
+ # env.set("USE_SYSTEM_SLEEF", "ON")
env.set("USE_SYSTEM_GLOO", "ON")
env.set("USE_SYSTEM_FP16", "ON")
env.set("USE_SYSTEM_PTHREADPOOL", "ON")