diff options
author | Andrew W Elble <aweits@rit.edu> | 2020-04-10 11:53:12 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-10 10:53:12 -0500 |
commit | 42b63e6b7eade3d51f693e085857468bc56a2df9 (patch) | |
tree | 2211d2fefa97d37afc9506705406d58675f0a6ff /var | |
parent | aeb628ea74073b85d89f5b7140ddfd0512c48340 (diff) | |
download | spack-42b63e6b7eade3d51f693e085857468bc56a2df9.tar.gz spack-42b63e6b7eade3d51f693e085857468bc56a2df9.tar.bz2 spack-42b63e6b7eade3d51f693e085857468bc56a2df9.tar.xz spack-42b63e6b7eade3d51f693e085857468bc56a2df9.zip |
new package: py-torchaudio (#15989)
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/py-torchaudio/package.py | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-torchaudio/package.py b/var/spack/repos/builtin/packages/py-torchaudio/package.py new file mode 100644 index 0000000000..5b17373c66 --- /dev/null +++ b/var/spack/repos/builtin/packages/py-torchaudio/package.py @@ -0,0 +1,26 @@ +# 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 PyTorchaudio(PythonPackage): + """The aim of torchaudio is to apply PyTorch to the audio + domain. By supporting PyTorch, torchaudio follows the same + philosophy of providing strong GPU acceleration, having a focus on + trainable features through the autograd system, and having + consistent style (tensor names and dimension names). Therefore, it + is primarily a machine learning library and not a general signal + processing library. The benefits of Pytorch is be seen in + torchaudio through having all the computations be through Pytorch + operations which makes it easy to use and feel like a natural + extension.""" + + homepage = "https://github.com/pytorch/audio" + url = "https://github.com/pytorch/audio/archive/v0.4.0.tar.gz" + + version('0.4.0', sha256='9361312319b1ab880fc348ea82b024053bca6faf477ef6a9232a5b805742dc66') + + depends_on('py-setuptools', type='build') + depends_on('sox@14.3.2:') + depends_on('py-torch@1.2.0:', type=('build', 'run')) |