summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorAndrew W Elble <aweits@rit.edu>2020-04-10 10:37:18 -0400
committerGitHub <noreply@github.com>2020-04-10 09:37:18 -0500
commit3b3bd6e1735a80508dfb4a0e76daa72f23245195 (patch)
treea43f9f58095cbc2910483c058f5afaf583d33073 /var
parent77e144d6e5dd2471220a951d5c1139e610751c83 (diff)
downloadspack-3b3bd6e1735a80508dfb4a0e76daa72f23245195.tar.gz
spack-3b3bd6e1735a80508dfb4a0e76daa72f23245195.tar.bz2
spack-3b3bd6e1735a80508dfb4a0e76daa72f23245195.tar.xz
spack-3b3bd6e1735a80508dfb4a0e76daa72f23245195.zip
New package: tensorboardX (#15955)
* New package: tensorboardX * prune back to just what's in setup.py for now
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/py-tensorboardx/package.py24
1 files changed, 24 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-tensorboardx/package.py b/var/spack/repos/builtin/packages/py-tensorboardx/package.py
new file mode 100644
index 0000000000..7faba61060
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-tensorboardx/package.py
@@ -0,0 +1,24 @@
+# Copyright 2013-2020 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)
+
+
+class PyTensorboardx(PythonPackage):
+ """The purpose of this package is to let researchers use
+ a simple interface to log events within PyTorch (and
+ then show visualization in tensorboard). This package
+ currently supports logging scalar, image, audio,
+ histogram, text, embedding, and the route of back-propagation."""
+
+ homepage = "https://github.com/lanpa/tensorboardX"
+ url = "https://pypi.io/packages/source/t/tensorboardx/tensorboardX-1.8.tar.gz"
+
+ version('2.0', sha256='835d85db0aef2c6768f07c35e69a74e3dcb122d6afceaf2b8504d7d16c7209a5')
+ version('1.9', sha256='2505d0092e6212f04c4522eea7123e8886c4d0a0b2c406e480fa61ca3c1da7ea')
+ version('1.8', sha256='13fe0abba27f407778a7321937190eedaf12bc8c544d9a4e294fcf0ba177fd76')
+
+ depends_on('py-setuptools', type='build')
+ depends_on('py-six', type=('build', 'run'))
+ depends_on('py-protobuf@3.8.0:', type=('build', 'run'))
+ depends_on('py-numpy', type=('build', 'run'))