Skip to content

AMEVA-Runtime v2.7.8: Release Integrity (STT bundle, ELF RUNPATH, checksums)

Choose a tag to compare

@uno-km uno-km released this 03 Oct 17:18

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-cli at the archive root),
    while the installer requires bin/whisper-cli.
  • The v2.7.8 bundle holds the same 8 files byte for byte and the same 10 symlinks, under bin/ and lib/ (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 .sha256 sidecar per asset (<hash> <name>), without a byte order mark.
  • get_release_base_url documents 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)

  1. Vulkan HAL shim (libegl_shim.so) is device dependent. Two builds are in circulation: 662be554... (packaged in
    the wheel) and 8a6a2775... (release asset libegl_shim-android-arm64.so and the copy inside the sd-cli bundle).
    With 8a6a2775... preloaded, whisper and llama.cpp abort on Adreno 830 (GGML_ASSERT on the subgroup size in
    ggml-vulkan); with 662be554... or no shim, whisper crashes on Mali-G68 (r32p1). get_vulkan_env preloads whichever
    file is at $PREFIX/lib/libegl_shim.so, and installing the diffusion bundle copies 8a6a2775... there. On Adreno
    devices, set AMEVA_VULKAN_SHIM to 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.
  2. Canonical copies in $PREFIX/bin share $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-cli run directly resolves $ORIGIN/../lib to $PREFIX/lib and 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.