Skip to content
Snippets Groups Projects
Commit 5e3eb805 authored by Eric Müller's avatar Eric Müller :mountain_bicyclist: Committed by Eleni Mathioulaki
Browse files

feat: add py-optax

parent f7c366b8
No related branches found
No related tags found
No related merge requests found
# 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 import *
class PyOptax(PythonPackage):
"""A gradient processing and optimization library in JAX."""
homepage = "https://github.com/deepmind/optax"
pypi = "optax/optax-0.1.4.tar.gz"
version("0.1.4", sha256="fb7a0550d57a6636164a3de25986a8a19be8ff6431fcdf1225b4e05175810f22")
depends_on("python@3.8:", type=("build", "run"))
depends_on("py-setuptools", type="build")
depends_on("py-absl-py@0.7.1:", type=("build", "run"))
depends_on("py-chex@0.1.5:", type=("build", "run"))
depends_on("py-jax@0.1.55:", type=("build", "run"))
depends_on("py-jaxlib@0.1.37:", type=("build", "run"))
depends_on("py-numpy@1.18:", type=("build", "run"))
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment