Skip to content

Commit b7870df

Browse files
authored
py-keras: add v3.12.0 (spack#2134)
Signed-off-by: Adam J. Stewart <[email protected]>
1 parent 171a0cf commit b7870df

File tree

1 file changed

+9
-6
lines changed
  • repos/spack_repo/builtin/packages/py_keras

1 file changed

+9
-6
lines changed

repos/spack_repo/builtin/packages/py_keras/package.py

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,18 +12,19 @@
1212
class PyKeras(PythonPackage):
1313
"""Multi-backend Keras.
1414
15-
Keras 3 is a new multi-backend implementation of the Keras API,
16-
with support for TensorFlow, JAX, and PyTorch.
15+
Keras 3 is a multi-backend deep learning framework, with support for
16+
JAX, TensorFlow, PyTorch, and OpenVINO (for inference-only).
1717
"""
1818

1919
homepage = "https://keras.io"
2020
git = "https://github.com/keras-team/keras.git"
2121
pypi = "keras/keras-3.0.0.tar.gz"
22-
23-
maintainers("adamjstewart")
2422
tags = ["e4s"]
23+
2524
license("Apache-2.0")
25+
maintainers("adamjstewart")
2626

27+
version("3.12.0", sha256="536e3f8385a05ae04e82e08715a1a59988578087e187b04cb0a6fad11743f07f")
2728
version("3.11.3", sha256="efda616835c31b7d916d72303ef9adec1257320bc9fd4b2b0138840fc65fb5b7")
2829
version("3.11.2", sha256="b78a4af616cbe119e88fa973d2b0443b70c7f74dd3ee888e5026f0b7e78a2801")
2930
version("3.11.1", sha256="7a27f384467fa8d0b0281665b52efd6bd948f20854099e35929786ce44d847f0")
@@ -109,7 +110,8 @@ class PyKeras(PythonPackage):
109110

110111
# requirements-tensorflow-cuda.txt
111112
with when("backend=tensorflow"):
112-
depends_on("[email protected]:2.18", when="@3.10:")
113+
depends_on("[email protected]", when="@3.12:")
114+
depends_on("[email protected]:2.18", when="@3.10:3.11")
113115
depends_on("[email protected]", when="@3.7:3.9")
114116
depends_on("[email protected]", when="@3.5:3.6")
115117
depends_on("[email protected]:2.16", when="@3.0:3.4")
@@ -126,7 +128,8 @@ class PyKeras(PythonPackage):
126128

127129
# requirements-torch-cuda.txt
128130
with when("backend=torch"):
129-
depends_on("[email protected]", when="@3.10:")
131+
depends_on("[email protected]", when="@3.12:")
132+
depends_on("[email protected]", when="@3.10:3.11")
130133
depends_on("[email protected]", when="@3.7:3.9")
131134
depends_on("[email protected]", when="@3.6")
132135
depends_on("[email protected]", when="@3.5")

0 commit comments

Comments
 (0)