Skip to content
Snippets Groups Projects
Commit 45fe8074 authored by Alexandre Strube's avatar Alexandre Strube
Browse files

torchaudio depends on librosa which depends on numba

parent 28420a01
Branches
No related tags found
No related merge requests found
......@@ -24,7 +24,7 @@ dependencies = [
('FLAC', '1.3.4'),
('LAME', '3.100'),
('libvorbis', '1.3.7'),
('FFmpeg', '5.0.1'),
('FFmpeg', '4.4.2'),
]
sanity_check_paths = {
......
--- audio/setup.py.orig 2022-08-23 14:56:12.672462283 +0200
+++ audio/setup.py 2022-08-23 14:56:30.086523956 +0200
@@ -105,7 +105,7 @@
def _parse_sources():
third_party_dir = ROOT_DIR / "third_party"
- libs = ["zlib", "bzip2", "lzma", "boost", "sox"]
+ libs = ["lzma"]
archive_dir = third_party_dir / "archives"
archive_dir.mkdir(exist_ok=True)
for lib in libs:
easyblock = 'PythonPackage'
name = 'torchaudio'
version = '0.13.0'
homepage = 'https://github.com/pytorch/audio'
description = """ Data manipulation and transformation for audio signal
processing, powered by PyTorch """
toolchain = {'name': 'foss', 'version': '2022a'}
sources = [{
'filename': '%(name)s-%(version)s.tar.gz',
'git_config': {
'url': 'https://github.com/pytorch',
'repo_name': 'audio',
'tag': 'v%(version)s',
'recursive': True,
'keep_git_dir': True,
},
}]
patches = ['standard-libs-deps.patch']
checksums = [
]
builddependencies = [
('Boost', '1.79.0'),
('CMake', '3.23.1'),
]
dependencies = [
('Python', '3.10.4'),
('SciPy-bundle', '2022.05', '', ('gcccoremkl', '11.3.0-2022.1.0')),
('CUDA', '11.7', '', SYSTEM),
('PyTorch', '1.12.0', '-CUDA-%(cudaver)s'),
('SoX', '14.4.2'),
('zlib', '1.2.12'),
('bzip2', '1.0.8'),
('librosa', '0.9.2', '', ('gcccoremkl', '11.3.0-2022.1.0')),
]
download_dep_fail = True
use_pip = True
sanity_pip_check = True
moduleclass = 'tools'
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment