diff options
author | Jen Herting <jen@herting.cc> | 2024-10-18 13:05:37 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-18 19:05:37 +0200 |
commit | b2e28a0b0856445d03167e013c6a0f28a0d99494 (patch) | |
tree | 82d3c11e4bed4faf70773f9cc45f32702bd7d6bc /var | |
parent | 53385f12da3f21518849519254b056c391ab32dd (diff) | |
download | spack-b2e28a0b0856445d03167e013c6a0f28a0d99494.tar.gz spack-b2e28a0b0856445d03167e013c6a0f28a0d99494.tar.bz2 spack-b2e28a0b0856445d03167e013c6a0f28a0d99494.tar.xz spack-b2e28a0b0856445d03167e013c6a0f28a0d99494.zip |
py-x-clip: new package (#47060)
Co-authored-by: Alex C Leute <acl2809@rit.edu>
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/py-x-clip/package.py | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-x-clip/package.py b/var/spack/repos/builtin/packages/py-x-clip/package.py new file mode 100644 index 0000000000..9dfcfda16c --- /dev/null +++ b/var/spack/repos/builtin/packages/py-x-clip/package.py @@ -0,0 +1,27 @@ +# 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 PyXClip(PythonPackage): + """A concise but complete implementation of CLIP with various experimental + improvements from recent papers""" + + homepage = "https://github.com/lucidrains/x-clip" + pypi = "x-clip/x-clip-0.14.4.tar.gz" + + license("MIT", checked_by="alex391") + + version("0.14.4", sha256="e2539953f1c81a2ab892843c2bc02c218f4ac410cf10ce37495830f6a0e259c6") + + depends_on("py-setuptools", type="build") + depends_on("py-beartype", type=("build", "run")) + depends_on("py-einops@0.6:", type=("build", "run")) + depends_on("py-ftfy", type=("build", "run")) + depends_on("py-regex", type=("build", "run")) + depends_on("py-torch@1.6:", type=("build", "run")) + depends_on("py-torchvision", type=("build", "run")) |