diff options
author | Adam J. Stewart <ajstewart426@gmail.com> | 2024-05-03 03:47:33 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-02 18:47:33 -0700 |
commit | ae171f8b83f6e5389344280e0e21eaabe0b7b435 (patch) | |
tree | 791707d600ba5e06064343a55408bb7810fb15e7 | |
parent | 578dd18b34dccdfc91472631af30c53406fd6d7c (diff) | |
download | spack-ae171f8b83f6e5389344280e0e21eaabe0b7b435.tar.gz spack-ae171f8b83f6e5389344280e0e21eaabe0b7b435.tar.bz2 spack-ae171f8b83f6e5389344280e0e21eaabe0b7b435.tar.xz spack-ae171f8b83f6e5389344280e0e21eaabe0b7b435.zip |
py-torch: conflict with newer cuda (#43969)
-rw-r--r-- | var/spack/repos/builtin/packages/py-torch/package.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/var/spack/repos/builtin/packages/py-torch/package.py b/var/spack/repos/builtin/packages/py-torch/package.py index 2677105c64..1dff8b12e0 100644 --- a/var/spack/repos/builtin/packages/py-torch/package.py +++ b/var/spack/repos/builtin/packages/py-torch/package.py @@ -242,8 +242,9 @@ class PyTorch(PythonPackage, CudaPackage, ROCmPackage): # Optional dependencies with default_args(type=("build", "link", "run")): # cmake/public/cuda.cmake - depends_on("cuda@11:", when="@2:+cuda") - depends_on("cuda@10.2:", when="@1.11:1+cuda") + # https://github.com/pytorch/pytorch/issues/122169 + depends_on("cuda@11:12.3", when="@2:+cuda") + depends_on("cuda@10.2:12.3", when="@1.11:1+cuda") # https://discuss.pytorch.org/t/compiling-1-10-1-from-source-with-gcc-11-and-cuda-11-5/140971 depends_on("cuda@10.2:11.4", when="@1.10+cuda") depends_on("cuda@9.2:11.4", when="@1.6:1.9+cuda") |