diff options
author | Jen Herting <jen@herting.cc> | 2022-12-09 13:38:14 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-09 12:38:14 -0600 |
commit | 069e5f874caf1136229f742f4cc700a8fe9392b3 (patch) | |
tree | 53ee3afb3a2c9d2685a3587c3dc6fb9b887a55da | |
parent | cad01a03cb7b3a641177f061e23509d1269e2c2b (diff) | |
download | spack-069e5f874caf1136229f742f4cc700a8fe9392b3.tar.gz spack-069e5f874caf1136229f742f4cc700a8fe9392b3.tar.bz2 spack-069e5f874caf1136229f742f4cc700a8fe9392b3.tar.xz spack-069e5f874caf1136229f742f4cc700a8fe9392b3.zip |
New package: py-torchdiffeq (#34409)
* [py-torchdiffeq] new package
* [@spackbot] updating style on behalf of qwertos
Co-authored-by: qwertos <qwertos@users.noreply.github.com>
-rw-r--r-- | var/spack/repos/builtin/packages/py-torchdiffeq/package.py | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-torchdiffeq/package.py b/var/spack/repos/builtin/packages/py-torchdiffeq/package.py new file mode 100644 index 0000000000..f93c751327 --- /dev/null +++ b/var/spack/repos/builtin/packages/py-torchdiffeq/package.py @@ -0,0 +1,20 @@ +# Copyright 2013-2022 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 PyTorchdiffeq(PythonPackage): + """ODE solvers and adjoint sensitivity analysis in PyTorch.""" + + homepage = "https://github.com/rtqichen/torchdiffeq" + pypi = "torchdiffeq/torchdiffeq-0.2.3.tar.gz" + + version("0.2.3", sha256="fe75f434b9090ac0c27702e02bed21472b0f87035be6581f51edc5d4013ea31a") + + depends_on("python@3.6:3", type=("build", "run")) + depends_on("py-setuptools", type="build") + depends_on("py-torch@1.3:", type=("build", "run")) + depends_on("py-scipy@1.4:", type=("build", "run")) |