Repository navigation
AMEVA-Runtime v2.7.8: Release Integrity (STT bundle, ELF RUNPATH, checksums)
Release Notes - AMEVA-Runtime v2.7.8
Release Tag: v2.7.8
Distribution Channels: PyPI (ameva-runtime), NPM (@ameva/runtime), GitHub Releases (uno-km/ameva-runtime-releases)
Target Platform: Android ARM64 / Qualcomm Adreno, ARM Mali, Linux & Edge
License: Apache-2.0
Correction, 2026-10-04. The verification table of these notes listed "llama.cpp generation through the
runtime environment (Qwen2.5-0.5B Q4_K_M, Vulkan): PASS" for Galaxy S25 and Galaxy A53. That check recorded that
tokens were generated; it did not compare the text. With flash attention on, which llama.cpp turns on by itself
for a GPU backend, the text of the bundled Vulkan backend is corrupt on both devices. The row is corrected below.
The measurements are in the v2.7.9 release notes
("Known issues", 1). The assets of this release are unchanged.
Summary
A release-integrity update. No engine code changed: the native binaries are those of v2.7.3, three of them with a
corrected ELF RUNPATH string, and the STT bundle in the directory layout the installer requires. The installer's
pinned SHA-256 values match the assets of this release.
This release is published as a non-latest GitHub release. Versions 2.7.4-2.7.7 fall back to the latest release
when their own tag is missing, and their pins match the v2.7.3 bundles; marking v2.7.8 as latest would make those
versions fail their checksum verification for the repackaged bundles.
Changes
1. STT bundle (whisper-cli-vulkan-android-arm64.tar.gz)
- 2.7.2-2.7.7 pinned
90a2f4fd..., a bundle that is no longer published, so STT provisioning failed its SHA-256
check. The published bundle (aeb32c36..., whisper 1.9.4 / ggml 0.25.1) is flat (whisper-cliat the archive root),
while the installer requiresbin/whisper-cli. - The v2.7.8 bundle holds the same 8 files byte for byte and the same 10 symlinks, under
bin/andlib/(the
executables' RUNPATH is$ORIGIN:$ORIGIN/../lib). Pin:09fa314e5203a119....
2. ELF RUNPATH
Rewritten in place with patchelf 0.18.0; every other byte is identical to v2.7.3.
| Binary | Before | After |
|---|---|---|
termux-bitnet-cli |
$PREFIX/lib:/data/data/com.termux/files/home/termux-bitnet/build |
$ORIGIN:$PREFIX/lib |
sherpa-ncnn-offline-tts |
$PREFIX/lib:$ORIGIN::/../lib:/../../../sherpa_ncnn/lib:/../lib/pythonin/site-packages/sherpa_ncnn |
$ORIGIN:$ORIGIN/../lib:$PREFIX/lib |
libggml-vulkan.so (standalone asset and termux-vision-vulkan bundle) |
$PREFIX/lib:/data/data/com.termux/files/home/BitNet_ms/3rdparty/llama.cpp/build/bin: |
$ORIGIN:$PREFIX/lib |
($PREFIX stands for /data/data/com.termux/files/usr.) termux-bitnet-cli now loads the libtermux_bitnet.so of
its own bundle instead of a copy found in $PREFIX/lib or in a home build directory.
New pins: TTS 4c1501549bb531a5..., BitNet 5b7f07e16fc45918.... Unchanged: LLM 6775373f224ad642..., Diffusion
2d268255e84a37ec....
3. Checksums and documentation
- One
.sha256sidecar per asset (<hash> <name>), without a byte order mark. get_release_base_urldocuments the actual resolution (version tag; on 404 the latest release; every bundle is
verified against its pin before extraction).
Verification
Isolated installation (HOME, PREFIX, XDG_CACHE_HOME in a scratch directory) of the 2.7.8 wheel, provisioning all
five bundles, on Galaxy S25 (Adreno 830) and Galaxy A53 (Mali-G68), 2026-10-04:
| Check | S25 | A53 |
|---|---|---|
| SHA-256 of all five bundles matches the pins | PASS | PASS |
| Installer smoke test of each bundle | PASS | PASS |
Each installed binary starts without LD_LIBRARY_PATH (--help) |
PASS | PASS |
| Whisper transcription (ggml-tiny, 60 s sample, Vulkan) | PASS (7.3 s, release-directory binary; 7.7 s through the runtime environment with the packaged shim) | PASS (7.9 s, STT library directory and shim 8a6a2775...) |
| llama.cpp generation through the runtime environment (Qwen2.5-0.5B Q4_K_M, Vulkan) | tokens generated (packaged shim); the text was not compared and is corrupt (corrected 2026-10-04) | tokens generated (shim 8a6a2775...); the text was not compared and is corrupt (corrected 2026-10-04) |
Unit tests: 160 passed, 11 skipped.
Known issues (not introduced by this release)
- Vulkan HAL shim (
libegl_shim.so) is device dependent. Two builds are in circulation:662be554...(packaged in
the wheel) and8a6a2775...(release assetlibegl_shim-android-arm64.soand the copy inside the sd-cli bundle).
With8a6a2775...preloaded, whisper and llama.cpp abort on Adreno 830 (GGML_ASSERTon the subgroup size in
ggml-vulkan); with662be554...or no shim, whisper crashes on Mali-G68 (r32p1).get_vulkan_envpreloads whichever
file is at$PREFIX/lib/libegl_shim.so, and installing the diffusion bundle copies8a6a2775...there. On Adreno
devices, setAMEVA_VULKAN_SHIMto the packaged shim (ameva_runtime/vulkan/lib/libegl_shim.so) after installing
the diffusion bundle (verified on Galaxy S25 for llama.cpp and whisper). A vendor-aware selection is planned. - Canonical copies in
$PREFIX/binshare$PREFIX/lib. The installer copies every bundle's libraries into
$PREFIX/lib, where the ggml libraries of the LLM bundle (0.9.8) and of the STT bundle (0.25.1) have the same
SONAME.$PREFIX/bin/whisper-clirun directly resolves$ORIGIN/../libto$PREFIX/liband can load the wrong
ggml; run it through the runtime (which sets the STT bundle's own library directory) or from
~/.local/share/ameva/current/stt/bin.