summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-lightly/package.py
diff options
context:
space:
mode:
authorAdam J. Stewart <ajstewart426@gmail.com>2023-04-13 19:16:22 -0500
committerGitHub <noreply@github.com>2023-04-13 19:16:22 -0500
commit2b47a7a22fe61eb9245412b080d9c7ae5ff17600 (patch)
tree8930b95da357c40bf9c2fd038d9bfae571bf20a1 /var/spack/repos/builtin/packages/py-lightly/package.py
parenta9db5620f56353319bb57476bb98d2b3da015744 (diff)
downloadspack-2b47a7a22fe61eb9245412b080d9c7ae5ff17600.tar.gz
spack-2b47a7a22fe61eb9245412b080d9c7ae5ff17600.tar.bz2
spack-2b47a7a22fe61eb9245412b080d9c7ae5ff17600.tar.xz
spack-2b47a7a22fe61eb9245412b080d9c7ae5ff17600.zip
py-lightly: add new package (#36839)
Diffstat (limited to 'var/spack/repos/builtin/packages/py-lightly/package.py')
-rw-r--r--var/spack/repos/builtin/packages/py-lightly/package.py31
1 files changed, 31 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-lightly/package.py b/var/spack/repos/builtin/packages/py-lightly/package.py
new file mode 100644
index 0000000000..370e41205f
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-lightly/package.py
@@ -0,0 +1,31 @@
+# Copyright 2013-2023 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 PyLightly(PythonPackage):
+ """A deep learning package for self-supervised learning."""
+
+ homepage = "https://www.lightly.ai/"
+ # https://github.com/lightly-ai/lightly/issues/1146
+ url = "https://github.com/lightly-ai/lightly/archive/refs/tags/v1.4.1.tar.gz"
+
+ maintainers("adamjstewart")
+
+ version("1.4.1", sha256="4c64657639c66ee5c8b4b8d300fc9b5287dc7e14a260f3a2e04917dca7f57f5b")
+
+ depends_on("py-certifi@14.05.14:", type=("build", "run"))
+ depends_on("py-hydra-core@1:", type=("build", "run"))
+ depends_on("py-lightly-utils@0.0", type=("build", "run"))
+ depends_on("py-numpy@1.18.1:", type=("build", "run"))
+ depends_on("py-python-dateutil@2.5.3:", type=("build", "run"))
+ depends_on("py-requests@2.23:", type=("build", "run"))
+ depends_on("py-setuptools@21:65.5.1", type=("build", "run"))
+ depends_on("py-six@1.10:", type=("build", "run"))
+ depends_on("py-torchvision", type=("build", "run"))
+ depends_on("py-tqdm@4.44:", type=("build", "run"))
+ depends_on("py-urllib3@1.15.1:", type=("build", "run"))
+ depends_on("py-pytorch-lightning@1.0.4:", type=("build", "run"))