summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorAdam J. Stewart <ajstewart426@gmail.com>2018-12-24 17:27:01 -0600
committerGitHub <noreply@github.com>2018-12-24 17:27:01 -0600
commit9c58dacaec337566cbb476367e191181abeaad4f (patch)
tree63930708e61abc4aa10d6e26f0e488db90d2acbe /var
parent791aab8564f215f0f0a87806e471b7a4655e2e2d (diff)
downloadspack-9c58dacaec337566cbb476367e191181abeaad4f.tar.gz
spack-9c58dacaec337566cbb476367e191181abeaad4f.tar.bz2
spack-9c58dacaec337566cbb476367e191181abeaad4f.tar.xz
spack-9c58dacaec337566cbb476367e191181abeaad4f.zip
Add PyTorch 1.0 (#10193)
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/py-pytorch/package.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/var/spack/repos/builtin/packages/py-pytorch/package.py b/var/spack/repos/builtin/packages/py-pytorch/package.py
index d5df52c16f..ab9625a821 100644
--- a/var/spack/repos/builtin/packages/py-pytorch/package.py
+++ b/var/spack/repos/builtin/packages/py-pytorch/package.py
@@ -13,6 +13,8 @@ class PyPytorch(PythonPackage):
homepage = "http://pytorch.org/"
git = "https://github.com/pytorch/pytorch.git"
+ version('1.0.0', tag='v1.0.0', submodules=True)
+ version('0.4.1', tag='v0.4.1', submodules=True)
version('0.4.0', tag='v0.4.0', submodules=True)
version('0.3.1', tag='v0.3.1', submodules=True)
@@ -35,8 +37,8 @@ class PyPytorch(PythonPackage):
depends_on('py-pyyaml', type=('run', 'build'))
depends_on('py-typing', when='@0.3.2:', type=('run', 'build'))
depends_on('intel-mkl', when='+mkl')
- depends_on('cuda', when='+cuda', type=('build', 'link', 'run'))
- depends_on('cudnn', when='+cuda+cudnn')
+ depends_on('cuda@7.5:', when='+cuda', type=('build', 'link', 'run'))
+ depends_on('cudnn@6:', when='+cuda+cudnn')
depends_on('nccl', when='+cuda+nccl')
depends_on('magma+shared', when='+cuda+magma')