Package: onnxruntime / 1.21.0+dfsg-1

Metadata

Package Version Patches format
onnxruntime 1.21.0+dfsg-1 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
system flatbuffers.patch | (download)

cmake/external/onnxruntime_external_deps.cmake | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 use system flatbuffers lib (libflatbuffers-dev)
system protobuf.patch | (download)

cmake/external/onnxruntime_external_deps.cmake | 45 1 + 44 - 0 !
1 file changed, 1 insertion(+), 44 deletions(-)

 use system protobuf lib (libprotobuf-dev)
system onnx.patch | (download)

cmake/external/onnxruntime_external_deps.cmake | 13 3 + 10 - 0 !
1 file changed, 3 insertions(+), 10 deletions(-)

 use system onnx lib (libonnx-dev)
disable power10.patch | (download)

cmake/onnxruntime_mlas.cmake | 3 2 + 1 - 0 !
1 file changed, 2 insertions(+), 1 deletion(-)

 disable power10, targets power8 instead
remove wil.patch | (download)

cmake/external/onnxruntime_external_deps.cmake | 4 2 + 2 - 0 !
cmake/onnxruntime_common.cmake | 2 1 + 1 - 0 !
cmake/onnxruntime_graph.cmake | 2 1 + 1 - 0 !
3 files changed, 4 insertions(+), 4 deletions(-)

 remove dependency on wil (windows implementation libraries)
 https://github.com/microsoft/wil/
system safeint.patch | (download)

cmake/external/onnxruntime_external_deps.cmake | 3 1 + 2 - 0 !
onnxruntime/core/common/safeint.h | 1 1 + 0 - 0 !
2 files changed, 2 insertions(+), 2 deletions(-)

 use system safeint lib (libsafeint-dev)
system date and mp11.patch | (download)

cmake/external/onnxruntime_external_deps.cmake | 6 4 + 2 - 0 !
1 file changed, 4 insertions(+), 2 deletions(-)

 use system date and mp11 libs (libhowardhinnant-date-dev and libboost-dev)
system cpuinfo.patch | (download)

cmake/external/onnxruntime_external_deps.cmake | 26 1 + 25 - 0 !
1 file changed, 1 insertion(+), 25 deletions(-)

 use system cpuinfo lib (libcpuinfo-dev)
system python.patch | (download)

cmake/CMakeLists.txt | 6 3 + 3 - 0 !
1 file changed, 3 insertions(+), 3 deletions(-)

 use system python
system re2.patch | (download)

cmake/external/onnxruntime_external_deps.cmake | 21 20 + 1 - 0 !
1 file changed, 20 insertions(+), 1 deletion(-)

 use system re2 lib (libre2-dev)
system datadir.patch | (download)

cmake/CMakeLists.txt | 3 3 + 0 - 0 !
cmake/onnxruntime_unittests.cmake | 6 3 + 3 - 0 !
2 files changed, 6 insertions(+), 3 deletions(-)

 use system onnx data dir (python3-onnx and libonnx-testdata)
system benchmark.patch | (download)

cmake/external/onnxruntime_external_deps.cmake | 9 1 + 8 - 0 !
1 file changed, 1 insertion(+), 8 deletions(-)

 use system benchmark lib (libbenchmark-dev), not enabled
system absl.patch | (download)

cmake/external/onnxruntime_external_deps.cmake | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 use system absl lib (libabsl-dev), not yet enabled
Disable failing tests on ARM32.patch | (download)

onnxruntime/test/contrib_ops/math/matmul_sparse_test.cc | 4 3 + 1 - 0 !
onnxruntime/test/contrib_ops/quant_gemm_test.cc | 2 2 + 0 - 0 !
onnxruntime/test/optimizer/qdq_transformer_test.cc | 16 16 + 0 - 0 !
onnxruntime/test/providers/cpu/nn/qlinearconv_op_test.cc | 14 14 + 0 - 0 !
4 files changed, 35 insertions(+), 1 deletion(-)

 arm32 has a limited support (see docs/roadmap.md)
 Several tests fail on this architecture, so skipping them for now.
gcc false positive.patch | (download)

onnxruntime/core/optimizer/selectors_actions/selector_action_transformer.cc | 2 2 + 0 - 0 !
onnxruntime/core/providers/cpu/tensor/scatter.cc | 2 2 + 0 - 0 !
onnxruntime/test/framework/sparse_kernels_test.cc | 2 2 + 0 - 0 !
3 files changed, 6 insertions(+)

 ignore gcc false positives
disable propagate nan in eigen3.patch | (download)

onnxruntime/core/providers/cpu/math/element_wise_ops.cc | 28 14 + 14 - 0 !
1 file changed, 14 insertions(+), 14 deletions(-)

 fix compilation with eigen 3.4.0
 onnxruntime >= 1.19.0 invokes eigen3 with PropagateNaN, which is not supported in eigen 3.4.0.
 This patch removes PropagateNaN from code.
 See: https://github.com/microsoft/onnxruntime/commit/7543dd040b2d32109a2718d7276d3aca1edadaae
 See: https://gitlab.com/libeigen/eigen/-/commit/5d918b82a80118ebb19572770a0c8e1f5fe06b91
fix compilation g++ 14.patch | (download)

onnxruntime/contrib_ops/cpu/utils/console_dumper.h | 1 1 + 0 - 0 !
onnxruntime/core/framework/resource_accountant.cc | 6 3 + 3 - 0 !
onnxruntime/core/session/inference_session.cc | 5 4 + 1 - 0 !
onnxruntime/test/providers/base_tester.h | 8 8 + 0 - 0 !
4 files changed, 16 insertions(+), 4 deletions(-)

 fix compilation with latest gcc
 See also https://github.com/microsoft/onnxruntime/issues/23954
set soversion.patch | (download)

cmake/onnxruntime.cmake | 6 4 + 2 - 0 !
1 file changed, 4 insertions(+), 2 deletions(-)

 set soversion for shared library. upstream has simplified the
 SONAME without saying anything about the API/ABI stability, see:
 https://github.com/microsoft/onnxruntime/pull/21339
 Until it's clarified let's reuse the previous behavior to avoid unexpected
 breakage. This will require transition for every release, but it's safer.
Skip_python_unit_tests.patch | (download)

cmake/onnxruntime_python.cmake | 50 25 + 25 - 0 !
1 file changed, 25 insertions(+), 25 deletions(-)

 these tests use excluded datasets due to unclear licenses.
use system dnnl.patch | (download)

cmake/external/dnnl.cmake | 35 1 + 34 - 0 !
cmake/onnxruntime_providers_dnnl.cmake | 4 2 + 2 - 0 !
2 files changed, 3 insertions(+), 36 deletions(-)

 use libdnnl from system
use system xnnpack.patch | (download)

cmake/external/xnnpack.cmake | 11 4 + 7 - 0 !
1 file changed, 4 insertions(+), 7 deletions(-)

 use xnnpack from system
 do not try to download anything and do not link against -lkleidiai, which does not exist in archive at all
 See https://buildd.debian.org/status/fetch.php?pkg=onnxruntime&arch=arm64&ver=1.20.1%2Bdfsg-1%7Eexp1&stamp=1738119490&raw=0
Forward: not-need
use system dlpack.patch | (download)

cmake/external/onnxruntime_external_deps.cmake | 3 2 + 1 - 0 !
1 file changed, 2 insertions(+), 1 deletion(-)

 use dlpack from system
set noexecstack linker flag.patch | (download)

cmake/onnxruntime_python.cmake | 4 2 + 2 - 0 !
1 file changed, 2 insertions(+), 2 deletions(-)

 add linker flag to disable executable stack (#1098205)