py-coca-pytorch: new package (#47051)
* py-coca-pytorch: new package * [py-coca-pytorch] black --------- Co-authored-by: Alex C Leute <acl2809@rit.edu>
This commit is contained in:
parent
88c193b83a
commit
cfae194fbd
23
var/spack/repos/builtin/packages/py-coca-pytorch/package.py
Normal file
23
var/spack/repos/builtin/packages/py-coca-pytorch/package.py
Normal file
@ -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"))
|
Loading…
Reference in New Issue
Block a user