From 42b63e6b7eade3d51f693e085857468bc56a2df9 Mon Sep 17 00:00:00 2001 From: Andrew W Elble Date: Fri, 10 Apr 2020 11:53:12 -0400 Subject: new package: py-torchaudio (#15989) --- .../builtin/packages/py-torchaudio/package.py | 26 ++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 var/spack/repos/builtin/packages/py-torchaudio/package.py (limited to 'var') 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')) -- cgit v1.2.3-70-g09d2