diff options
-rw-r--r-- | var/spack/repos/builtin/packages/py-timm/package.py | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-timm/package.py b/var/spack/repos/builtin/packages/py-timm/package.py new file mode 100644 index 0000000000..3799ca3aea --- /dev/null +++ b/var/spack/repos/builtin/packages/py-timm/package.py @@ -0,0 +1,20 @@ +# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other +# Spack Project Developers. See the top-level COPYRIGHT file for details. +# +# SPDX-License-Identifier: (Apache-2.0 OR MIT) + +from spack import * + + +class PyTimm(PythonPackage): + """(Unofficial) PyTorch Image Models.""" + + homepage = "https://github.com/rwightman/pytorch-image-models" + pypi = "timm/timm-0.4.12.tar.gz" + + version('0.4.12', sha256='b14be70dbd4528b5ca8657cf5bc2672c7918c3d9ebfbffe80f4785b54e884b1e') + + depends_on('python@3.6:', type=('build', 'run')) + depends_on('py-setuptools', type='build') + depends_on('py-torch@1.4:', type=('build', 'run')) + depends_on('py-torchvision', type=('build', 'run')) |