py-x-clip: new package (#47060)
Co-authored-by: Alex C Leute <acl2809@rit.edu>
This commit is contained in:
parent
53385f12da
commit
b2e28a0b08
27
var/spack/repos/builtin/packages/py-x-clip/package.py
Normal file
27
var/spack/repos/builtin/packages/py-x-clip/package.py
Normal file
@ -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"))
|
Loading…
Reference in New Issue
Block a user