-
Notifications
You must be signed in to change notification settings - Fork 781
{tools}[foss/2023a] SoX v14.4.2, julius v0.2.7, libmad v0.15.1b, ... w/ CUDA 12.1.1, PyTorch 2.1.2 CUDA 12.1.1 #19977
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
NPotvin
wants to merge
2
commits into
easybuilders:develop
Choose a base branch
from
NPotvin:20240227110416_new_pr_SoX1442
base: develop
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
29 changes: 29 additions & 0 deletions
29
easybuild/easyconfigs/j/julius/julius-0.2.7-foss-2023a-PyTorch-2.1.2-CUDA-12.1.1.eb
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,29 @@ | ||
| easyblock = 'PythonPackage' | ||
|
|
||
| name = 'julius' | ||
| version = '0.2.7' | ||
| local_pytorch_version = '2.1.2' | ||
| versionsuffix = '-PyTorch-' + local_pytorch_version + '-CUDA-%(cudaver)s' | ||
|
|
||
| homepage = 'https://github.com/adefossez/julius' | ||
| description = """Julius contains different Digital Signal Processing algorithms | ||
| implemented with PyTorch, so that they are differentiable and available on CUDA. | ||
| Note that all the modules implemented here can be used with TorchScript""" | ||
|
|
||
| toolchain = {'name': 'foss', 'version': '2023a'} | ||
|
|
||
| sources = [SOURCELOWER_TAR_GZ] | ||
| checksums = ['3c0f5f5306d7d6016fcc95196b274cae6f07e2c9596eed314e4e7641554fbb08'] | ||
|
|
||
| dependencies = [ | ||
| ('CUDA', '12.1.1', '', SYSTEM), | ||
| ('Python', '3.11.3'), | ||
| ('PyTorch', local_pytorch_version, '-CUDA-%(cudaver)s'), | ||
| ] | ||
|
|
||
|
|
||
| download_dep_fail = True | ||
| use_pip = True | ||
| sanity_pip_check = True | ||
|
|
||
| moduleclass = 'tools' |
27 changes: 27 additions & 0 deletions
27
easybuild/easyconfigs/l/libmad/libmad-0.15.1b-GCCcore-12.3.0.eb
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,27 @@ | ||
| easyblock = 'ConfigureMake' | ||
|
|
||
| name = 'libmad' | ||
| version = '0.15.1b' | ||
|
|
||
| homepage = 'https://www.underbit.com/products/mad/' | ||
| description = """MAD is a high-quality MPEG audio decoder.""" | ||
|
|
||
| toolchain = {'name': 'GCCcore', 'version': '12.3.0'} | ||
|
|
||
| source_urls = ['https://sourceforge.net/projects/mad/files/%(name)s/%(version)s/'] | ||
| sources = [SOURCELOWER_TAR_GZ] | ||
| patches = ['libmad-0.15.1b-remove-depreciated-gcc-option.patch'] | ||
| checksums = [ | ||
| 'bbfac3ed6bfbc2823d3775ebb931087371e142bb0e9bb1bee51a76a6e0078690', # libmad-0.15.1b.tar.gz | ||
| # libmad-0.15.1b-remove-depreciated-gcc-option.patch | ||
| '8f96a23a22ba66e62f32e20064d01f4c7f6a18ba0aab85d3be9ce63794b2c678', | ||
| ] | ||
|
|
||
| builddependencies = [('binutils', '2.40')] | ||
|
|
||
| sanity_check_paths = { | ||
| 'files': ['include/mad.h', 'lib/libmad.a', 'lib/libmad.la', 'lib/libmad.%s' % SHLIB_EXT], | ||
| 'dirs': ['include', 'lib', 'lib64'] | ||
| } | ||
|
|
||
| moduleclass = 'lib' |
56 changes: 56 additions & 0 deletions
56
easybuild/easyconfigs/l/librosa/librosa-0.10.1-foss-2023a-CUDA-12.1.1.eb
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,56 @@ | ||
| easyblock = 'PythonBundle' | ||
|
|
||
| name = 'librosa' | ||
| version = '0.10.1' | ||
| versionsuffix = '-CUDA-%(cudaver)s' | ||
|
|
||
| homepage = 'https://librosa.github.io' | ||
| description = "Python module for audio and music processing" | ||
|
|
||
| toolchain = {'name': 'foss', 'version': '2023a'} | ||
|
|
||
| builddependencies = [ | ||
| ('poetry', '1.7.1'), | ||
| ('SoX', '14.4.2'), | ||
| ] | ||
|
|
||
| dependencies = [ | ||
| ('CUDA', '12.1.1', '', SYSTEM), | ||
| ('Python', '3.11.3'), | ||
| ('SciPy-bundle', '2023.07'), | ||
| ('FFmpeg', '6.0'), | ||
| ('matplotlib', '3.7.2'), | ||
| ('scikit-learn', '1.3.1'), | ||
| ('numba', '0.58.1', versionsuffix), | ||
| ('libsndfile', '1.2.2'), | ||
| ('python-soundfile', '0.12.1'), | ||
| ('typing-extensions', '4.9.0'), | ||
| ] | ||
|
|
||
| exts_list = [ | ||
| ('audioread', '3.0.1', { | ||
| 'checksums': ['ac5460a5498c48bdf2e8e767402583a4dcd13f4414d286f42ce4379e8b35066d'], | ||
| }), | ||
| ('resampy', '0.4.2', { | ||
| 'checksums': ['0a469e6ddb89956f4fd6c88728300e4bbd186fae569dd4fd17dae51a91cbaa15'], | ||
| }), | ||
| ('lazy_loader', '0.3', { | ||
| 'checksums': ['3b68898e34f5b2a29daaaac172c6555512d0f32074f147e2254e4a6d9d838f37'], | ||
| }), | ||
| ('pooch', '1.8.1', { | ||
| 'checksums': ['27ef63097dd9a6e4f9d2694f5cfbf2f0a5defa44fccafec08d601e731d746270'], | ||
| }), | ||
| ('soxr', '0.3.7', { | ||
| 'checksums': ['436ddff00c6eb2c75b79c19cfdca7527b1e31b5fad738652f044045ba6258593'], | ||
| 'buildcmd': "python -m build", | ||
| 'unpack_sources': True, | ||
| }), | ||
| (name, version, { | ||
| 'checksums': ['832f7d150d6dd08ed2aa08c0567a4be58330635c32ddd2208de9bc91300802c7'], | ||
| }), | ||
| ] | ||
|
|
||
| use_pip = True | ||
| sanity_pip_check = True | ||
|
|
||
| moduleclass = 'lib' |
55 changes: 55 additions & 0 deletions
55
easybuild/easyconfigs/n/numba/numba-0.58.1-foss-2023a-CUDA-12.1.1.eb
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,55 @@ | ||
| easyblock = 'PythonBundle' | ||
|
|
||
| name = 'numba' | ||
| version = '0.58.1' | ||
| versionsuffix = '-CUDA-%(cudaver)s' | ||
|
|
||
| homepage = 'https://numba.pydata.org/' | ||
| description = """Numba is an Open Source NumPy-aware optimizing compiler for | ||
| Python sponsored by Continuum Analytics, Inc. It uses the remarkable LLVM | ||
| compiler infrastructure to compile Python syntax to machine code.""" | ||
|
|
||
| toolchain = {'name': 'foss', 'version': '2023a'} | ||
| toolchainopts = {'pic': True} | ||
|
|
||
| builddependencies = [ | ||
| ('LLVM', '14.0.6', '-llvmlite'), | ||
| ] | ||
|
|
||
| dependencies = [ | ||
| ('CUDA', '12.1.1', '', SYSTEM), | ||
| ('Python', '3.11.3'), | ||
| ('SciPy-bundle', '2023.07'), | ||
| ] | ||
|
|
||
| use_pip = True | ||
| sanity_pip_check = True | ||
|
|
||
| exts_list = [ | ||
| ('llvmlite', '0.41.1', { | ||
| 'patches': ['llvmlite-0.41.1_static-linking-of-LLVM.patch'], | ||
| 'preinstallopts': "export LLVM_CONFIG=${EBROOTLLVM}/bin/llvm-config && ", | ||
| 'checksums': [ | ||
| {'llvmlite-0.41.1.tar.gz': 'f19f767a018e6ec89608e1f6b13348fa2fcde657151137cb64e56d48598a92db'}, | ||
| {'llvmlite-0.41.1_static-linking-of-LLVM.patch': | ||
| '0cb1fbe13db4ce8b697305229b6b6d79671a3ec5b93e95b4e059033ca626b43e'}, | ||
| ], | ||
| }), | ||
| (name, version, { | ||
| 'checksums': ['487ded0633efccd9ca3a46364b40006dbdaca0f95e99b8b83e778d1195ebcbaa'], | ||
| }), | ||
| ] | ||
|
|
||
| fix_python_shebang_for = ['bin/*'] | ||
|
|
||
| sanity_check_paths = { | ||
| 'files': ['bin/numba'], | ||
| 'dirs': ['lib/python%(pyshortver)s/site-packages'], | ||
| } | ||
|
|
||
| sanity_check_commands = [ | ||
| "python -m llvmlite.tests", | ||
| "numba --help", | ||
| ] | ||
|
|
||
| moduleclass = 'lang' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,27 @@ | ||
| easyblock = 'PythonPackage' | ||
|
|
||
| name = 'primePy' | ||
| version = '1.3' | ||
|
|
||
| homepage = 'https://github.com/janaindrajit/primePy' | ||
| description = """iThis module contains several useful functions to work with prime | ||
| numbers. For example, extracting all the prime factors (with multiplicity) of a | ||
| positive integer reasonably fast. Following the list of all functions and their | ||
| running time.""" | ||
|
|
||
| toolchain = {'name': 'foss', 'version': '2023a'} | ||
|
|
||
| sources = [SOURCE_TAR_GZ] | ||
| checksums = ['25fd7e25344b0789a5984c75d89f054fcf1f180bef20c998e4befbac92de4669'] | ||
|
|
||
| options = {'modulename': 'primePy'} | ||
|
|
||
| dependencies = [ | ||
| ('Python', '3.11.3'), | ||
| ] | ||
|
|
||
| download_dep_fail = True | ||
| use_pip = True | ||
| sanity_pip_check = True | ||
|
|
||
| moduleclass = 'math' |
27 changes: 27 additions & 0 deletions
27
easybuild/easyconfigs/p/python-soundfile/python-soundfile-0.12.1-foss-2023a.eb
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,27 @@ | ||
| easyblock = 'PythonPackage' | ||
|
|
||
| name = 'python-soundfile' | ||
| version = '0.12.1' | ||
|
|
||
| homepage = 'https://github.com/bastibe/python-soundfile' | ||
| description = """ The soundfile module can read and write sound files based on | ||
| libsndfile, CFFI, and NumPy """ | ||
|
|
||
| toolchain = {'name': 'foss', 'version': '2023a'} | ||
|
|
||
| sources = ['soundfile-%(version)s.tar.gz'] | ||
| checksums = ['e8e1017b2cf1dda767aef19d2fd9ee5ebe07e050d430f77a0a7c66ba08b8cdae'] | ||
|
|
||
| dependencies = [ | ||
| ('Python', '3.11.3'), | ||
| ('SciPy-bundle', '2023.07'), | ||
| ('libsndfile', '1.2.2'), | ||
| ] | ||
|
|
||
| download_dep_fail = True | ||
| use_pip = True | ||
| sanity_pip_check = True | ||
|
|
||
| options = {'modulename': 'soundfile'} | ||
|
|
||
| moduleclass = 'lib' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,34 @@ | ||
| easyblock = 'ConfigureMake' | ||
|
|
||
| name = 'SoX' | ||
| version = '14.4.2' | ||
|
|
||
| homepage = 'http://sox.sourceforge.net/' | ||
| docurls = 'http://sox.sourceforge.net/Docs/Documentation' | ||
| description = """Sound eXchange, the Swiss Army knife of audio manipulation""" | ||
|
|
||
| toolchain = {'name': 'GCCcore', 'version': '12.3.0'} | ||
|
|
||
| source_urls = [SOURCEFORGE_SOURCE] | ||
| sources = [SOURCELOWER_TAR_GZ] | ||
| checksums = ['b45f598643ffbd8e363ff24d61166ccec4836fea6d3888881b8df53e3bb55f6c'] | ||
|
|
||
| builddependencies = [('binutils', '2.40')] | ||
|
|
||
| dependencies = [ | ||
| ('FLAC', '1.4.2'), | ||
| ('LAME', '3.100'), | ||
| ('libmad', '0.15.1b'), | ||
| ('libvorbis', '1.3.7'), | ||
| ('FFmpeg', '6.0'), | ||
| ] | ||
|
|
||
| sanity_check_paths = { | ||
| 'files': ['bin/play', 'bin/rec', 'bin/sox', 'bin/soxi', 'include/sox.h', | ||
| 'lib/libsox.la', 'lib/libsox.a', 'lib/pkgconfig/sox.pc', 'lib/libsox.%s' % SHLIB_EXT], | ||
| 'dirs': ['bin', 'include', 'lib', 'lib/pkgconfig', 'share/man'], | ||
| } | ||
|
|
||
| sanity_check_commands = ['sox --help'] | ||
|
|
||
| moduleclass = 'data' |
30 changes: 30 additions & 0 deletions
30
...orch-audiomentations/torch-audiomentations-0.11.1-foss-2023a-PyTorch-2.1.2-CUDA-12.1.1.eb
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,30 @@ | ||
| easyblock = 'PythonPackage' | ||
|
|
||
| name = 'torch-audiomentations' | ||
| version = '0.11.1' | ||
| local_pytorch_version = '2.1.2' | ||
| versionsuffix = '-PyTorch-' + local_pytorch_version + '-CUDA-%(cudaver)s' | ||
|
|
||
| homepage = 'https://github.com/asteroid-team/torch-audiomentations' | ||
| description = """Audio data augmentation in PyTorch. Inspired by audiomentations.""" | ||
|
|
||
| toolchain = {'name': 'foss', 'version': '2023a'} | ||
|
|
||
| sources = [SOURCELOWER_TAR_GZ] | ||
| checksums = ['ee4d0c0f937552b4d63dbccdd3c509f5f7747f76c2e13e528ea8ef30e13e1000'] | ||
|
|
||
| dependencies = [ | ||
| ('CUDA', '12.1.1', '', SYSTEM), | ||
| ('Python', '3.11.3'), | ||
| ('torchaudio', '2.2.0', versionsuffix), | ||
| ('julius', '0.2.7', versionsuffix), | ||
| ('librosa', '0.10.1', '-CUDA-%(cudaver)s'), | ||
| ('torch-pitch-shift', '1.2.4', versionsuffix), | ||
| ] | ||
|
|
||
|
|
||
| download_dep_fail = True | ||
| use_pip = True | ||
| sanity_pip_check = True | ||
|
|
||
| moduleclass = 'tools' |
29 changes: 29 additions & 0 deletions
29
...nfigs/t/torch-pitch-shift/torch-pitch-shift-1.2.4-foss-2023a-PyTorch-2.1.2-CUDA-12.1.1.eb
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,29 @@ | ||
| easyblock = 'PythonPackage' | ||
|
|
||
| name = 'torch-pitch-shift' | ||
| version = '1.2.4' | ||
| local_pytorch_version = '2.1.2' | ||
| versionsuffix = '-PyTorch-' + local_pytorch_version + '-CUDA-%(cudaver)s' | ||
|
|
||
| homepage = 'https://github.com/KentoNishi/torch-pitch-shift' | ||
| description = """Pitch-shift audio clips quickly with PyTorch (CUDA supported)! | ||
| Additional utilities for searching efficient transformations are included.""" | ||
|
|
||
| toolchain = {'name': 'foss', 'version': '2023a'} | ||
|
|
||
| sources = ['torch_pitch_shift-%(version)s.tar.gz'] | ||
| checksums = ['c173fc808184a684c1ecd99d5744573e55a667f238e2268adaf15c9467d99db9'] | ||
|
|
||
| dependencies = [ | ||
| ('CUDA', '12.1.1', '', SYSTEM), | ||
| ('Python', '3.11.3'), | ||
| ('torchaudio', '2.2.0', versionsuffix), | ||
| ('primePy', '1.3'), | ||
| ] | ||
|
|
||
|
|
||
| download_dep_fail = True | ||
| use_pip = True | ||
| sanity_pip_check = True | ||
|
|
||
| moduleclass = 'tools' |
49 changes: 49 additions & 0 deletions
49
easybuild/easyconfigs/t/torchaudio/torchaudio-2.2.0-foss-2023a-PyTorch-2.1.2-CUDA-12.1.1.eb
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,49 @@ | ||
| easyblock = 'PythonPackage' | ||
|
|
||
| name = 'torchaudio' | ||
| version = '2.2.0' | ||
| local_pytorch_version = '2.1.2' | ||
| versionsuffix = '-PyTorch-' + local_pytorch_version + '-CUDA-%(cudaver)s' | ||
|
|
||
| homepage = 'https://github.com/pytorch/audio' | ||
| description = """ Data manipulation and transformation for audio signal | ||
| processing, powered by PyTorch """ | ||
|
|
||
| toolchain = {'name': 'foss', 'version': '2023a'} | ||
|
|
||
| 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, | ||
| } | ||
| }] | ||
|
|
||
| checksums = [None] | ||
|
|
||
| builddependencies = [ | ||
| ('binutils', '2.40'), | ||
| ('CMake', '3.26.3'), | ||
| ('Ninja', '1.11.1'), | ||
| ] | ||
|
|
||
| dependencies = [ | ||
| ('CUDA', '12.1.1', '', SYSTEM), | ||
| ('Python', '3.11.3'), | ||
| ('SciPy-bundle', '2023.07'), | ||
| ('PyTorch', local_pytorch_version, '-CUDA-%(cudaver)s'), | ||
| ('SoX', '14.4.2'), | ||
| ('FFmpeg', '6.0'), | ||
| ] | ||
|
|
||
| preinstallopts = 'USE_FFMPEG=1' | ||
| installopts = '--no-use-pep517' | ||
|
|
||
| download_dep_fail = True | ||
| use_pip = True | ||
| sanity_pip_check = True | ||
|
|
||
| moduleclass = 'tools' | ||
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like the same as #19978 , but just for reference, see comment on: #19987 for using PyTorch-bundle instead of torchaudio