diff options
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/py-coca-pytorch/package.py | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-coca-pytorch/package.py b/var/spack/repos/builtin/packages/py-coca-pytorch/package.py new file mode 100644 index 0000000000..e759919fd6 --- /dev/null +++ b/var/spack/repos/builtin/packages/py-coca-pytorch/package.py @@ -0,0 +1,23 @@ +# Copyright 2013-2024 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.package import * + + +class PyCocaPytorch(PythonPackage): + """CoCa, Contrastive Captioners are Image-Text Foundation Models - + Pytorch""" + + homepage = "https://github.com/lucidrains/CoCa-pytorch" + pypi = "CoCa-pytorch/CoCa-pytorch-0.1.0.tar.gz" + + license("MIT", checked_by="alex391") + + version("0.1.0", sha256="119c83812d140ad197cf4e992db8c373d908af0bffd0a87015546b6a1cf0a316") + + depends_on("py-setuptools", type="build") + depends_on("py-einops@0.4:", type=("build", "run")) + depends_on("py-torch@1.6:", type=("build", "run")) |