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.
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:
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.2label alone does not prove which Microsoft source commit was compiled. - Current upstream
LICENSEandThirdPartyNotices.txtfiles are useful only as project-level references, not as verified snapshots for this binary. - A precise notice determination requires either:
- notices bundled in the downloaded archive; or
- 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:
- Exact
microsoft/onnxruntimesource commit used for the ARMv7 artifact. - Build options and enabled execution providers.
- The corresponding
LICENSEandThirdPartyNotices.txt. - 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
- GitHub - microsoft/onnxruntime: ONNX Runtime: cross-platform, high performance ML inferencing and training accelerator · GitHub
- GitHub - csukuangfj/onnxruntime-libs: onnxruntime pre-compiled libs · GitHub
- onnxruntime-libs/.github/workflows/android-shared.yaml at master · csukuangfj/onnxruntime-libs · GitHub