gpo.zugaina.org

Search Portage & Overlays:

sci-libs/onnxruntime

Cross-platform, high performance ML inferencing and training accelerator

Screenshots

  • onnxruntime-1.29.0-r2
    ~amd64 ~arm64
    cuda python test python_targets_python3_12 python_targets_python3_13 python_targets_python3_14

    View      Download      Browse     License: Apache-2.0 BSD MIT   
    Overlay: stuff
  • onnxruntime-1.29.0
    ~amd64
    python test python_targets_python3_12 python_targets_python3_13 python_targets_python3_14 python_targets_python3_15

    View      Download      Browse     License: MIT   
    Overlay: local-ai
  • onnxruntime-1.29.0
    ~amd64
    python test python_targets_python3_12 python_targets_python3_13 python_targets_python3_14 python_targets_python3_15

    View      Download      Browse     License: MIT   
    Overlay: guru
  • onnxruntime-1.29.0
    ~amd64
    python test python_targets_python3_12 python_targets_python3_13 python_targets_python3_14

    View      Download      Browse     License: MIT   
    Overlay: bentoo
  • onnxruntime-1.28.0-r2
    ~amd64 ~arm64
    cuda python test python_targets_python3_12 python_targets_python3_13 python_targets_python3_14

    View      Download      Browse     License: Apache-2.0 BSD MIT   
    Overlay: stuff
  • onnxruntime-1.28.0
    ~amd64
    python test python_targets_python3_12 python_targets_python3_13 python_targets_python3_14

    View      Download      Browse     License: MIT   
    Overlay: local-ai
  • onnxruntime-1.28.0
    ~amd64
    python test python_targets_python3_12 python_targets_python3_13 python_targets_python3_14

    View      Download      Browse     License: MIT   
    Overlay: guru

ChangeLog

commit fa0c85628af961e27659099d5afd9c4013a758ff
Author: Ivan S. Titov <iohann.s.titov@gmail.com>
Date: Mon Aug 17 01:30:09 2026 +0200

sci-libs/onnxruntime: pin C/C++ compiler to gcc:15 for 1.28.0-r2 cuda

The cuda block pinned only CUDAHOSTCXX, so on a host whose default gcc is
newer than the CUDA toolkit supports (gcc 16 vs CUDA 13's gcc 15
ceiling), ordinary C++ translation units compiled with the system gcc
and the CUDA host translation units compiled with gcc 15 link two
different libstdc++ ABIs into one shared library. Resolve cuda_gccdir
once and pin CC, CXX, and CUDAHOSTCXX to that slot together, matching
1.29.0-r2, so all objects share one ABI.

commit ab5b9a60ae04326175c870384c06da63f2558655
Author: Ivan S. Titov <iohann.s.titov@gmail.com>
Date: Sun Aug 16 11:16:44 2026 +0200

sci-libs/onnxruntime: derive the CUDA host compiler from cuda_gccdir

Both -r2 ebuilds hardcoded /usr/bin/gcc-15 and /usr/bin/g++-15 to keep nvcc off gcc
16 (which CUDA 13 rejects), baking in the exact moving target the cuda.eclass helper
tracks. Replace the hardcodes with cuda_gccdir, which selects the newest gcc slot the
active toolkit supports: 1.29.0-r2 sets CC/CXX/CUDAHOSTCXX from its bindir so
ordinary C++, CUDA host compilation, and linking share one libstdc++ ABI, and
1.28.0-r2 sets CUDAHOSTCXX from it, matching the ollama pattern. The cuda? sys-
devel/gcc:15 BDEPEND stays as the single slot knob and the guarantee that a
compatible gcc is installed; a future CUDA bump now moves one line instead of four.

commit a51e5ba9237312c089026e887eff489ab8a293a1
Author: Ivan S. Titov <iohann.s.titov@gmail.com>
Date: Sun Aug 16 11:01:47 2026 +0200

sci-libs/onnxruntime: restore sympy runtime dep for 1.29.0-r2

1.29.0-r2's python? block dropped dev-python/sympy, which the shipped
symbolic_shape_infer tool imports (onnxruntime/python/tools/
symbolic_shape_infer.py). Upstream exposes sympy as the optional
[symbolic] extra, but with no USE flag to gate the tool it ImportErrors
without the dep, so pull it unconditionally as 1.28.0-r2 already does.

Also drop the inert throttle wrapper around cmake_src_install (the
install phase copies files and spawns no nvcc) and remove a stray
leading tab on 1.28.0-r2's SRC_URI assignment.

commit eb639b57264abd960b8402b2452b82b8e170661c
Author: Ivan S. Titov <iohann.s.titov@gmail.com>
Date: Sat Aug 15 02:50:33 2026 +0200

sci-libs/onnxruntime: fix CUDA build and dependencies

CUDA 13 requires GCC 15, so use it consistently for C, C++, and nvcc host compilation
instead of mixing libstdc++ ABIs. Add the missing test-only framework and provider-
option link edges exposed by shared CUDA builds. Align the Python dependency
declarations and ONNX floor with the metadata bundled in the 1.29.0 source.

commit f725e0b23a02819fe09ddf28193137a962d18060
Author: Ivan S. Titov <iohann.s.titov@gmail.com>
Date: Fri Aug 14 20:46:13 2026 +0200

sci-libs/onnxruntime: drop unused coloredlogs dep

The 1.29.0 Python requirements no longer declare coloredlogs and the shipped Python
modules do not import it.

commit 180cd3606965d17b3ca7f39cbb2ecbca58af4e4f
Author: Ivan S. Titov <iohann.s.titov@gmail.com>
Date: Fri Aug 14 10:03:41 2026 +0200

sci-libs/onnxruntime: enforce Python protobuf floor

Upstream 1.29.0 installs requirements.txt verbatim, which requires protobuf 4.25.8 or
newer. Express that floor so older Python protobuf versions cannot satisfy the
runtime dependency.

commit d09a92cc75cd000955a9cfcd3cf0857bc3a2f838
Author: Ivan S. Titov <iohann.s.titov@gmail.com>
Date: Fri Aug 14 05:11:06 2026 +0200

sci-libs/onnxruntime: limit CUDA build concurrency

Flash-attention translation units can each require several GiB of memory, making
unrestricted parallel CUDA compilation prone to compiler OOM termination. Apply the
same bounded concurrency to compile and install while preserving lower user limits
and leaving non-CUDA builds unchanged.

commit 478ac46e77dfffe3cc2b9f6425a00319d5122ae3
Author: Ivan S. Titov <iohann.s.titov@gmail.com>
Date: Thu Aug 13 20:24:01 2026 +0200

sci-libs/onnxruntime: add CUDA execution provider

CUDA builds require the toolkit, cuDNN, upstream-pinned CUTLASS and cuDNN Frontend
sources, and an Abseil header compatibility correction for nvcc. Install the provider
library with the Python bindings and retain the matching system Abseil ABI.

commit 1a8423f40555da94e216276d092ff3bafc456f0a
Author: Ivan S. Titov <iohann.s.titov@gmail.com>
Date: Wed Aug 12 09:28:05 2026 +0200

sci-libs/onnxruntime: drop 1.27.1-r1

Retention: keep the last two (1.28.0-r1, 1.29.0). The only in-tree
consumer, sci-ml/sherpa-onnx, depends on sci-libs/onnxruntime:= with no
version floor, so nothing anchors 1.27.1.

commit 138e6566de041d79b232e33dfeabd7918a170a3a
Author: Ivan S. Titov <iohann.s.titov@gmail.com>
Date: Wed Aug 12 10:36:00 2026 +0200

sci-libs/onnxruntime: add 1.29.0

Copy of 1.28.0-r1. eigen pin (1d8b82b) and the bundled onnx pin (v1.22.0)
are unchanged from 1.28.0, so the onnx floor stays at >=sci-ml/onnx-1.20.1
(::gentoo still tops out at 1.20.1). use-system-libraries is reused from
1.28.0 unchanged -- the 1.29.0 onnxruntime_external_deps.cmake drift falls
outside the hunks it touches -- matching how 1.27.1 reuses the 1.27.0 patch.

1.29.0 adds a non-Windows telemetry path (1DS SDK plus a bundled static
curl + mbedTLS) as three new deps.txt FetchContent entries, all gated
behind onnxruntime_USE_TELEMETRY (default OFF, not enabled here), so they
never fetch under the network sandbox.

commit 7685bad266f589fc2c500245b687e0c4154463eb
Author: Ivan S. Titov <iohann.s.titov@gmail.com>
Date: Mon Jul 27 10:38:17 2026 +0200

sci-libs/onnxruntime: floor onnx and record the version gap, revbump

The onnx dependency was unversioned while upstream pins an exact
release: cmake/deps.txt names onnx v1.21.0 for onnxruntime 1.27.1 and
v1.22.0 for 1.28.0. Our use-system-libraries patch rewrites that
FetchContent entry to FIND_PACKAGE_ARGS ... REQUIRED, so the system
copy is what actually gets linked, with no version check of its own.

The correct floor cannot be written today. sci-ml/onnx lives only in
::gentoo and tops out at 1.20.1, so >=sci-ml/onnx-1.22.0 would make the
package uninstallable rather than correct.

Floored at 1.20.1 instead, which is strictly better than bare: it keeps
out 1.18.0-r1, the other version in the tree and further still from
what upstream builds against. Whether 1.20.1 is genuinely sufficient is
not something this change establishes, and the inline note says so
along with the version each ebuild really wants, so a later audit can
raise it rather than re-derive the situation.

commit d8d65410da1776e7c674353ce9eb7f2305bb9bc8
Author: Ivan S. Titov <iohann.s.titov@gmail.com>
Date: Sat Jul 25 10:37:24 2026 +0200

sci-libs/onnxruntime: drop 1.27.0

commit 78d5f235d1e75aaf518240c0cf58c01e3eedbc76
Author: Ivan S. Titov <iohann.s.titov@gmail.com>
Date: Sat Jul 25 10:37:11 2026 +0200

sci-libs/onnxruntime: add 1.28.0

Regenerate the use-system-libraries patch for 1.28.0: upstream split the cpuinfo
FetchContent block into three branches (Windows-ARM / Linux / else) in the 1.28
cmake, adding a Linux elseif that the 1.27 patch did not cover. Rename to
onnxruntime-1.28.0-use-system-libraries.patch and make all three cpuinfo
FIND_PACKAGE_ARGS REQUIRED so the Linux build cannot silently vendor cpuinfo. Eigen
pin unchanged (deps.txt still 1d8b82b0).

commit 46b8b8af7cfa59db009ce9f3ef072eadd81326a7
Author: Ivan S. Titov <iohann.s.titov@gmail.com>
Date: Sat Jul 11 09:20:24 2026 +0200

sci-libs/onnxruntime: drop 1.26.0

commit 6df016beddb458007d0674cc710fd7838efb17fb
Author: Ivan S. Titov <iohann.s.titov@gmail.com>
Date: Sat Jul 11 09:20:23 2026 +0200

sci-libs/onnxruntime: add 1.27.1

commit 5856daa5d1f9c35c27d7f4da1b54b7db9fe7af7b
Author: Ivan S. Titov <iohann.s.titov@gmail.com>
Date: Sat Jun 20 10:01:12 2026 +0200

sci-libs/onnxruntime: add 1.27.0

Rebase the use-system-libraries patch for 1.27.0: upstream collapsed the
Microsoft.GSL FetchContent declaration from a USE_CUDA/else split into a
single block (and moved its sub-patch 1064->1213), so the two old GSL
hunks become one. The other system-lib REQUIRED hunks apply unchanged;
the eigen pin is unchanged (cmake/deps.txt still references the same
commit). Build-verified with USE=python: configure resolves all system
libraries (no FetchContent download under network-sandbox) and
libonnxruntime.so.1.27.0 links.

commit 9e48c0af7bcdcfd491539d61d6341a9c4e8def9a
Author: Ivan S. Titov <iohann.s.titov@gmail.com>
Date: Wed Jun 17 18:01:58 2026 +0200

sci-libs/onnxruntime: Keyword 1.26.0 for ~arm64

ONNX Runtime supports aarch64 as a first-class target. Builds the
default C++ configuration (python USE is off by default and pulls
::gentoo deps that still lack arm64, e.g. coloredlogs, so it stays
opt-in). aarch64-portable.

commit 6cefd2e68968302cbaf5f7f888d77248130b2159
Author: Ivan S. Titov <iohann.s.titov@gmail.com>
Date: Sat May 16 15:15:40 2026 +0200

sci-libs/onnxruntime: new package, add 1.26.0

Microsoft's cross-platform ML inference runtime. Source build with
system libs (abseil, protobuf, re2, onnx, boost, etc.), USE=python
for Python bindings.

Forked from ::guru @ same version; ebuild + 3 patches copied as-is
(relax-flatbuffers-dep, no-werror, use-system-libraries). Build
verified end-to-end with PYTHON_SINGLE_TARGET=python3_13
+ USE=python; Python `import onnxruntime` resolves to 1.26.0.

Pulled in to support sci-ml/sherpa-onnx (source build).