Skip to content
Snippets Groups Projects
Unverified Commit 9c58daca authored by Adam J. Stewart's avatar Adam J. Stewart Committed by GitHub
Browse files

Add PyTorch 1.0 (#10193)

parent 791aab85
Branches
Tags
No related merge requests found
...@@ -13,6 +13,8 @@ class PyPytorch(PythonPackage): ...@@ -13,6 +13,8 @@ class PyPytorch(PythonPackage):
homepage = "http://pytorch.org/" homepage = "http://pytorch.org/"
git = "https://github.com/pytorch/pytorch.git" 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.4.0', tag='v0.4.0', submodules=True)
version('0.3.1', tag='v0.3.1', submodules=True) version('0.3.1', tag='v0.3.1', submodules=True)
...@@ -35,8 +37,8 @@ class PyPytorch(PythonPackage): ...@@ -35,8 +37,8 @@ class PyPytorch(PythonPackage):
depends_on('py-pyyaml', type=('run', 'build')) depends_on('py-pyyaml', type=('run', 'build'))
depends_on('py-typing', when='@0.3.2:', type=('run', 'build')) depends_on('py-typing', when='@0.3.2:', type=('run', 'build'))
depends_on('intel-mkl', when='+mkl') depends_on('intel-mkl', when='+mkl')
depends_on('cuda', when='+cuda', type=('build', 'link', 'run')) depends_on('cuda@7.5:', when='+cuda', type=('build', 'link', 'run'))
depends_on('cudnn', when='+cuda+cudnn') depends_on('cudnn@6:', when='+cuda+cudnn')
depends_on('nccl', when='+cuda+nccl') depends_on('nccl', when='+cuda+nccl')
depends_on('magma+shared', when='+cuda+magma') depends_on('magma+shared', when='+cuda+magma')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment