ONNX Runtime 1.28.2 — Android licensing and third-party notices

VulcanSalute 0 Reputation points
2026-12-05T01:19:45.8033333+00:00

ONNX Runtime 1.28.2 — Android licensing and third-party notices

I am developing a private, non-distributed household application using Sherpa-ONNX v2.0.3 on Android ARMv7.

The native dependency is ONNX Runtime 1.28.2, supplied through the csukuangfj/onnxruntime-libs Android distribution.

The Sherpa-ONNX maintainer has referred me to the original ONNX Runtime source for licensing guidance.

Unfortunately, the version-specific Microsoft LICENSE and ThirdPartyNotices.txt files are currently unavailable through their original GitHub URLs.

Could you please provide an authoritative alternative location for these documents, or clarify which notices apply to this Android native library?

My objective is to retain all applicable copyright and licensing notices for strictly private, non-commercial use.

Thank you for your assistance.

Developer technologies | C++
Developer technologies | C++

A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.

0 comments No comments

1 answer

Sort by: Oldest
  1. AI answer

    2026-12-05T01:20:57.73+00:00

    Retain the license and third-party-notice files shipped with the exact csukuangfj/onnxruntime-libs Android archive; do not substitute ONNX Runtime’s current master files as version-specific notices for that binary.

    Verify the ARMv7 artifact

    The Microsoft repository is the authoritative upstream ONNX Runtime project and contains the project-level LICENSE and ThirdPartyNotices.txt files ^1^. However, csukuangfj/onnxruntime-libs is a separate precompiled-binary distribution ^2^.

    For Android ARMv7, download the release’s armeabi-v7a archive:

    https://github.com/csukuangfj/onnxruntime-libs/releases/download/v1.28.2/onnxruntime-android-armeabi-v7a-static_lib-1.28.2.zip

    Its published SHA-256 is:

    21f8aaab5d536f397a11deeedc09c2ceecc740b45332d8a946c358e7717b5f18
    

    Then inspect it without relying on the filename alone:

    sha256sum onnxruntime-android-armeabi-v7a-static_lib-1.28.2.zip
    
    unzip -l onnxruntime-android-armeabi-v7a-static_lib-1.28.2.zip |
      grep -Ei 'LICENSE|NOTICE|ThirdParty|VERSION|COMMIT|README'
    
    mkdir ort-1.28.2
    unzip onnxruntime-android-armeabi-v7a-static_lib-1.28.2.zip -d ort-1.28.2
    find ort-1.28.2 -type f \
      \( -iname '*license*' -o -iname '*notice*' -o \
         -iname '*commit*' -o -iname '*version*' \) -print
    

    Preserve any discovered LICENSE, ThirdPartyNotices.txt, provider-specific notices, VERSION_NUMBER, and GIT_COMMIT_ID files together with the application’s dependency records.

    If Sherpa-ONNX embeds a different archive or shared library, inspect that actual dependency instead. The distributor has a separate Android build workflow, so the static ARMv7 archive and the general Android package should not be assumed to contain identical components or notices ^3^.

    Version and provenance limitation

    The distributor has a v1.28.2 release, but the available records do not establish a corresponding public microsoft/onnxruntime tag named v1.28.2. Attempts to resolve that tag in the Microsoft repository returned “not found.” Therefore:

    • The distributor’s 1.28.2 label alone does not prove which Microsoft source commit was compiled.
    • Current upstream LICENSE and ThirdPartyNotices.txt files are useful only as project-level references, not as verified snapshots for this binary.
    • A precise notice determination requires either:
      1. notices bundled in the downloaded archive; or
      2. the exact upstream commit recorded by the distributor, from which those files can be recovered.

    If the archive contains no notices or commit identifier, request these from csukuangfj/onnxruntime-libs through its public issue tracker:

    1. Exact microsoft/onnxruntime source commit used for the ARMv7 artifact.
    2. Build options and enabled execution providers.
    3. The corresponding LICENSE and ThirdPartyNotices.txt.
    4. Any patches or separately linked third-party libraries added by the distributor.

    Microsoft cannot authoritatively certify the contents of a third-party binary solely from its release name.

    What to retain

    For a private, non-distributed application, keep an internal compliance folder containing:

    • The unmodified archive and its SHA-256.
    • ONNX Runtime’s bundled LICENSE.
    • Its bundled ThirdPartyNotices.txt.
    • Sherpa-ONNX’s license and notices.
    • Licenses for models, tokenizers, and other native libraries.
    • The distributor release URL, artifact name, source commit, and build configuration.

    Private/non-commercial use does not make uncertain provenance disappear; retaining the exact materials shipped with the binary is the safest record. If the application is later distributed, have the complete dependency set reviewed against each license’s redistribution conditions.


    References

    1. GitHub - microsoft/onnxruntime: ONNX Runtime: cross-platform, high performance ML inferencing and training accelerator · GitHub
    2. GitHub - csukuangfj/onnxruntime-libs: onnxruntime pre-compiled libs · GitHub
    3. onnxruntime-libs/.github/workflows/android-shared.yaml at master · csukuangfj/onnxruntime-libs · GitHub
    AI-generated content may be incorrect. Read our transparency notes for more information.

    Was this answer helpful?

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.