py-torch: add v1.10.2 (#28653)
This commit is contained in:
parent
e06319a3dc
commit
46b9911289
2 changed files with 3 additions and 0 deletions
|
@ -23,6 +23,7 @@ class PyTorch(PythonPackage, CudaPackage):
|
|||
import_modules = ['torch', 'torch.autograd', 'torch.nn', 'torch.utils']
|
||||
|
||||
version('master', branch='master', submodules=True)
|
||||
version('1.10.2', tag='v1.10.2', submodules=True)
|
||||
version('1.10.1', tag='v1.10.1', submodules=True)
|
||||
version('1.10.0', tag='v1.10.0', submodules=True)
|
||||
version('1.9.1', tag='v1.9.1', submodules=True)
|
||||
|
|
|
@ -16,6 +16,7 @@ class PyTorchvision(PythonPackage):
|
|||
|
||||
version('main', branch='main')
|
||||
version('master', branch='main', deprecated=True)
|
||||
version('0.11.3', sha256='b4c51d27589783e6e6941ecaa67b55f6f41633874ec37f80b64a0c92c3196e0c')
|
||||
version('0.11.2', sha256='55689c57c29f82438a133d0af3315991037be59c8e02471bdcaa31731154a714')
|
||||
version('0.11.1', sha256='32a06ccf755e4d75006ce03701f207652747a63dbfdf65f0f20a1b6f93a2e834')
|
||||
version('0.11.0', sha256='8e85acf8f5d39f27e92e610ccb506dac0bf4412bb366a318d2aa5f384cbd4d2c')
|
||||
|
@ -52,6 +53,7 @@ class PyTorchvision(PythonPackage):
|
|||
|
||||
# https://github.com/pytorch/vision#installation
|
||||
depends_on('py-torch@master', when='@master', type=('build', 'link', 'run'))
|
||||
depends_on('py-torch@1.10.2', when='@0.11.3', type=('build', 'link', 'run'))
|
||||
depends_on('py-torch@1.10.1', when='@0.11.2', type=('build', 'link', 'run'))
|
||||
depends_on('py-torch@1.10.0', when='@0.11.0:0.11.1', type=('build', 'link', 'run'))
|
||||
depends_on('py-torch@1.9.1', when='@0.10.1', type=('build', 'link', 'run'))
|
||||
|
|
Loading…
Reference in a new issue