summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-lightning-lite/package.py
diff options
context:
space:
mode:
authorAdam J. Stewart <ajstewart426@gmail.com>2022-11-01 11:13:12 -0500
committerGitHub <noreply@github.com>2022-11-01 09:13:12 -0700
commit1780f3ab3cc5f50e074a3ccf03170c8e43b82888 (patch)
treecd32f68bfb6a4076677f44e407b07434eba5b8d4 /var/spack/repos/builtin/packages/py-lightning-lite/package.py
parentd6f25becdb30128c6ec12258525422db2cd10689 (diff)
downloadspack-1780f3ab3cc5f50e074a3ccf03170c8e43b82888.tar.gz
spack-1780f3ab3cc5f50e074a3ccf03170c8e43b82888.tar.bz2
spack-1780f3ab3cc5f50e074a3ccf03170c8e43b82888.tar.xz
spack-1780f3ab3cc5f50e074a3ccf03170c8e43b82888.zip
py-pytorch-lightning: add v1.8.0 (#33643)
Diffstat (limited to 'var/spack/repos/builtin/packages/py-lightning-lite/package.py')
-rw-r--r--var/spack/repos/builtin/packages/py-lightning-lite/package.py30
1 files changed, 30 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-lightning-lite/package.py b/var/spack/repos/builtin/packages/py-lightning-lite/package.py
new file mode 100644
index 0000000000..30cddf16e0
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-lightning-lite/package.py
@@ -0,0 +1,30 @@
+# Copyright 2013-2022 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 PyLightningLite(PythonPackage):
+ """LightningLite enables pure PyTorch users to scale their existing code on any kind
+ of device while retaining full control over their own loops and optimization logic."""
+
+ homepage = "https://github.com/Lightning-AI/lightning"
+ pypi = "lightning-lite/lightning-lite-1.8.0.tar.gz"
+
+ maintainers = ["adamjstewart"]
+
+ version("1.8.0", sha256="a71940409d3d1a5bb20f63716c86a745157ce30100f1c16600dfe33d9b657955")
+
+ # src/lightning_lite/__setup__.py
+ depends_on("python@3.7:", type=("build", "run"))
+ depends_on("py-setuptools", type="build")
+
+ # requirements/lite/base.txt
+ depends_on("py-numpy@1.17.2:", type=("build", "run"))
+ depends_on("py-torch@1.9:", type=("build", "run"))
+ depends_on("py-fsspec@2021.06.1:+http", type=("build", "run"))
+ depends_on("py-packaging@17:", type=("build", "run"))
+ depends_on("py-typing-extensions@4:", type=("build", "run"))
+ depends_on("py-lightning-utilities@0.3", type=("build", "run"))