PyTorch: add v1.5.1 (#17167)

This commit is contained in:
Adam J. Stewart 2020-06-18 17:24:38 -05:00 committed by GitHub
parent 5a0c5de50b
commit b80d5e74e5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -50,6 +50,7 @@ class PyTorch(PythonPackage, CudaPackage):
]
version('master', branch='master', submodules=True)
version('1.5.1', tag='v1.5.1', submodules=True)
version('1.5.0', tag='v1.5.0', submodules=True)
version('1.4.1', tag='v1.4.1', submodules=True)
version('1.4.0', tag='v1.4.0', submodules=True,
@ -170,7 +171,7 @@ class PyTorch(PythonPackage, CudaPackage):
# https://github.com/pytorch/pytorch/pull/35607
# https://github.com/pytorch/pytorch/pull/37865
# Fixes CMake configuration error when XNNPACK is disabled
patch('xnnpack.patch', when='@1.5.0')
patch('xnnpack.patch', when='@1.5.0:1.5.999')
# https://github.com/pytorch/pytorch/pull/37086
# Fixes compilation with Clang 9.0.0 and Apple Clang 11.0.3