summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorAdam J. Stewart <ajstewart426@gmail.com>2024-02-12 10:49:17 +0100
committerGitHub <noreply@github.com>2024-02-12 10:49:17 +0100
commitfbf6db035b054aa8b442a0012a73f340e15b72b0 (patch)
tree4a9a0e93b95478c9f5e7c5d42dcdb16dfdc643ac /var
parent1a43fc1e62c46253a4d91fbde1b78b84562c7b63 (diff)
downloadspack-fbf6db035b054aa8b442a0012a73f340e15b72b0.tar.gz
spack-fbf6db035b054aa8b442a0012a73f340e15b72b0.tar.bz2
spack-fbf6db035b054aa8b442a0012a73f340e15b72b0.tar.xz
spack-fbf6db035b054aa8b442a0012a73f340e15b72b0.zip
py-lightning: add v2.2.0 (#42577)
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/py-lightning/package.py9
1 files changed, 6 insertions, 3 deletions
diff --git a/var/spack/repos/builtin/packages/py-lightning/package.py b/var/spack/repos/builtin/packages/py-lightning/package.py
index 558ac9a493..20ab76262d 100644
--- a/var/spack/repos/builtin/packages/py-lightning/package.py
+++ b/var/spack/repos/builtin/packages/py-lightning/package.py
@@ -7,9 +7,9 @@ from spack.package import *
class PyLightning(PythonPackage):
- """The Deep Learning framework to train, deploy, and ship AI products Lightning fast."""
+ """The deep learning framework to pretrain, finetune and deploy AI models."""
- homepage = "https://github.com/Lightning-AI/lightning"
+ homepage = "https://github.com/Lightning-AI/pytorch-lightning"
pypi = "lightning/lightning-2.0.0.tar.gz"
skip_modules = ["lightning.app", "lightning.data", "lightning.store"]
@@ -17,6 +17,7 @@ class PyLightning(PythonPackage):
license("Apache-2.0")
+ version("2.2.0", sha256="acf47bebc924f443f90a860b84a3f5566933a930adde42e3021abb5cf466c45f")
version("2.1.4", sha256="0e45098c700fa28c604a11ae233ce181b44aeffce2404debebc2616118431d9f")
version("2.1.3", sha256="70867a59e6b67e7720958ceb14476a2a00f34c12ad03680faed3163ed70138e2")
version("2.1.2", sha256="3b2599a8a719916cb03526e6570356809729680c6cda09391232e2aba0a4ed4b")
@@ -50,12 +51,14 @@ class PyLightning(PythonPackage):
depends_on("py-numpy@1.17.2:2", type=("build", "run"))
depends_on("py-packaging@20:24", when="@2.1:", type=("build", "run"))
depends_on("py-packaging@17.1:24", when="@:2.0", type=("build", "run"))
- depends_on("py-torch@1.12:3", when="@2.1:", type=("build", "run"))
+ depends_on("py-torch@1.13:3", when="@2.2:", type=("build", "run"))
+ depends_on("py-torch@1.12:3", when="@2.1", type=("build", "run"))
depends_on("py-torch@1.11:3", when="@2.0", type=("build", "run"))
depends_on("py-torch@1.10:3", when="@:1", type=("build", "run"))
depends_on("py-torchmetrics@0.7:2", when="@2.0.9:", type=("build", "run"))
depends_on("py-torchmetrics@0.7:1", when="@:2.0.8", type=("build", "run"))
depends_on("py-tqdm@4.57:5", type=("build", "run"))
+ depends_on("py-typing-extensions@4.4:5", when="@2.2:", type=("build", "run"))
depends_on("py-typing-extensions@4:5", type=("build", "run"))
# Only an alias, not actually used by the library