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

feat(py-norse): add package

parent eff889ec
No related branches found
No related tags found
1 merge request!554Draft: feat: add and enable py-norse
# 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 PyNorse(PythonPackage):
"""A deep learning library for spiking neural networks."""
homepage = "https://norse.github.io/norse/"
pypi = "norse/norse-0.0.7.post1.tar.gz"
version("1.1.0", sha256="3f70b8579251316761f7a950680136029fcd9d92bbcc53531366d088a8aaf0c8")
version("1.0.0", sha256="92f6bd0d97aa519ffcb605a25c4bda1ef1d949de8f87d0450eb1176ee7de69c9")
depends_on("python@3.8:", when="@1.1:", type=("build", "run"))
depends_on("python@3.7:", type=("build", "run"))
depends_on("py-numpy", type=("build", "run"))
depends_on("py-torch@2.2:", when="@1.1:", type=("build", "run"))
depends_on("py-torch@1.9:", type=("build", "run"))
depends_on("py-torchvision@0.15:", when="@1.1:", type=("build", "run"))
depends_on("py-torchvision@0.10:", type=("build", "run"))
depends_on("py-nir", when="@1.1:", type=("build", "run"))
depends_on("py-nirtorch", when="@1.1:", 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