diff options
author | Benjamin Meyers <meyersbs@users.noreply.github.com> | 2023-05-18 16:38:23 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-18 15:38:23 -0500 |
commit | 641d4477d555322f18efee81d177b34d679233ee (patch) | |
tree | fedfe1e63777658627160f7e38c609a92da2bae4 /var | |
parent | 3ff2fb69af68f7399859c64d2d13b4b335e17485 (diff) | |
download | spack-641d4477d555322f18efee81d177b34d679233ee.tar.gz spack-641d4477d555322f18efee81d177b34d679233ee.tar.bz2 spack-641d4477d555322f18efee81d177b34d679233ee.tar.xz spack-641d4477d555322f18efee81d177b34d679233ee.zip |
New package py-tensorly (#37705)
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/py-tensorly/package.py | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-tensorly/package.py b/var/spack/repos/builtin/packages/py-tensorly/package.py new file mode 100644 index 0000000000..f390709bdb --- /dev/null +++ b/var/spack/repos/builtin/packages/py-tensorly/package.py @@ -0,0 +1,25 @@ +# Copyright 2013-2023 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 PyTensorly(PythonPackage): + """TensorLy is a Python library that aims at making tensor learning simple + and accessible. It allows to easily perform tensor decomposition, tensor + learning and tensor algebra. Its backend system allows to seamlessly perform + computation with NumPy, PyTorch, JAX, MXNet, TensorFlow or CuPy, and run + methods at scale on CPU or GPU.""" + + homepage = "https://github.com/tensorly/tensorly" + pypi = "tensorly/tensorly-0.8.1.tar.gz" + + maintainers("meyersbs") + + version("0.8.1", sha256="cf78e4ffe612feca3510214002845c6831b267b1f2c1181154d41430310b237d") + + depends_on("py-setuptools", type="build") + depends_on("py-numpy", type=("build", "run")) + depends_on("py-scipy", type=("build", "run")) |