Skip to content

{devel}[foss/2024a] ONNX-Runtime v1.23.2 w/ CUDA 12.6.0#24966

Merged
lexming merged 2 commits into
easybuilders:developfrom
JarneRenders:20251223163638_new_pr_ONNX-Runtime1232
Feb 13, 2026
Merged

{devel}[foss/2024a] ONNX-Runtime v1.23.2 w/ CUDA 12.6.0#24966
lexming merged 2 commits into
easybuilders:developfrom
JarneRenders:20251223163638_new_pr_ONNX-Runtime1232

Conversation

@JarneRenders
Copy link
Copy Markdown
Contributor

@JarneRenders JarneRenders commented Dec 23, 2025

(created using eb --new-pr)

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

Updated software ONNX-Runtime-1.23.2-foss-2024a-CUDA-12.6.0.eb

Diff against ONNX-Runtime-1.19.2-foss-2023a-CUDA-12.6.0.eb

easybuild/easyconfigs/o/ONNX-Runtime/ONNX-Runtime-1.19.2-foss-2023a-CUDA-12.6.0.eb

diff --git a/easybuild/easyconfigs/o/ONNX-Runtime/ONNX-Runtime-1.19.2-foss-2023a-CUDA-12.6.0.eb b/easybuild/easyconfigs/o/ONNX-Runtime/ONNX-Runtime-1.23.2-foss-2024a-CUDA-12.6.0.eb
index dc5c855893..37b705ce83 100644
--- a/easybuild/easyconfigs/o/ONNX-Runtime/ONNX-Runtime-1.19.2-foss-2023a-CUDA-12.6.0.eb
+++ b/easybuild/easyconfigs/o/ONNX-Runtime/ONNX-Runtime-1.23.2-foss-2024a-CUDA-12.6.0.eb
@@ -1,7 +1,7 @@
 easyblock = 'PythonBundle'
 
 name = 'ONNX-Runtime'
-version = '1.19.2'
+version = '1.23.2'
 versionsuffix = '-CUDA-%(cudaver)s'
 
 homepage = 'https://onnxruntime.ai'
@@ -13,14 +13,14 @@ hardware, drivers, and operating systems, and provides optimal performance by
 leveraging hardware accelerators where applicable alongside graph optimizations
 and transforms."""
 
-toolchain = {'name': 'foss', 'version': '2023a'}
+toolchain = {'name': 'foss', 'version': '2024a'}
 
 dependencies = [
     ('CUDA', '12.6.0', '', SYSTEM),
-    ('Python', '3.11.3'),
-    ('ONNX', '1.15.0'),
-    ('flatbuffers-python', '23.5.26'),
-    ('sympy', '1.12'),
+    ('Python', '3.12.3'),
+    ('ONNX', '1.20.0'),
+    ('flatbuffers-python', '24.3.25'),
+    ('sympy', '1.13.3'),
 ]
 
 exts_list = [
@@ -33,8 +33,8 @@ exts_list = [
     (name, version, {
         'modulename': 'onnxruntime',
         'source_urls': ['http://pypi.python.org/packages/source/o/onnxruntime-gpu'],
-        'sources': ['onnxruntime_gpu-%(version)s-cp311-cp311-manylinux_2_27_%(arch)s.manylinux_2_28_%(arch)s.whl'],
-        'checksums': ['562fc7c755393eaad9751e56149339dd201ffbfdb3ef5f43ff21d0619ba9045f'],
+        'sources': ['onnxruntime_gpu-%(version)s-cp312-cp312-manylinux_2_27_%(arch)s.manylinux_2_28_%(arch)s.whl'],
+        'checksums': ['4f2d1f720685d729b5258ec1b36dee1de381b8898189908c98cbeecdb2f2b5c2'],
     }),
 ]
 
Diff against ONNX-Runtime-1.19.2-foss-2023a-CUDA-12.1.1.eb

easybuild/easyconfigs/o/ONNX-Runtime/ONNX-Runtime-1.19.2-foss-2023a-CUDA-12.1.1.eb

diff --git a/easybuild/easyconfigs/o/ONNX-Runtime/ONNX-Runtime-1.19.2-foss-2023a-CUDA-12.1.1.eb b/easybuild/easyconfigs/o/ONNX-Runtime/ONNX-Runtime-1.23.2-foss-2024a-CUDA-12.6.0.eb
index 4623e4898d..37b705ce83 100644
--- a/easybuild/easyconfigs/o/ONNX-Runtime/ONNX-Runtime-1.19.2-foss-2023a-CUDA-12.1.1.eb
+++ b/easybuild/easyconfigs/o/ONNX-Runtime/ONNX-Runtime-1.23.2-foss-2024a-CUDA-12.6.0.eb
@@ -1,7 +1,7 @@
 easyblock = 'PythonBundle'
 
 name = 'ONNX-Runtime'
-version = '1.19.2'
+version = '1.23.2'
 versionsuffix = '-CUDA-%(cudaver)s'
 
 homepage = 'https://onnxruntime.ai'
@@ -13,18 +13,16 @@ hardware, drivers, and operating systems, and provides optimal performance by
 leveraging hardware accelerators where applicable alongside graph optimizations
 and transforms."""
 
-toolchain = {'name': 'foss', 'version': '2023a'}
+toolchain = {'name': 'foss', 'version': '2024a'}
 
 dependencies = [
-    ('CUDA', '12.1.1', '', SYSTEM),
-    ('Python', '3.11.3'),
-    ('ONNX', '1.15.0'),
-    ('flatbuffers-python', '23.5.26'),
-    ('sympy', '1.12'),
+    ('CUDA', '12.6.0', '', SYSTEM),
+    ('Python', '3.12.3'),
+    ('ONNX', '1.20.0'),
+    ('flatbuffers-python', '24.3.25'),
+    ('sympy', '1.13.3'),
 ]
 
-local_whl_tmpl = 'onnxruntime_gpu-%%(version)s-cp311-cp311-manylinux_2_27_%s.manylinux_2_28_%s.whl'
-
 exts_list = [
     ('humanfriendly', '10.0', {
         'checksums': ['6b0b831ce8f15f7300721aa49829fc4e83921a9a301cc7f606be6686a2288ddc'],
@@ -33,13 +31,10 @@ exts_list = [
         'checksums': ['7c991aa71a4577af2f82600d8f8f3a89f936baeaf9b50a9c197da014e5bf16b0'],
     }),
     (name, version, {
-        'source_urls': ['http://pypi.python.org/packages/source/o/onnxruntime-gpu'],
-        'sources': [local_whl_tmpl % ('%(arch)s', '%(arch)s')],
-        'checksums': [{
-            local_whl_tmpl % ('x86_64', 'x86_64'):
-                '562fc7c755393eaad9751e56149339dd201ffbfdb3ef5f43ff21d0619ba9045f',
-        }],
         'modulename': 'onnxruntime',
+        'source_urls': ['http://pypi.python.org/packages/source/o/onnxruntime-gpu'],
+        'sources': ['onnxruntime_gpu-%(version)s-cp312-cp312-manylinux_2_27_%(arch)s.manylinux_2_28_%(arch)s.whl'],
+        'checksums': ['4f2d1f720685d729b5258ec1b36dee1de381b8898189908c98cbeecdb2f2b5c2'],
     }),
 ]
 
Diff against ONNX-Runtime-1.19.2-foss-2023a.eb

easybuild/easyconfigs/o/ONNX-Runtime/ONNX-Runtime-1.19.2-foss-2023a.eb

diff --git a/easybuild/easyconfigs/o/ONNX-Runtime/ONNX-Runtime-1.19.2-foss-2023a.eb b/easybuild/easyconfigs/o/ONNX-Runtime/ONNX-Runtime-1.23.2-foss-2024a-CUDA-12.6.0.eb
index 765a69a726..37b705ce83 100644
--- a/easybuild/easyconfigs/o/ONNX-Runtime/ONNX-Runtime-1.19.2-foss-2023a.eb
+++ b/easybuild/easyconfigs/o/ONNX-Runtime/ONNX-Runtime-1.23.2-foss-2024a-CUDA-12.6.0.eb
@@ -1,7 +1,8 @@
 easyblock = 'PythonBundle'
 
 name = 'ONNX-Runtime'
-version = '1.19.2'
+version = '1.23.2'
+versionsuffix = '-CUDA-%(cudaver)s'
 
 homepage = 'https://onnxruntime.ai'
 description = """ONNX Runtime inference can enable faster customer experiences and lower costs,
@@ -12,17 +13,16 @@ hardware, drivers, and operating systems, and provides optimal performance by
 leveraging hardware accelerators where applicable alongside graph optimizations
 and transforms."""
 
-toolchain = {'name': 'foss', 'version': '2023a'}
+toolchain = {'name': 'foss', 'version': '2024a'}
 
 dependencies = [
-    ('Python', '3.11.3'),
-    ('ONNX', '1.15.0'),
-    ('flatbuffers-python', '23.5.26'),
-    ('sympy', '1.12'),
+    ('CUDA', '12.6.0', '', SYSTEM),
+    ('Python', '3.12.3'),
+    ('ONNX', '1.20.0'),
+    ('flatbuffers-python', '24.3.25'),
+    ('sympy', '1.13.3'),
 ]
 
-local_whl_tmpl = 'onnxruntime-%%(version)s-cp311-cp311-manylinux_2_27_%s.manylinux_2_28_%s.whl'
-
 exts_list = [
     ('humanfriendly', '10.0', {
         'checksums': ['6b0b831ce8f15f7300721aa49829fc4e83921a9a301cc7f606be6686a2288ddc'],
@@ -31,16 +31,28 @@ exts_list = [
         'checksums': ['7c991aa71a4577af2f82600d8f8f3a89f936baeaf9b50a9c197da014e5bf16b0'],
     }),
     (name, version, {
-        'source_urls': ['http://pypi.python.org/packages/source/o/onnxruntime'],
-        'sources': [local_whl_tmpl % ('%(arch)s', '%(arch)s')],
-        'checksums': [{
-            local_whl_tmpl % ('x86_64', 'x86_64'):
-                'a36511dc07c5c964b916697e42e366fa43c48cdb3d3503578d78cef30417cb84',
-            local_whl_tmpl % ('aarch64', 'aarch64'):
-                'c1dfe4f660a71b31caa81fc298a25f9612815215a47b286236e61d540350d7b6',
-        }],
         'modulename': 'onnxruntime',
+        'source_urls': ['http://pypi.python.org/packages/source/o/onnxruntime-gpu'],
+        'sources': ['onnxruntime_gpu-%(version)s-cp312-cp312-manylinux_2_27_%(arch)s.manylinux_2_28_%(arch)s.whl'],
+        'checksums': ['4f2d1f720685d729b5258ec1b36dee1de381b8898189908c98cbeecdb2f2b5c2'],
     }),
 ]
 
+# Due to its name 'onnxruntime-gpu', this package does not fullfil requirements on 'onnxruntime' although it provides
+# the 'onnxruntime' python module. Fix this dependency issue in pip by creating a stub 'onnxruntime' dist-info folder
+_py_sitepkgs = '%(installdir)s/lib/python%(pyshortver)s/site-packages'
+postinstallcmds = [
+    "cp -r %s/onnxruntime{_gpu,}-%%(version)s.dist-info" % _py_sitepkgs,
+    "sed -i 's/onnxruntime.gpu/onnxruntime/g' %s/onnxruntime-%%(version)s.dist-info/{METADATA,RECORD}" % _py_sitepkgs,
+]
+
+_py_sitepkgs_dirs = ['onnxruntime', 'onnxruntime-%(version)s.dist-info', 'onnxruntime_gpu-%(version)s.dist-info']
+
+sanity_check_paths = {
+    'files': [],
+    'dirs': ['lib/python%%(pyshortver)s/site-packages/%s' % x for x in _py_sitepkgs_dirs],
+}
+
+options = {'modulename': 'onnxruntime'}
+
 moduleclass = 'devel'

@lexming
Copy link
Copy Markdown
Contributor

lexming commented Feb 13, 2026

@boegelbot please test @ jsc-zen3

@boegelbot
Copy link
Copy Markdown
Collaborator

@lexming: 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=24966 EB_ARGS= EB_CONTAINER= EB_REPO=easybuild-easyconfigs EB_BRANCH=develop /opt/software/slurm/bin/sbatch --job-name test_PR_24966 --ntasks=8 ~/boegelbot/eb_from_pr_upload_jsc-zen3.sh' executed!

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

Test results coming soon (I hope)...

Details

- notification for comment with ID 3897526989 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
Copy Markdown
Collaborator

Test report by @boegelbot
SUCCESS
Build succeeded for 1 out of 1 (total: 2 mins 10 secs) (1 easyconfigs in total)
jsczen3c3.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/f0a5d24fb1814aed669921a926068217 for a full test report.

Copy link
Copy Markdown
Contributor

@lexming lexming left a comment

Choose a reason for hiding this comment

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

LGTM

@lexming
Copy link
Copy Markdown
Contributor

lexming commented Feb 13, 2026

Merging, thanks @JarneRenders !

@lexming lexming merged commit fccb9fb into easybuilders:develop Feb 13, 2026
8 checks passed
@lexming lexming added this to the next release (5.2.1) milestone Feb 13, 2026
@JarneRenders JarneRenders deleted the 20251223163638_new_pr_ONNX-Runtime1232 branch February 16, 2026 13:20
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 update

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants