Skip to content

{devel}[gfbf/2024a] ONNX v1.20.0, ONNX-Script v0.5.6, ONNX-IR v0.1.12#24965

Merged
Crivella merged 4 commits intoeasybuilders:developfrom
JarneRenders:20251223163551_new_pr_ONNX1200
Jan 14, 2026
Merged

{devel}[gfbf/2024a] ONNX v1.20.0, ONNX-Script v0.5.6, ONNX-IR v0.1.12#24965
Crivella merged 4 commits intoeasybuilders:developfrom
JarneRenders:20251223163551_new_pr_ONNX1200

Conversation

@JarneRenders
Copy link
Contributor

(created using eb --new-pr)

@github-actions github-actions bot added 2024a issues & PRs related to 2024a common toolchains new update labels Dec 23, 2025
@github-actions
Copy link

github-actions bot commented Dec 23, 2025

Updated software ONNX-1.20.0-gfbf-2024a.eb

Diff against ONNX-1.17.0-gfbf-2023b.eb

easybuild/easyconfigs/o/ONNX/ONNX-1.17.0-gfbf-2023b.eb

diff --git a/easybuild/easyconfigs/o/ONNX/ONNX-1.17.0-gfbf-2023b.eb b/easybuild/easyconfigs/o/ONNX/ONNX-1.20.0-gfbf-2024a.eb
index 1222589418..289e35db25 100644
--- a/easybuild/easyconfigs/o/ONNX/ONNX-1.17.0-gfbf-2023b.eb
+++ b/easybuild/easyconfigs/o/ONNX/ONNX-1.20.0-gfbf-2024a.eb
@@ -1,7 +1,7 @@
 easyblock = 'PythonPackage'
 
 name = 'ONNX'
-version = '1.17.0'
+version = '1.20.0'
 
 homepage = 'https://onnx.ai'
 description = """
@@ -12,25 +12,27 @@ 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': '2023b'}
+toolchain = {'name': 'gfbf', 'version': '2024a'}
 
 sources = [SOURCELOWER_TAR_GZ]
-checksums = ['48ca1a91ff73c1d5e3ea2eef20ae5d0e709bb8a2355ed798ffc2169753013fd3']
+checksums = ['1a93ec69996b4556062d552ed1aa0671978cfd3c17a40bf4c89a1ae169c6a4ad']
 
 builddependencies = [
-    ('CMake', '3.27.6'),
+    ('CMake', '3.29.3'),
 ]
 
 dependencies = [
-    ('Python', '3.11.5'),
-    ('SciPy-bundle', '2023.11'),
-    ('protobuf-python', '4.25.3'),
-    ('typing-extensions', '4.10.0'),
+    ('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
@@ -51,9 +53,9 @@ sanity_check_paths = {
 }
 
 sanity_check_commands = [
-    ('check-model', '-h'),
-    ('check-node', '-h'),
-    ('backend-test-tools', '-h'),
+    'check-model -h',
+    'check-node -h',
+    'backend-test-tools -h',
 ]
 
 moduleclass = 'devel'
Diff against ONNX-1.15.0-gfbf-2023a.eb

easybuild/easyconfigs/o/ONNX/ONNX-1.15.0-gfbf-2023a.eb

diff --git a/easybuild/easyconfigs/o/ONNX/ONNX-1.15.0-gfbf-2023a.eb b/easybuild/easyconfigs/o/ONNX/ONNX-1.20.0-gfbf-2024a.eb
index 9251d29dff..289e35db25 100644
--- a/easybuild/easyconfigs/o/ONNX/ONNX-1.15.0-gfbf-2023a.eb
+++ b/easybuild/easyconfigs/o/ONNX/ONNX-1.20.0-gfbf-2024a.eb
@@ -1,7 +1,7 @@
 easyblock = 'PythonPackage'
 
 name = 'ONNX'
-version = '1.15.0'
+version = '1.20.0'
 
 homepage = 'https://onnx.ai'
 description = """
@@ -12,29 +12,33 @@ 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': '2023a'}
+toolchain = {'name': 'gfbf', 'version': '2024a'}
 
 sources = [SOURCELOWER_TAR_GZ]
-patches = ['ONNX-1.15.0_fix-protobuf-linking.patch']
-checksums = [
-    {'onnx-1.15.0.tar.gz': 'b18461a7d38f286618ca2a6e78062a2a9c634ce498e631e708a8041b00094825'},
-    {'ONNX-1.15.0_fix-protobuf-linking.patch': '5c11eca5275a25d69f989571fe1f387b84c7334478356577f6f6349c5954f54d'},
-]
+checksums = ['1a93ec69996b4556062d552ed1aa0671978cfd3c17a40bf4c89a1ae169c6a4ad']
 
 builddependencies = [
-    ('CMake', '3.26.3'),
+    ('CMake', '3.29.3'),
 ]
 
 dependencies = [
-    ('Python', '3.11.3'),
-    ('SciPy-bundle', '2023.07'),
-    ('protobuf-python', '4.24.0'),
-    ('typing-extensions', '4.9.0'),
+    ('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",
@@ -49,9 +53,9 @@ sanity_check_paths = {
 }
 
 sanity_check_commands = [
-    ('check-model', '-h'),
-    ('check-node', '-h'),
-    ('backend-test-tools', '-h'),
+    'check-model -h',
+    'check-node -h',
+    'backend-test-tools -h',
 ]
 
 moduleclass = 'devel'
Diff against ONNX-1.15.0-foss-2022b.eb

easybuild/easyconfigs/o/ONNX/ONNX-1.15.0-foss-2022b.eb

diff --git a/easybuild/easyconfigs/o/ONNX/ONNX-1.15.0-foss-2022b.eb b/easybuild/easyconfigs/o/ONNX/ONNX-1.20.0-gfbf-2024a.eb
index 6a8f30cb63..289e35db25 100644
--- a/easybuild/easyconfigs/o/ONNX/ONNX-1.15.0-foss-2022b.eb
+++ b/easybuild/easyconfigs/o/ONNX/ONNX-1.20.0-gfbf-2024a.eb
@@ -1,7 +1,7 @@
 easyblock = 'PythonPackage'
 
 name = 'ONNX'
-version = '1.15.0'
+version = '1.20.0'
 
 homepage = 'https://onnx.ai'
 description = """
@@ -12,31 +12,33 @@ 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': 'foss', 'version': '2022b'}
+toolchain = {'name': 'gfbf', 'version': '2024a'}
 
 sources = [SOURCELOWER_TAR_GZ]
-patches = ['ONNX-1.15.0_fix-protobuf-linking.patch']
-checksums = [
-    {'onnx-1.15.0.tar.gz': 'b18461a7d38f286618ca2a6e78062a2a9c634ce498e631e708a8041b00094825'},
-    {'ONNX-1.15.0_fix-protobuf-linking.patch': '5c11eca5275a25d69f989571fe1f387b84c7334478356577f6f6349c5954f54d'},
-]
+checksums = ['1a93ec69996b4556062d552ed1aa0671978cfd3c17a40bf4c89a1ae169c6a4ad']
 
 builddependencies = [
-    ('CMake', '3.24.3'),
-    # more recent setuptools required to fix: AttributeError: editable_mode
-    ('setuptools', '64.0.3'),
+    ('CMake', '3.29.3'),
 ]
 
 dependencies = [
-    ('Python', '3.10.8'),
-    ('SciPy-bundle', '2023.02'),
-    ('protobuf-python', '4.23.0'),
-    ('typing-extensions', '4.9.0'),
+    ('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",
@@ -51,9 +53,9 @@ sanity_check_paths = {
 }
 
 sanity_check_commands = [
-    ('check-model', '-h'),
-    ('check-node', '-h'),
-    ('backend-test-tools', '-h'),
+    'check-model -h',
+    'check-node -h',
+    'backend-test-tools -h',
 ]
 
 moduleclass = 'devel'

@smoors
Copy link
Contributor

smoors commented Jan 4, 2026

@boegelbot please test @ jsc-zen3

@boegelbot
Copy link
Collaborator

@smoors: Request for testing this PR well received on jsczen3l1.int.jsc-zen3.fz-juelich.de

PR test command 'if [[ develop != 'develop' ]]; then EB_BRANCH=develop ./easybuild_develop.sh 2> /dev/null 1>&2; EB_PREFIX=/home/boegelbot/easybuild/develop source init_env_easybuild_develop.sh; fi; EB_PR=24965 EB_ARGS= EB_CONTAINER= EB_REPO=easybuild-easyconfigs EB_BRANCH=develop /opt/software/slurm/bin/sbatch --job-name test_PR_24965 --ntasks=8 ~/boegelbot/eb_from_pr_upload_jsc-zen3.sh' executed!

  • exit code: 0
  • output:
Submitted batch job 9313

Test results coming soon (I hope)...

Details

- notification for comment with ID 3708377982 processed

Message to humans: this is just bookkeeping information for me,
it is of no use to you (unless you think I have a bug, which I don't).

@boegelbot
Copy link
Collaborator

Test report by @boegelbot
SUCCESS
Build succeeded for 3 out of 3 (total: 4 mins 34 secs) (3 easyconfigs in total)
jsczen3c1.int.jsc-zen3.fz-juelich.de - Linux Rocky Linux 9.7, x86_64, AMD EPYC-Milan Processor (zen3), Python 3.9.23
See https://gist.github.com/boegelbot/ddd85beec3f31a642a5b0435a54da212 for a full test report.

@Crivella
Copy link
Contributor

@boegelbot please test @ jsc-zen3

@Crivella
Copy link
Contributor

Test report by @Crivella
SUCCESS
Build succeeded for 3 out of 3 (total: 1 min 43 secs) (3 easyconfigs in total)
crivella-desktop - Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish), x86_64, 13th Gen Intel(R) Core(TM) i9-13900K (skylake), Python 3.11.14
See https://gist.github.com/Crivella/cd0820a19a7f9dd17855a40158bdb8f8 for a full test report.

@boegelbot
Copy link
Collaborator

@Crivella: Request for testing this PR well received on jsczen3l1.int.jsc-zen3.fz-juelich.de

PR test command 'if [[ develop != 'develop' ]]; then EB_BRANCH=develop ./easybuild_develop.sh 2> /dev/null 1>&2; EB_PREFIX=/home/boegelbot/easybuild/develop source init_env_easybuild_develop.sh; fi; EB_PR=24965 EB_ARGS= EB_CONTAINER= EB_REPO=easybuild-easyconfigs EB_BRANCH=develop /opt/software/slurm/bin/sbatch --job-name test_PR_24965 --ntasks=8 ~/boegelbot/eb_from_pr_upload_jsc-zen3.sh' executed!

  • exit code: 0
  • output:
Submitted batch job 9385

Test results coming soon (I hope)...

Details

- notification for comment with ID 3744929936 processed

Message to humans: this is just bookkeeping information for me,
it is of no use to you (unless you think I have a bug, which I don't).

@boegelbot
Copy link
Collaborator

Test report by @boegelbot
SUCCESS
Build succeeded for 3 out of 3 (total: 5 mins 4 secs) (3 easyconfigs in total)
jsczen3c1.int.jsc-zen3.fz-juelich.de - Linux Rocky Linux 9.7, x86_64, AMD EPYC-Milan Processor (zen3), Python 3.9.23
See https://gist.github.com/boegelbot/a5c289272c7e1be8da1cb5b901033b72 for a full test report.

@Crivella Crivella added this to the next release (5.2.1?) milestone Jan 13, 2026
Add compatibility fix for numpy version in preinstall options.
@Crivella
Copy link
Contributor

Test report by @Crivella
SUCCESS
Build succeeded for 3 out of 3 (total: 1 min 41 secs) (3 easyconfigs in total)
crivella-desktop - Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish), x86_64, 13th Gen Intel(R) Core(TM) i9-13900K (skylake), Python 3.11.14
See https://gist.github.com/Crivella/b9605a10e89692aedded93d7ffa31d70 for a full test report.

Copy link
Contributor

@Crivella Crivella left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Crivella
Copy link
Contributor

Going in, thanks @JarneRenders!

@Crivella Crivella merged commit 927d5aa into easybuilders:develop Jan 14, 2026
8 checks passed
@JarneRenders JarneRenders deleted the 20251223163551_new_pr_ONNX1200 branch January 16, 2026 13:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

2024a issues & PRs related to 2024a common toolchains new update

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants