-
Notifications
You must be signed in to change notification settings - Fork 782
{ai}[foss/2025a] PyTorch-bundle v2.9.1 w/ CUDA 12.8.0 from wheels #25329
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
lexming
wants to merge
2
commits into
easybuilders:develop
Choose a base branch
from
lexming:20260218234123_new_pr_PyTorch-bundle291
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
37 changes: 37 additions & 0 deletions
37
easybuild/easyconfigs/p/PyCryptodome/PyCryptodome-3.23.0-GCCcore-14.2.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,37 @@ | ||
| easyblock = 'PythonBundle' | ||
|
|
||
| name = 'PyCryptodome' | ||
| version = '3.23.0' | ||
|
|
||
| homepage = 'https://www.pycryptodome.org/' | ||
| description = """PyCryptodome is a self-contained Python package of low-level cryptographic | ||
| primitives. PyCryptodome is a fork of PyCrypto. | ||
| PyCryptodome is not a wrapper to a separate C library like OpenSSL. To the | ||
| largest possible extent, algorithms are implemented in pure Python. Only the | ||
| pieces that are extremely critical to performance (e.g. block ciphers) are | ||
| implemented as C extensions. | ||
| This module installs the 'Cryptodome' python package. | ||
| """ | ||
|
|
||
| toolchain = {'name': 'GCCcore', 'version': '14.2.0'} | ||
|
|
||
| dependencies = [ | ||
| ('Python', '3.13.1'), | ||
| ] | ||
|
|
||
| # There are two ways to install PyCryptodome: | ||
| # - the pip package 'pycryptodome' which provides the 'Crypto' python module | ||
| # - the pip package 'pycryptodomex' which provides the 'Cryptodome' python module | ||
| # The code behind both options is the same, just the namespace changes. | ||
|
|
||
| # This easyconfig installs 'pycryptodomex' and 'Cryptdome'. | ||
| # Python-bundle-PyPI already provides the 'pycryptodome' variant. | ||
|
|
||
| exts_list = [ | ||
| ('pycryptodomex', version, { | ||
| 'modulename': 'Cryptodome', | ||
| 'checksums': ['71909758f010c82bc99b0abf4ea12012c98962fbf0583c2164f8b84533c2e4da'], | ||
| }), | ||
| ] | ||
|
|
||
| moduleclass = 'lib' |
122 changes: 122 additions & 0 deletions
122
easybuild/easyconfigs/p/PyTorch-bundle/PyTorch-bundle-2.9.1-foss-2025a-CUDA-12.8.0-whl.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,122 @@ | ||
| easyblock = 'PythonBundle' | ||
|
|
||
| name = 'PyTorch-bundle' | ||
| version = '2.9.1' | ||
| versionsuffix = '-CUDA-%(cudaver)s-whl' | ||
|
|
||
| homepage = 'https://pytorch.org/' | ||
| description = """PyTorch with compatible versions of official Torch extensions. | ||
| This module provides the official binaries of from pytorch.org""" | ||
|
|
||
| toolchain = {'name': 'foss', 'version': '2025a'} | ||
|
|
||
| dependencies = [ | ||
| ('CUDA', '12.8.0', '', SYSTEM), | ||
| ('Python', '3.13.1'), | ||
| ('PyTorch', version, versionsuffix), | ||
| ('Pillow', '11.3.0'), # for torchvision | ||
| ('aiohttp', '3.12.13'), # for torchtune | ||
| ('HF-Datasets', '4.5.0'), # for torchtune | ||
| ('PyCryptodome', '3.23.0'), # for torchtune | ||
| ('Safetensors', '0.7.0'), # for torchtune | ||
| ('SentencePiece', '0.2.1'), # for torchtune | ||
| ('tiktoken', '0.12.0'), # for torchtune | ||
| ('tokenizers', '0.22.2'), # for torchtune | ||
| ('lxml', '5.3.0'), # for blobfile and torchtune | ||
| ] | ||
|
|
||
| _whl_abi = 'manylinux_2_28' | ||
| _whl_pyver = 'cp%(pymajver)s%(pyminver)s-cp%(pymajver)s%(pyminver)s' | ||
| _pytorch_whl_source = { | ||
| 'aarch64': f'%(name)s-%(version)s-{_whl_pyver}-{_whl_abi}_aarch64.whl', | ||
| 'x86_64': f'%(name)s-%(version)s%2Bcu128-{_whl_pyver}-{_whl_abi}_x86_64.whl' | ||
| } | ||
| _pypi_whl_source = { | ||
| 'aarch64': f'%(name)s-%(version)s-{_whl_pyver}-{_whl_abi}_aarch64.whl', | ||
| 'x86_64': f'%(name)s-%(version)s-{_whl_pyver}-{_whl_abi}_x86_64.whl' | ||
| } | ||
|
|
||
| exts_default_options = { | ||
| 'sources': [SOURCE_PY3_WHL], | ||
| } | ||
|
|
||
| exts_list = [ | ||
| ('torchaudio', version, { | ||
| 'source_urls': ['https://download.pytorch.org/whl/cu128'], | ||
| 'sources': [_pytorch_whl_source[ARCH]], | ||
| 'checksums': [{ | ||
| 'torchaudio-2.9.1-cp313-cp313-manylinux_2_28_aarch64.whl': | ||
| 'ea6fe3b9525493df0a5eb5eed5c22925065b5830f6999980ed76bb36c4592d34', | ||
| 'torchaudio-2.9.1%2Bcu128-cp313-cp313-manylinux_2_28_x86_64.whl': | ||
| '52297b7dfb7c42e311385572bc9c0186e602ea1a5f20c42923765baea99aff83', | ||
| }], | ||
| }), | ||
| ('torchvision', '0.24.1', { | ||
| 'source_urls': ['https://download.pytorch.org/whl/cu128'], | ||
| 'sources': [_pytorch_whl_source[ARCH]], | ||
| 'checksums': [{ | ||
| 'torchvision-0.24.1-cp313-cp313-manylinux_2_28_aarch64.whl': | ||
| '7695d95e4e4c25fe1af3b880ffcd2dbcaa43cce7fd7edbe0157305b837c1dcf8', | ||
| 'torchvision-0.24.1%2Bcu128-cp313-cp313-manylinux_2_28_x86_64.whl': | ||
| '5f7c5e0fa08d2cbee93b6e04bbedd59b5e11462cff6cefd07949217265df2370', | ||
| }], | ||
| }), | ||
| ('torchao', '0.15.0', { | ||
| 'source_urls': ['https://download.pytorch.org/whl/cu128'], | ||
| 'sources': [f'%(name)s-%(version)s%2Bcu128-cp310-abi3-manylinux_2_24_x86_64.{_whl_abi}_x86_64.whl'], | ||
| 'checksums': ['8aef3e1de8c55187fabd8eef432f0ad190ef6c5507de52a438b91e6a89cffe1c'], | ||
| }), | ||
| ('pytorch-ignite', '0.5.2', { | ||
| 'modulename': 'ignite', | ||
| 'sources': ['pytorch_ignite-%(version)s-py3-none-any.whl'], | ||
| 'checksums': ['ae0843e7b45416041cc57700dcbdfae30ae6432f2dc5bc20dfbfe1dae3414c91'], | ||
| }), | ||
| # requirements for torchrl | ||
| ('packaging', '25.0', { | ||
| 'checksums': ['29572ef2b1f17581046b3a2227d5c611fb25ec70ca1ba8554b24b0e69331a484'], | ||
| }), | ||
| ('pyvers', '0.1.0', { | ||
| 'checksums': ['065249805ae537ddf9a2d1a8dffc6d0a12474a347d2eaa2f35ebdae92c0c8199'], | ||
| }), | ||
| ('tensordict', '0.10.0', { | ||
| 'sources': [_pypi_whl_source[ARCH]], | ||
| 'checksums': [{ | ||
| 'tensordict-0.10.0-cp313-cp313-manylinux_2_28_aarch64.whl': | ||
| 'c3c9c16f6601b396155701b05ce40f328edae4a7d4d3069240fbee66a3645fc3', | ||
| 'tensordict-0.10.0-cp313-cp313-manylinux_2_28_x86_64.whl': | ||
| '102776f9e3ea17bcc17fd45896f22c5b045fb61b6b502a1a6a6ff627eacb9b68', | ||
| }], | ||
| }), | ||
| ('torchrl', '0.10.1', { | ||
| 'sources': [_pypi_whl_source[ARCH]], | ||
| 'checksums': [{ | ||
| 'torchrl-0.10.1-cp313-cp313-manylinux_2_28_aarch64.whl': | ||
| 'e0165c83b3d7eb18fb8d1866ca71cfa57e7a2fdad6860c353a28bfa65338c7b2', | ||
| 'torchrl-0.10.1-cp313-cp313-manylinux_2_28_x86_64.whl': | ||
| '23e4f86d18e243457aa6e3fd3e6fd66bf4366c4f65372dbd6c8f6387bbd94d36', | ||
| }], | ||
| }), | ||
| # requirements for torchtune | ||
| ('antlr4-python3-runtime', '4.9.3', { | ||
| 'modulename': 'antlr4', | ||
| 'sources': [SOURCE_TAR_GZ], | ||
| 'checksums': ['f224469b4168294902bb1efa80a8bf7855f24c99aef99cbefc1bcd3cce77881b'], | ||
| }), | ||
| ('omegaconf', '2.3.0', { | ||
| 'checksums': ['7b4df175cdb08ba400f45cae3bdcae7ba8365db4d165fc65fd04b050ab63b46b'], | ||
| }), | ||
| ('blobfile', '3.2.0', { | ||
| 'checksums': ['e5e4095477da9f09e2077f41320c006001b2102a61f07d41ceaaecdf5d9741d8'], | ||
| }), | ||
| ('kagglehub', '0.3.13', { | ||
| 'checksums': ['e00dec8b81396cbad9c7b5eb62a33cf8ae27da26227abd196ed8f054c845ca00'], | ||
| }), | ||
| ('torchdata', '0.11.0', { | ||
| 'checksums': ['52b940fbbe0e00fb21cabddf528449d1bec5bfb0d0823b7487b15f951658ee33'], | ||
| }), | ||
| ('torchtune', '0.6.1', { | ||
| 'checksums': ['bcbc4ee9774b5c5829a5ff13df851e0b0e32416c018af8db53faa3472ac256e7'], | ||
| }), | ||
| ] | ||
|
|
||
| moduleclass = 'ai' | ||
121 changes: 121 additions & 0 deletions
121
easybuild/easyconfigs/p/PyTorch-bundle/PyTorch-bundle-2.9.1-foss-2025a-whl.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,121 @@ | ||
| easyblock = 'PythonBundle' | ||
|
|
||
| name = 'PyTorch-bundle' | ||
| version = '2.9.1' | ||
| versionsuffix = '-whl' | ||
|
|
||
| homepage = 'https://pytorch.org/' | ||
| description = """PyTorch with compatible versions of official Torch extensions. | ||
| This module provides the official binaries of from pytorch.org""" | ||
|
|
||
| toolchain = {'name': 'foss', 'version': '2025a'} | ||
|
|
||
| dependencies = [ | ||
| ('Python', '3.13.1'), | ||
| ('PyTorch', version, versionsuffix), | ||
| ('Pillow', '11.3.0'), # for torchvision | ||
| ('aiohttp', '3.12.13'), # for torchtune | ||
| ('HF-Datasets', '4.5.0'), # for torchtune | ||
| ('PyCryptodome', '3.23.0'), # for torchtune | ||
| ('Safetensors', '0.7.0'), # for torchtune | ||
| ('SentencePiece', '0.2.1'), # for torchtune | ||
| ('tiktoken', '0.12.0'), # for torchtune | ||
| ('tokenizers', '0.22.2'), # for torchtune | ||
| ('lxml', '5.3.0'), # for blobfile and torchtune | ||
| ] | ||
|
|
||
| _whl_abi = 'manylinux_2_28' | ||
| _whl_pyver = 'cp%(pymajver)s%(pyminver)s-cp%(pymajver)s%(pyminver)s' | ||
| _pytorch_whl_source = { | ||
| 'aarch64': f'%(name)s-%(version)s-{_whl_pyver}-{_whl_abi}_aarch64.whl', | ||
| 'x86_64': f'%(name)s-%(version)s%2Bcpu-{_whl_pyver}-{_whl_abi}_x86_64.whl' | ||
| } | ||
| _pypi_whl_source = { | ||
| 'aarch64': f'%(name)s-%(version)s-{_whl_pyver}-{_whl_abi}_aarch64.whl', | ||
| 'x86_64': f'%(name)s-%(version)s-{_whl_pyver}-{_whl_abi}_x86_64.whl' | ||
| } | ||
|
|
||
| exts_default_options = { | ||
| 'sources': [SOURCE_PY3_WHL], | ||
| } | ||
|
|
||
| exts_list = [ | ||
| ('torchaudio', version, { | ||
| 'source_urls': ['https://download.pytorch.org/whl/cpu'], | ||
| 'sources': [_pytorch_whl_source[ARCH]], | ||
| 'checksums': [{ | ||
| 'torchaudio-2.9.1-cp313-cp313-manylinux_2_28_aarch64.whl': | ||
| 'd0080abd534063af32cf69523bd8410491b56c9f7f27ed644edeb97e1eb24a33', | ||
| 'torchaudio-2.9.1%2Bcpu-cp313-cp313-manylinux_2_28_x86_64.whl': | ||
| 'c3cb189e9b30ff639535c1152056cc2523aecf139978f2b9b89109e2d376909e', | ||
| }], | ||
| }), | ||
| ('torchvision', '0.24.1', { | ||
| 'source_urls': ['https://download.pytorch.org/whl/cpu'], | ||
| 'sources': [_pytorch_whl_source[ARCH]], | ||
| 'checksums': [{ | ||
| 'torchvision-0.24.1-cp313-cp313-manylinux_2_28_aarch64.whl': | ||
| '59ddbe5779943af99a897fcd5894757ae7cffeb1c25a519b79cd9338188a8664', | ||
| 'torchvision-0.24.1%2Bcpu-cp313-cp313-manylinux_2_28_x86_64.whl': | ||
| '19eb1744686a992522bf9ab8bf4b3245c2202e93a39b1fe1fcb2b8d2ca982048', | ||
| }], | ||
| }), | ||
| ('torchao', '0.15.0', { | ||
| 'source_urls': ['https://download.pytorch.org/whl/cpu'], | ||
| 'sources': ['%(name)s-%(version)s%2Bcpu-py3-none-any.whl'], | ||
| 'checksums': ['72372b607f353aa1891ea7733c7b3488a33011e82c0356c404b66fd37ae57fc3'], | ||
| }), | ||
| ('pytorch-ignite', '0.5.2', { | ||
| 'modulename': 'ignite', | ||
| 'sources': ['pytorch_ignite-%(version)s-py3-none-any.whl'], | ||
| 'checksums': ['ae0843e7b45416041cc57700dcbdfae30ae6432f2dc5bc20dfbfe1dae3414c91'], | ||
| }), | ||
| # requirements for torchrl | ||
| ('packaging', '25.0', { | ||
| 'checksums': ['29572ef2b1f17581046b3a2227d5c611fb25ec70ca1ba8554b24b0e69331a484'], | ||
| }), | ||
| ('pyvers', '0.1.0', { | ||
| 'checksums': ['065249805ae537ddf9a2d1a8dffc6d0a12474a347d2eaa2f35ebdae92c0c8199'], | ||
| }), | ||
| ('tensordict', '0.10.0', { | ||
| 'sources': [_pypi_whl_source[ARCH]], | ||
| 'checksums': [{ | ||
| 'tensordict-0.10.0-cp313-cp313-manylinux_2_28_aarch64.whl': | ||
| 'c3c9c16f6601b396155701b05ce40f328edae4a7d4d3069240fbee66a3645fc3', | ||
| 'tensordict-0.10.0-cp313-cp313-manylinux_2_28_x86_64.whl': | ||
| '102776f9e3ea17bcc17fd45896f22c5b045fb61b6b502a1a6a6ff627eacb9b68', | ||
| }], | ||
| }), | ||
| ('torchrl', '0.10.1', { | ||
| 'sources': [_pypi_whl_source[ARCH]], | ||
| 'checksums': [{ | ||
| 'torchrl-0.10.1-cp313-cp313-manylinux_2_28_aarch64.whl': | ||
| 'e0165c83b3d7eb18fb8d1866ca71cfa57e7a2fdad6860c353a28bfa65338c7b2', | ||
| 'torchrl-0.10.1-cp313-cp313-manylinux_2_28_x86_64.whl': | ||
| '23e4f86d18e243457aa6e3fd3e6fd66bf4366c4f65372dbd6c8f6387bbd94d36', | ||
| }], | ||
| }), | ||
| # requirements for torchtune | ||
| ('antlr4-python3-runtime', '4.9.3', { | ||
| 'modulename': 'antlr4', | ||
| 'sources': [SOURCE_TAR_GZ], | ||
| 'checksums': ['f224469b4168294902bb1efa80a8bf7855f24c99aef99cbefc1bcd3cce77881b'], | ||
| }), | ||
| ('omegaconf', '2.3.0', { | ||
| 'checksums': ['7b4df175cdb08ba400f45cae3bdcae7ba8365db4d165fc65fd04b050ab63b46b'], | ||
| }), | ||
| ('blobfile', '3.2.0', { | ||
| 'checksums': ['e5e4095477da9f09e2077f41320c006001b2102a61f07d41ceaaecdf5d9741d8'], | ||
| }), | ||
| ('kagglehub', '0.3.13', { | ||
| 'checksums': ['e00dec8b81396cbad9c7b5eb62a33cf8ae27da26227abd196ed8f054c845ca00'], | ||
| }), | ||
| ('torchdata', '0.11.0', { | ||
| 'checksums': ['52b940fbbe0e00fb21cabddf528449d1bec5bfb0d0823b7487b15f951658ee33'], | ||
| }), | ||
| ('torchtune', '0.6.1', { | ||
| 'checksums': ['bcbc4ee9774b5c5829a5ff13df851e0b0e32416c018af8db53faa3472ac256e7'], | ||
| }), | ||
| ] | ||
|
|
||
| moduleclass = 'ai' |
Oops, something went wrong.
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.
@lexming this one needs an
aarch64version too. At least, the current build fails onaarch64.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.
I've added to this upstream ticket pytorch/ao#2585