py-torchvision: add v0.9.1 (#22556)

This commit is contained in:
Adam J. Stewart 2021-03-26 17:56:35 -05:00 committed by GitHub
parent 3e2698b860
commit 07cf420acb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -15,6 +15,7 @@ class PyTorchvision(PythonPackage):
maintainers = ['adamjstewart']
version('master', branch='master')
version('0.9.1', sha256='79964773729880e0eee0e6af13f336041121d4cc8491a3e2c0e5f184cac8a718')
version('0.9.0', sha256='9351ed92aded632f8c7f59dfadac13c191a834babe682f5785ea47e6fcf6b472')
version('0.8.2', sha256='9a866c3c8feb23b3221ce261e6153fc65a98ce9ceaa71ccad017016945c178bf')
version('0.8.1', sha256='c46734c679c99f93e5c06654f4295a05a6afe6c00a35ebd26a2cce507ae1ccbd')
@ -45,6 +46,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.8.1', when='@0.9.1', type=('build', 'link', 'run'))
depends_on('py-torch@1.8.0', when='@0.9.0', type=('build', 'link', 'run'))
depends_on('py-torch@1.7.1', when='@0.8.2', type=('build', 'link', 'run'))
depends_on('py-torch@1.7.0', when='@0.8.1', type=('build', 'link', 'run'))
@ -63,7 +65,7 @@ class PyTorchvision(PythonPackage):
depends_on('pil@4.1.1:6', when='@:0.4 backend=pil', type=('build', 'run'))
depends_on('pil@4.1.1:', when='@0.5: backend=pil', type=('build', 'run'))
depends_on('py-accimage', when='backend=accimage', type=('build', 'run'))
depends_on('libpng', when='backend=png')
depends_on('libpng@1.6.0:', when='backend=png')
depends_on('jpeg', when='backend=jpeg')
# Many of the datasets require additional dependencies to use.