-
Notifications
You must be signed in to change notification settings - Fork 781
{devel}[gfbf/2024a] ONNX v1.20.0, ONNX-Script v0.5.6, ONNX-IR v0.1.12 #24965
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
Merged
Crivella
merged 4 commits into
easybuilders:develop
from
JarneRenders:20251223163551_new_pr_ONNX1200
Jan 14, 2026
Merged
Changes from all commits
Commits
Show all changes
4 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
28 changes: 28 additions & 0 deletions
28
easybuild/easyconfigs/o/ONNX-IR/ONNX-IR-0.1.12-gfbf-2024a.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,28 @@ | ||
| easyblock = 'PythonPackage' | ||
|
|
||
| name = 'ONNX-IR' | ||
| version = '0.1.12' | ||
|
|
||
| homepage = 'https://github.com/onnx/ir-py' | ||
| description = """ | ||
| An in-memory IR that supports the full ONNX spec, designed for graph construction, analysis and | ||
| transformation. | ||
| """ | ||
|
|
||
| toolchain = {'name': 'gfbf', 'version': '2024a'} | ||
|
|
||
| sources = ['onnx_ir-%(version)s.tar.gz'] | ||
| checksums = ['742e0bff875d0547724187560b3f441833191c8aa939c05f14176f4892784deb'] | ||
|
|
||
| dependencies = [ | ||
| ('Python', '3.12.3'), | ||
| ('ml_dtypes', '0.5.0'), | ||
| ('SciPy-bundle', '2024.05'), | ||
| ('ONNX', '1.20.0'), | ||
| ] | ||
|
|
||
| preinstallopts = """sed -i '/^license/d' pyproject.toml && """ | ||
| # Ensure compatibilty with numpy < 2 which had no strings module | ||
| preinstallopts += """sed -i 's/np.strings.encode/np.char.encode/' src/onnx_ir/_convenience/_constructors.py && """ | ||
|
|
||
| moduleclass = 'devel' | ||
27 changes: 27 additions & 0 deletions
27
easybuild/easyconfigs/o/ONNX-Script/ONNX-Script-0.5.6-gfbf-2024a.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 = 'ONNX-Script' | ||
| version = '0.5.6' | ||
|
|
||
| homepage = 'https://microsoft.github.io/onnxscript/' | ||
| description = """ | ||
| ONNX Script enables developers to naturally author ONNX functions and models using a subset of | ||
| Python. | ||
| """ | ||
|
|
||
| source_urls = ['https://pypi.python.org/packages/source/%(nameletterlower)s/onnxscript'] | ||
| sources = ['onnxscript-%(version)s.tar.gz'] | ||
| checksums = ['cc3338b2976daffd2af0bb6ac4866a4dca76aefface1666a0d7bc65ad9850822'] | ||
|
|
||
| toolchain = {'name': 'gfbf', 'version': '2024a'} | ||
|
|
||
| dependencies = [ | ||
| ('Python', '3.12.3'), | ||
| ('ml_dtypes', '0.5.0'), | ||
| ('ONNX', '1.20.0'), | ||
| ('ONNX-IR', '0.1.12'), | ||
| ] | ||
|
|
||
| options = {'modulename': 'onnxscript'} | ||
|
|
||
| moduleclass = 'devel' |
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,61 @@ | ||
| easyblock = 'PythonPackage' | ||
|
|
||
| name = 'ONNX' | ||
| version = '1.20.0' | ||
|
|
||
| homepage = 'https://onnx.ai' | ||
| description = """ | ||
| Open Neural Network Exchange (ONNX) is an open ecosystem that empowers AI | ||
| developers to choose the right tools as their project evolves. ONNX provides an | ||
| open source format for AI models, both deep learning and traditional ML. It | ||
| defines an extensible computation graph model, as well as definitions of | ||
| built-in operators and standard data types. Currently we focus on the | ||
| capabilities needed for inferencing (scoring).""" | ||
|
|
||
| toolchain = {'name': 'gfbf', 'version': '2024a'} | ||
|
|
||
| sources = [SOURCELOWER_TAR_GZ] | ||
| checksums = ['1a93ec69996b4556062d552ed1aa0671978cfd3c17a40bf4c89a1ae169c6a4ad'] | ||
|
|
||
| builddependencies = [ | ||
| ('CMake', '3.29.3'), | ||
| ] | ||
|
|
||
| dependencies = [ | ||
| ('Python', '3.12.3'), | ||
| ('SciPy-bundle', '2024.05'), | ||
| ('protobuf-python', '5.28.0'), | ||
| ('typing-extensions', '4.11.0'), | ||
| ('ml_dtypes', '0.5.0'), | ||
| ] | ||
|
|
||
| # hardcode version in pyproject.toml rather than determining it dynamically | ||
| preinstallopts = """sed -i 's/"version",//g' pyproject.toml && """ | ||
| preinstallopts += """sed -i 's/readme = .*/version = "%(version)s"/g' pyproject.toml && """ | ||
| preinstallopts += """sed -i '/^license/d' pyproject.toml && """ | ||
|
|
||
| # fix for: undefined symbol: _ZN6google8protobuf8internal15ThreadSafeArena13thread_cache_E | ||
| # see also https://bugs.archlinux.org/task/75242 | ||
| # author: Kenneth Hoste (HPC-UGent) | ||
| preinstallopts += "sed -i '50 s/if(MSVC)/#if(MSVC)/' CMakeLists.txt && " | ||
| preinstallopts += "sed -i '53 s/endif()/#endif()/' CMakeLists.txt && " | ||
|
|
||
| # specify C++17 standard and link to protobuf shared library (also requires patch to use -DPROTOBUF_USE_DLLS); | ||
| # required to fix "error: 'string_view' in namespace 'std' does not name a type", | ||
| # see also https://github.com/onnx/onnx/issues/5430 | ||
| preinstallopts += "export CMAKE_ARGS='-DCMAKE_CXX_STANDARD=17 -DONNX_USE_PROTOBUF_SHARED_LIBS=ON' && " | ||
|
|
||
| preinstallopts += 'env MAX_JOBS="%(parallel)s"' | ||
|
|
||
| sanity_check_paths = { | ||
| 'files': ['bin/check-model', 'bin/check-node', 'bin/backend-test-tools'], | ||
| 'dirs': ['lib/python%(pyshortver)s/site-packages'], | ||
| } | ||
|
|
||
| sanity_check_commands = [ | ||
| 'check-model -h', | ||
| 'check-node -h', | ||
| 'backend-test-tools -h', | ||
| ] | ||
|
JarneRenders marked this conversation as resolved.
|
||
|
|
||
| moduleclass = 'devel' | ||
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.
Uh oh!
There was an error while loading. Please reload this page.