Skip to content

Releases

amv-runtime v2.9.0: renamed from ameva-runtime, licence change, OpenCL on Mali, resident runtime, GET_ROWS of repacked weights on the GPU

Choose a tag to compare

@uno-km uno-km released this 19 Nov 07:16

Release Notes - amv-runtime v2.9.0 (2026-11-19)

Release Tag: v2.9.0
Distribution Channels: PyPI (amv-runtime), NPM (amv-runtime), GitHub Releases (uno-km/amv-runtime-releases)
Status (2026-11-23): PyPI amv-runtime 2.9.0 is published. The npm package amv-runtime is not yet published (npm answered 403 "account temporarily suspended"); the npm tarball is attached to this release (amv-runtime-2.9.0.tgz).
Target Platform: Android ARM64 / Qualcomm Adreno, ARM Mali
License: PolyForm Noncommercial 1.0.0; commercial use under a separate licence (from this version; see below)


Summary

  • Rename. The package is published as amv-runtime (PyPI and npm) and the repositories are uno-km/amv-runtime
    and uno-km/amv-runtime-releases; up to 2.8.1 the names were ameva-runtime, @ameva/runtime and
    uno-km/ameva-runtime(-releases). The import package ameva_runtime and the commands are unchanged. The two PyPI
    distributions ship the same import package, so ameva-runtime must be uninstalled before amv-runtime is installed
    (pip uninstall -y ameva-runtime). Old GitHub URLs redirect. The old PyPI project and the npm package @ameva/runtime get no
    further releases.
  • Licence change. Free for noncommercial use, a commercial licence for any commercial use (LICENSE,
    LICENSE-COMMERCIAL.md). Versions up to 2.8.1 keep the Apache-2.0 licence they were released under.
  • New GPU backend in the llama bundle (ameva-compute 40ce791, about 60 commits after 2.8.1's 7e99154): the
    backend chooses its GPU API per device (OpenCL on Mali-G68, Vulkan elsewhere), prompt kernels for K-quants in
    16-row tiles, block-integer prompt kernels on Mali OpenCL, q5_0 and q8_0 prompt kernels written by hand in OpenCL C (Galaxy A35,
    Qwen2.5-0.5B prompt 116 -> 182 t/s), the 2.8.1 attention kernel restored, runtime ABI 2.3.0.
  • Resident runtime (ameva-run serve / call / resident) and a memory guard for ameva-run exec.
  • The default route per device is unchanged (GPU: S25, S20, A35; CPU: S21, A53).

Changes

1. Licence

From 2.9.0 the package and its sources are offered under the PolyForm Noncommercial License 1.0.0 (LICENSE), with
a separate commercial licence for any commercial use (LICENSE-COMMERCIAL.md, contact amv.foundation.kr@gmail.com).
Noncommercial use (personal study, research, experiment, hobby projects; charitable, educational, public research and
government organisations) is free. Versions up to 2.8.1 keep the Apache-2.0 licence they were released under.
Third-party components keep their own licences (THIRD_PARTY_NOTICES.md).

2. llama bundle

llama-cli-vulkan-android-arm64.tar.gz: the 2.7.9 archive with every member unchanged plus the backend files built
from ameva-compute 40ce791 (branch release/stage2) on the Galaxy S25 (clang 21.1.8, the release convention):
AMEVA_QMM_CHECK=PASS (516/516), both batch KATs, AC_ABI_CHECK=PASS (16 checks), AMEVA0 registered by the bundle's
llama-completion. Pin f5f4394b24d4.... The four other bundles are those of 2.7.9.

What the backend does differently from 2.8.1's 7e99154:

  • API per GPU. The same kernels run on Vulkan or on OpenCL (ac_runtime's OpenCL backend, kernels translated
    from the GLSL sources). Unset or AMEVA_BACKEND=auto: Mali-G68 (Galaxy A35, A53) runs OpenCL, every other GPU
    Vulkan, and the choice is printed. AMEVA_BACKEND=vulkan|opencl forces one.
  • Integer dot product on Mali-G78 (Galaxy S21) Vulkan: enabled after a known-answer test at start-up; the driver
    executes it without offering the extension (outside the Vulkan specification). AC_VK_FORCE_INT_DOT=0 turns it off.
  • Prompt processing: q4_K, q5_K and q6_K weights in 16-row tiles; block-integer prompt kernels on Mali OpenCL;
    one submission per token graph on Turnip.
  • Attention: the 2.8.1 kernel is used again for one-row tiles.
  • Operators: GET_ROWS for q8_0 and q6_K and for tables above one binding; batched MUL_MAT on repacked weights is
    declined instead of failing at compute time.
  • Opt-in: AMEVA_REPACK_CACHE=<dir> with AMEVA_REPACK_MODEL=<gguf> keeps a model's repacked weights in a file
    (a later load copies them instead of converting on the CPU); AMEVA_LOAD_PROFILE=1 prints the load phases.
  • Runtime ABI 2.3.0 (libac_runtime.so.2): callers built for 2.1 or later are accepted.

3. Resident runtime and memory guard

ameva-run serve, call and resident keep a model loaded between requests (Galaxy S20, same request: 2954-3040 ms
per call against 1610-1625 ms resident, identical text). ameva-run exec refuses a run that would take available
memory below the floor and ends the engine, not the Termux app, when memory runs out during the run; AMEVA_GUARD=0
turns the guard off.

4. Fixes

  • python/tests/test_bitnet_adapter.py did not parse (a byte-order mark inside the file); npm/lib/errors.js had one too.
  • npm test printed a pass without testing anything; it now runs npm/test/package.test.js.
  • The CPU route's diagnosis printed "UI freeze protection guaranteed"; removed.

Verification

Two builds of the backend were tested. Items 1-7 were measured on 2026-11-18 with the first candidate build (plugin
01bbdb76f785..., ameva-compute c0dbdca) on the Galaxy S20 (Adreno 650, Turnip), Galaxy A35 (Mali-G68 r38p1) and
Galaxy A53 (Mali-G68 r32p1). The bundle published here holds the final build (plugin b7c7badacd7f..., 40ce791,
built on the Galaxy S25). It differs from the first candidate by the q5_0 and q8_0 OpenCL prompt kernels written by
hand (Mali OpenCL only) and by GET_ROWS of repacked tables on the GPU, and was tested on 2026-11-19 on the Galaxy S25,
S21, S20 and A35 (item 8; the build before the GET_ROWS fix, 937fe49, plugin 6feecbb78574, was tested the same way). The
Galaxy A53 did not answer on 2026-11-19: the final build is not verified on it, and every A53 figure below is
that of c0dbdca. Files: docs/handover/evidence/20261118-stage2-rc290/ and 20261119-stage2-rc290-r2/.
On the A35 and A53 the ssh sessions ran on three little cores (0-2): their GPU figures are comparable with each other,
their CPU figures are not a reference.

1. Regression suite (ameva-compute scripts/fleet/regress_fleet.sh): runtime ABI check, batch KAT, 516 MUL_MAT
cases on the automatic backend, Qwen2.5-0.5B greedy text against the CPU: all pass on all three (S20 Vulkan,
A35 and A53 OpenCL; on the Mali phones 36 of the cases ran the block-integer kernels).

2. Conformance, ggml test-backend-ops (b8471) for AMEVA0, default / AMEVA_REPACK_ALL=1: S20 4426/4426,
4052/4052 (Vulkan); A35 4430/4430, 4054/4054 and A53 4430/4430, 4054/4054 (OpenCL). A mode counts only when AMEVA0 was
listed and ran a nonzero number of tests.

3. Against the CPU (KL divergence), tools/fleet/lab/parity_long.sh, gate kld_mean <= 0.01:

kld_mean (gate 0.01) S20 Adreno 650 (Vulkan) A35 Mali-G68 r38 (OpenCL) A53 Mali-G68 r32 (OpenCL)
context 256, batch, Qwen / Llama 4.04e-3 / 2.34e-3 6.41e-3 / 3.51e-3 6.41e-3 / 3.51e-3
context 256, one token per call, Qwen / Llama 6.42e-3 / 3.15e-3 4.99e-3 / 3.81e-3 4.54e-3 / 3.78e-3
after a context shift, Qwen / Llama (32 positions) 8.73e-3 / 2.60e-3 9.66e-3 / 1.93e-3 6.67e-3 / 1.75e-3
reuse of cells, both models (kld_max) 0 0 0
context 2048, batch / one token per call, Qwen (128 positions) 1.72e-3 / 1.98e-3 1.90e-3 / 1.71e-3 1.90e-3 / 1.76e-3

The CPU's own distance between its two kernel paths is 4.76e-3 (Qwen) and 3.30e-3 (Llama) on 16 positions and
1.83e-3 on the 2048-token run. The Qwen shift figure of the Galaxy A35 (9.66e-3) is close to the gate.

After a context shift the comparison with the f16-cache CPU measures the rounding of the rotated f16 keys on both
sides: against a CPU with an f32 cache, the f16-cache CPU itself is at 1.40e-2 and the GPU at 1.48e-2 (S20), 1.38e-2 (A35), 1.55e-2 (A53) (Qwen, 32
positions). The gate is applied to the other rows; a redefinition of the shift gate is open (see Known issues).

4. Against release 2.8.1 (first candidate build c0dbdca; the A35 was measured again with the final build, item 8)
(median t/s, the same session, five rotated rounds per variant, temperature and clock-cap
gates; the 1500-byte prompt is about 370 tokens, 64 tokens generated):

a35 (cores 0-2)

model phase 2.8.1 Vulkan candidate Vulkan change candidate OpenCL change CPU runs same text as 2.8.1
qwen2.5-0.5b-instruct-q4_k_m prompt 189.41 176.13 -7 % 115.61 -39 % 14.43 5/5/5/5 no
qwen2.5-0.5b-instruct-q4_k_m generation 14.63 14.82 +1 % 17.86 +22 % 5.75 5/5/5/5 no
Llama-3.2-1B-Instruct-Q4_K_M prompt 82.23 89.50 +9 % 91.04 +11 % 17.05 5/5/5/5 no
Llama-3.2-1B-Instruct-Q4_K_M generation 9.07 9.93 +9 % 12.33 +36 % 4.19 5/5/5/5 no

a53 (cores 0-2)

model phase 2.8.1 Vulkan candidate Vulkan change candidate OpenCL change CPU runs same text as 2.8.1
qwen2.5-0.5b-instruct-q4_k_m prompt 66.90 73.90 +10 % 75.46 +13 % 14.56 5/5/5/5 yes
qwen2.5-0.5b-instruct-q4_k_m generation 10.79 11.04 +2 % 14.40 +33 % 4.63 5/5/5/5 yes
Llama-3.2-1B-Instruct-Q4_K_M prompt 27.01 27.95 +3 % 50.62 +87 % 16.65 5/5/5/5 yes
Llama-3.2-1B-Instruct-Q4_K_M generation 6.07 6.87 +13 % 9.68 +59 % 4.73 5/5/5/5 yes

s20 (cores 0-7)

model phase 2.8.1 Vulkan candidate Vulkan change candidate OpenCL change CPU runs same text as 2.8.1
qwen2.5-0.5b-instruct-q4_k_m prompt 240.86 236.43 -2 % - - 86.22 5/5/0/5 no
qwen2.5-0.5b-instruct-...
Read more

AMEVA-Runtime v2.8.1: context shift on the GPU route

Choose a tag to compare

@uno-km uno-km released this 06 Oct 00:38

Release Notes - AMEVA-Runtime v2.8.1

Release Tag: v2.8.1
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


Summary

A patch release for one defect of 2.8.0: on the GPU route, text generation past the end of the context with context
shifting enabled stopped with an abort. ameva-run exec does not enable context shifting, so its own runs were not
affected; a caller that passes --context-shift to the bundle's llama.cpp, or a front end that shifts the context
itself, was.

Everything else is as in 2.8.0, whose notes hold the description of the GPU route and its speed tables:
https://github.com/uno-km/ameva-runtime-releases/releases/tag/v2.8.0.

Changes

1. The defect and the fix

When a context is full, llama.cpp discards the older half of its KV cache and moves the rest down. With RoPE the
stored keys have to be rotated for their new positions, which llama.cpp does in place on the backend that owns the
cache: a ROPE operation on a view of the f16 key cache. ggml-ameva ran ROPE on f32 tensors only. A tensor that lives
in a backend's buffer cannot be handed to another backend, so llama.cpp stopped:

ggml-backend.cpp:809: pre-allocated tensor (cache_k_l0 (view) (view)) in a buffer (AMEVA) that cannot run the operation (ROPE)

Reproduced with the 2.8.0 backend on the Galaxy S21: llama-completion --device AMEVA0 -c 256 -n 700 --context-shift
ends with exit status 134 at the first shift; the CPU run completes. ggml-ameva now runs ROPE on f16 tensors
(ameva-compute f2265d1): the conversions are those of the CPU backend (f16 to f32 exactly, f32 to f16 to nearest
even). The quantized-cache path of the same shift (cast to f32, ROPE, copy back) already worked.

2. llama bundle

llama-cli-vulkan-android-arm64.tar.gz: the 2.7.9 archive with every member unchanged plus the backend files built
from ameva-compute 7e99154 on the Galaxy S25 (clang 21.1.8, 0 compiler warnings, AMEVA_QMM_CHECK=PASS (516/516),
both batch KATs). Pin 1d086faf6227.... The four other bundles are those of 2.7.9.

Besides the fix the backend has one addition since 2.8.0: on devices whose Vulkan driver has no
VK_KHR_shader_integer_dot_product (Galaxy S21, Galaxy A53) token generation can use an integer dot product computed
with 32-bit multiplications. It is measured per weight shape together with the other layouts and used where more than
10 % faster. Those two devices keep the CPU route by default.

Verification

2026-10-05, the backend of this bundle (plugin 4c07da7b...), tools/fleet/lab/verify_kv.sh and
tools/fleet/lab/test_rel.sh; Qwen2.5-0.5B and Llama-3.2-1B, Q4_K_M. The files are in
docs/handover/evidence/20261005-v2.8.1-candidate/.

All five fleet devices were verified. The Galaxy A35 was verified last, on 2026-10-06, once another job that had
held it (a CPU video generation) finished. Its test-backend-ops first looked like a pass but was not: the device's
~/abi-lab/rt098 carries a libggml-base whose ggml_backend_i member count differs from the release bundle's
(b8471), so ameva_abi_check refused the AMEVA backend and 0 AMEVA tests ran under rc=0. Re-run against the
bundle's own ggml it passes in full (section 4). The other four used a matching ggml and were not affected.

1. Context shift and KV cache against the CPU (ameva-compute tests/ameva_llm_parity.cpp --kv-ops 32, context
256: the context is filled, half of it is discarded and the rest moved as --context-shift does, then 32 tokens are
scored against the CPU doing the same; "reuse" decodes 32 tokens, removes them, decodes others in their cells, removes
those and decodes the first ones again, third pass against the first. Gate kld_mean <= 0.01, reuse kld_max <= 1e-4.)

kld_mean S25 Adreno 830 S20 Adreno 650 (Turnip) A35 Mali-G68 r38 A53 Mali-G68 r32 S21 Mali-G78
after a shift, Qwen2.5-0.5B (RoPE NEOX) 5.74e-3 7.30e-3 8.65e-3 6.18e-3 7.49e-3
after a shift, Llama-3.2-1B (RoPE NORMAL) 2.87e-3 2.56e-3 2.85e-3 2.68e-3 2.76e-3
reuse of cells, both models (kld_max) 0 0 0 0 0
one token per call, no shift, Qwen / Llama 4.04e-3 / 2.91e-3 5.10e-3 / 3.83e-3 3.99e-3 / 3.63e-3 3.76e-3 / 2.78e-3 4.21e-3 / 3.46e-3

The CPU's own distance between its two kernel paths on the same 16 positions is 4.76e-3 (Qwen) and 3.30e-3 (Llama).

2. A 2048-token context (one chunk, 256 tokens per call, every eighth position of the second half scored: 128
positions at 1024 to 2040 cells; Qwen2.5-0.5B; the CPU's own distance is 1.83e-3)

kld_mean, batch / one token per call S25 S20 A35 A53 S21
1.89e-3 / 1.63e-3 1.78e-3 / 1.84e-3 1.97e-3 / 1.99e-3 1.57e-3 / 1.61e-3 1.57e-3 / 1.65e-3

3. Text past the end of a context (llama-completion -c 256 -n 700 --context-shift, two prompts, greedy): the
GPU route completes on all five devices. With the 2.8.0 backend it aborts at the first shift
(Galaxy S21). This checks that the run completes, not the text: with a 256-token context and greedy sampling
Qwen2.5-0.5B ends in a repeated phrase on the CPU and on the GPU alike ("units in units in ..." on the CPU,
"the line of the line of ..." on the GPU, Galaxy S25). No output contains characters of another script.

4. Conformance. ggml test-backend-ops (llama.cpp b8471) for AMEVA0, default settings / AMEVA_REPACK_ALL=1:

S25 S20 A35 A53 S21
passed 2025/2025, 1768/1768 2023/2023, 1766/1766 2024/2024, 1767/1767 2024/2024, 1767/1767 2024/2024, 1767/1767

2.8.0 reported 1949 and 1692 (Galaxy S25): the ROPE cases on f16 tensors were declined then and run now (76 of them
on the Galaxy S25; the totals differ by one or two between the devices).

5. Installation and ameva-run exec (scratch trees with their own HOME / PREFIX, this bundle from a file://
release base; Qwen2.5-0.5B, "What are the three primary colors? Answer in one sentence.")

S25 S20 A35 A53 S21
Fresh install: 5 bundles, $PREFIX/lib empty, 7 linked commands, plugin of 7e99154 in the llama release PASS PASS PASS PASS PASS
Upgrade of a tree installed by the published 2.8.0: llama bundle [UPGRADE], four reused PASS PASS PASS PASS PASS
Default route and its text GPU, expected GPU, expected GPU, expected CPU, expected CPU, expected
-b vulkan (ggml-ameva) and -b cpu: text expected expected expected expected expected

6. Speed with this backend, tokens per second, CPU / ggml-ameva (tools/fleet/lab/perf_matrix.sh with QUICK=1:
a prompt of about 370 tokens and 64 generated tokens, two rounds alternating with the CPU, -c 2048 -t 4)

S25 (clock cap 832 MHz, cores 0-7) S20 (clock cap 441 MHz) A53 S21
Qwen2.5-0.5B prompt 126-195 / 1081-1087 27.5-27.7 / 180 50-55 / 67 106-111 / 221-226
Qwen2.5-0.5B generation 79-105 / 65-76 9.3-9.9 / 18.7 22.6 / 14.6-14.7 43-45 / 22.8-24.3
Llama-3.2-1B prompt 129-208 / 472-473 27.5-28.0 / 72 47.6-47.8 / 27.0 110-112 / 96.4
Llama-3.2-1B generation 68 / 45-47 6.9 / 12.2 13.1-13.5 / 7.8 21-22 / 16.1
  • Galaxy S25, correction to the 2.8.0 notes (2026-10-05). The 2.8.0 notes say that token generation is "faster
    than the CPU on the Galaxy S25" (CPU 16-49, 33-49 without other load, against 72-75 with ggml-ameva for
    Qwen2.5-0.5B). In this session, with no other job on the phone and all eight cores allowed to the process
    (Cpus_allowed_list 0-7), the CPU generated 79-105 t/s (Qwen2.5-0.5B) and 68 t/s (Llama-3.2-1B) against 65-76 and
    45-47 with ggml-ameva, and ameva-run exec -b cpu 115.5 t/s against 69-74 on the GPU route. The GPU figures are
    at the level of the 2.8.0 notes. The CPU figures of the 2.8.0 notes were measured in sessions limited to four
    cores (Cpus_allowed_list 0-1,4-5, recorded in that release's evidence files) and partly under other load; this
    release's parity runs on the phone had the same limit, its speed runs did not. So on the
    Galaxy S25 the GPU route is 5 to 9 times the CPU in prompt processing (0.5B) and 2.3 to 3.7 times (1B), and 0.6 to
    1.0 times the CPU in token generation when the CPU has all its cores. The default route of the S25 is unchanged
    (GPU).

  • Galaxy S20: its CPU figures in this session are less than half of those in the 2.8.0 notes (generation 25-27, prompt
    60 there); the phone had been running another job for hours before the measurement. The GPU figures are at the
    level of the 2.8.0 notes for a 441 MHz cap.

  • Galaxy S21, Llama-3.2-1B generation: 16.1 against 9.4-12.9 in the 2.8.0 notes; the layouts with the emulated integer
    dot product are chosen for its q4_K shapes. The CPU remains faster there, and on the Galaxy A53.

  • Galaxy A35: correctness and installation verified (sections 1-5); its CPU/GPU speed table was not re-measured this session (see the 2.8.0 notes). ameva-run exec on the GPU route gave a prompt of about 135 t/s.

Unit tests: 225 passed, 17 skipped on the build host; no write to the host's own AMEVA store.

Known issues

  1. Quantized KV cache (-ctk / -ctv): the 2.8.0 notes said that q8_0 "gives the CPU's q8_0 text". That
    compared the GPU with the CPU using the same cache type. Against an f16-cache reference the q8_0 cache itself costs
    a KL divergence of 3.6e-2 on the CPU and 3.0e-2 to 3.3e-2 on the GPU (Qwen2.5-0.5B, 16 positions), above the 0.01
    gate, and 0.5 on both after a context shift. With a q8_0 cache on both sides the GPU is, against the CPU, at
    9.7e-3 to 1.10...
Read more

AMEVA-Runtime v2.8.0: ggml-ameva as the LLM GPU Route

Choose a tag to compare

@uno-km uno-km released this 04 Oct 14:07

Release Notes - AMEVA-Runtime v2.8.0

Release Tag: v2.8.0
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


Summary

The GPU route of the LLM engine runs on the project's own Vulkan backend, ggml-ameva, which the llama bundle now
carries. Up to 2.7.9 the route ran on the Vulkan backend of the bundled llama.cpp (ggml-vulkan, b8471), which returns
corrupt text with flash attention and, without it, stops with a descriptor-set assert on Mali and with
ErrorDeviceLost on Turnip (2.7.9 notes, Known issues 1).

With ggml-ameva the route gives the CPU's text for Qwen2.5-0.5B and Gemma-2-2B on the five test devices, and a KL
divergence against the CPU below the CPU's own distance between two of its kernel paths. Speed has two parts, and they
differ (tables 3 and 4):

  • Prompt processing (hundreds of tokens at once): for a 0.5B model the GPU is 17 to 36 times the CPU on the Galaxy
    S25 and 1.2 to 3.3 times on the other four devices; for a 1B model it is 6 to 15 times on the S25, 1.3 times on the
    S20 and 0.6 to 0.8 times on the three Mali devices.
  • Token generation (one token at a time): faster than the CPU on the Galaxy S25, 0.85 to 1.15 times the CPU on the
    S20 depending on its GPU clock, and 0.4 to 0.7 times the CPU on the three Mali devices.

The Galaxy S20 (Adreno 650) now takes the GPU route by default, as the Galaxy S25 and A35 do. Galaxy S21 and A53 keep
the CPU route.

Changes

1. llama bundle

llama-cli-vulkan-android-arm64.tar.gz is the 2.7.9 archive with every member unchanged, plus

File
lib/libggml-ameva.so ggml backend plugin, device AMEVA0; RUNPATH $ORIGIN:$PREFIX/lib
lib/libac_runtime.so.2 the AMEVA compute runtime the plugin needs
lib/ggml-ameva.manifest.json source commit (ameva-compute c8aa8fd), toolchain, the ggml it was linked against, hashes, test results

Pin d459daa9c55c6b06.... Built on Galaxy S25 (clang 21.1.8) against the bundle's ggml 0.9.8 with ameva-compute's
scripts/termux/build_runtime_backend.sh: 0 compiler warnings, AMEVA_QMM_CHECK=PASS (516/516), both batch KATs,
registration of AMEVA0 by the bundle's llama-completion without LD_LIBRARY_PATH. The bundle is assembled by
tools/packaging/add_ggml_ameva.py, which refuses a backend linked against another ggml, one whose recorded tests did
not pass, or one whose RUNPATH does not start with $ORIGIN. The other four bundles are those of 2.7.9.

2. LLM routes

  • The Vulkan plan names the device (--device AMEVA0), and ameva-run exec / ameva_runtime.run() hand the plugin
    of the started bundle to llama.cpp through GGML_BACKEND_PATH. A GGML_BACKEND_PATH from the caller's environment
    is not passed on.
  • One plan for every GPU family. The settings of ggml-vulkan (GGML_VK_*, -fa 0) and its hazard names do not apply.
    Flash attention stays at llama.cpp's default (on): ggml-ameva runs FLASH_ATTN_EXT on the GPU, and with -fa 0 the
    attention runs as separate operators, 1.2 to 14 times slower.
  • Adreno 600 series (Galaxy S20) takes the GPU route by default. With AMEVA_LLM_GPU_BACKEND=upstream its
    adaptive route stays on the CPU, because ggml-vulkan stops on that device.
  • An explicit -b auto is the adaptive route. It used to fall through to the CPU route on the devices whose adaptive
    route is the GPU.
  • AMEVA_LLM_GPU_BACKEND=upstream selects ggml-vulkan of the bundled llama.cpp with the plans of 2.7.9; any value
    other than ameva or upstream is an error.
  • A bundle without the plugin stops the route with AMEVA-LLAMA-E001; it is not run on another backend instead.
  • ameva-run plan and ameva-run exec print the GPU backend of the plan.

3. ggml-ameva (ameva-compute)

  • Loading weights (bf85cfb): the plugin stores quantized weights in its own layout and converted them in the GPU
    mapping, which several drivers map uncached; there the conversion ran at 6 to 9 MB/s. It now converts in a staging
    copy. Load time on Galaxy A35: Qwen2.5-0.5B 11.5 -> 1.2 s, Llama-3.2-1B 81 -> 2.6 s, Gemma-2-2B 182 -> 8.1 s.
  • Token generation with integer dot products (c8aa8fd): a new kernel family, ameva_mmvq, multiplies one
    activation row quantized to int8 with packed integer dot products (VK_KHR_shader_integer_dot_product), as the
    prompt path (ameva_mmq) already did. It is measured per device and weight shape together with the f32 layouts and
    used for a shape only when more than 10 % faster. Galaxy S25, S20 and A35 offer the extension; A53 and S21 do not.
    AMEVA_MMVQ=0 turns it off.
  • More token-generation layouts (c8aa8fd): 4, 2 and 1 lanes per weight row are measured too (13 -> 22 f32
    layouts). The tune file has a new format; a file of an earlier build is measured again.
  • build_ggml_ameva.sh rewrites the plugin's RUNPATH to start with $ORIGIN (the Termux clang driver puts
    $PREFIX/lib first, and the plugin then bound a libac_runtime.so.2 left there by an earlier installation).

4. Termux apt package llama-cpp

tools/fleet/divert_apt_llama.sh registers dpkg diversions for $PREFIX/bin/llama-cli, llama-server and
llama-completion: the apt package stays installed, dpkg writes its three executables to <name>.apt-llama-cpp, and
a reinstall or upgrade of the package no longer replaces the runtime's links (docs/RELEASE_AND_MIGRATION.md 3.6).

Verification

2026-10-04, llama-completion of the bundle, greedy (--temp 0 --top-k 1), -c 2048 -t 4, all layers on the GPU,
models Q4_K_M, ggml-ameva of ameva-compute c8aa8fd (plugin 50f3bcd5...) unless stated. Speeds on these phones move
with the GPU clock (thermal cap on Adreno, governor on Exynos), with the CPU set Android grants and with whatever else
runs on the phone; the conditions are given with the numbers. The files are in
docs/handover/evidence/20261004-ggml-ameva/ and 20261004-ggml-ameva-mmvq/.

1. Text against the CPU's (greedy, 32 tokens after "The three primary colors are", the parity tool of table 2)

S25 Adreno 830 S20 Adreno 650 (Turnip) A35 Mali-G68 r38 A53 Mali-G68 r32 S21 Mali-G78
Qwen2.5-0.5B identical identical identical identical identical
Llama-3.2-1B first 10 tokens first 10 tokens first 10 tokens first 10 tokens first 10 tokens
Gemma-2-2B identical identical identical (backend 0bcbebd, 24 tokens) identical identical

Llama-3.2-1B: every GPU path continues the same way after 10 tokens ("These colors are combined in different ways...",
the CPU: "These colors are used to create..."), ggml-vulkan of the bundle on the Galaxy S25 included. The KL divergence
(table 2) is within the CPU's own noise, so this is a near-tie in the greedy choice, not a wrong result.

2. KL divergence against the CPU (ameva-compute tests/ameva_llm_parity.cpp: wikitext-2 test, 2 chunks of 256
tokens, second half scored, one token per call; gate kld_mean <= 0.01; "CPU noise" is the CPU's one-token-per-call
path against its batch path)

kld_mean CPU noise S25 S20 A35 A53 S21
Qwen2.5-0.5B 3.36e-3 2.56e-3 3.12e-3 2.96e-3 2.57e-3 2.57e-3
Llama-3.2-1B 3.06e-3 2.71e-3 2.86e-3 2.90e-3 2.40e-3 2.40e-3
Gemma-2-2B (1 chunk) 7.68e-3 6.06e-3 6.36e-3 not measured 5.85e-3 5.85e-3
every product through ameva_mmvq (AMEVA_MMVQ=1) 2.58e-3 / 2.79e-3 / 6.25e-3 2.68e-3 / 2.86e-3 / 6.33e-3 not available not available

All 14 runs of the default policy and the 6 forced runs: AMEVA_LLM_PARITY=PASS. The devices differ where they chose
integer-dot layouts (S25 for 4 of 14 weight shapes, A35 for nearly all); A53 and S21 have only f32 layouts. Galaxy
A35, Gemma-2-2B: not measured. The run holds the 1.6 GB model twice on a phone with 5.4 GB, and the phone's Termux
session ended during the first attempt while other work was running on it; the forced runs on the S25 and the S20
cover the same arithmetic for that model. Measured with the build of the c8aa8fd source before a comment-only edit
(plugin 2ba74bd2...).

3. Prompt processing, tokens per second (the first 1500 bytes of wikitext-2 test, about 370 tokens, -b 512; two
runs alternating with the CPU; CPU / ggml-ameva)

S25 (832 MHz) S20 A35 A53 S21
Qwen2.5-0.5B 30-58 / 1010-1081 60 / 181-197 (441-587 MHz) 109-110 / 190 55 / 67 115-119 / 227
Llama-3.2-1B 31-55 / 357-473 74-76 / 95 (587 MHz) 103-112 / 83 47-48 / 27 114-117 / 90-96
  • Galaxy S25: two sessions with this backend; other work was running on the phone in both (load average 15 to 19),
    which lowers the CPU figures. With backend 0bcbebd earlier the same day: 49 / 1057-1075 and 48-52 / 460-464.
  • Galaxy S20, Llama-3.2-1B at a clock cap of 441 MHz: 47-48 / 72.
  • With the integer-dot prompt kernel off (AMEVA_MMQ=0, the f32 tile kernel; backend 0bcbebd): S25 412 / 173, S20
    133 / 52, A35 95 / 40 t/s (Qwen / Llama). A53 and S21 have no integer dot products, so they run the f32 kernel.
  • ggml-vulkan of the bundle with -fa 0 on the same prompt: Galaxy S25 61-65 t/s, Galaxy A35 31 t/s for Qwen and an
    abort for Llama, aborts on S20 (one run of Llama: 39 t/s), A53 and S21.

4. Token generation, tokens per second (64 tokens after "The three primary colors are"; a warm-up run first;
three rounds alternating with the CPU; CPU / ggml-ameva)

S25 (832 MHz) S20 A35 A53 S21
Qwen2.5-0.5B 16-49 / 36-77 25-27 / 23.6-24.4 (441 MHz) 35-37 / 21.5-21.6 22-24 / 14.5 46-47 / 22.8-23.1
Llama-3.2-1B 8-27 / 25-48 21-22 / 18.3-18.4...
Read more

AMEVA-Runtime v2.7.9: Bundle Isolation (self-contained bundles, one Vulkan HAL shim)

Choose a tag to compare

@uno-km uno-km released this 04 Oct 07:29

Release Notes - AMEVA-Runtime v2.7.9

Release Tag: v2.7.9
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


Summary

Each native engine bundle (LLM, STT, TTS, Diffusion, BitNet) is now installed as a unit of its own. Up to 2.7.8 the
installer copied the libraries of all five bundles into $PREFIX/lib, the directory that every bundle and every
Termux package shares, and the executables into $PREFIX/bin. Three defects followed from that:

  • the ggml libraries of llama.cpp (0.9.8) and whisper.cpp (0.25.1) have the same SONAME, so the bundle installed last
    decided which one the other engine's command loaded;
  • the STT bundle's libc++_shared.so replaced the file of the Termux libc++ package;
  • llama.cpp and TTS need libomp.so, which only the diffusion bundle shipped: they started only on devices where
    that bundle had been installed.

From 2.7.9 nothing of a bundle goes to $PREFIX/lib. A bundle stays in its release directory, its commands in
$PREFIX/bin are symbolic links into it, and each bundle carries the libraries it loads. The Vulkan HAL shim is one
build with its source in the repository and is used from inside the Python package. Three defects of the LLM routes
that the new layout made visible are fixed as well: ameva-run exec dropped the router's options, among them the one
that turns flash attention off; the CPU route ran prompt batches on the GPU backend; and the Mali Vulkan plan left
flash attention on, with which the bundle's Vulkan backend returns corrupt text. Under the earlier layout
ameva-run exec did not reach any of them on Galaxy S25 and A35: it failed to link.

No engine binary was rebuilt. The LLM and TTS bundles are repacked from the 2.7.8 assets; STT, Diffusion and BitNet
are the 2.7.8 archives.

This release is published as a non-latest GitHub release, for the reason given in the 2.7.8 notes: 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.

Changes

1. Installation layout

up to 2.7.8 2.7.9
Bundle libraries copied to $PREFIX/lib (29 files for the five bundles) stay in ~/.local/share/ameva/releases/<modality>/<release>
Commands in $PREFIX/bin copies; $ORIGIN/../lib resolved to $PREFIX/lib links to the bundle's executable through current/<modality>; $ORIGIN resolves inside the bundle
Links inside a bundle followed: every library stored once per name kept as links
Release store after installing all five 737 MB 244 MB

The Android linker expands $ORIGIN from the real path of an executable started through a link, also through a linked
directory and a PATH lookup (checked on Android 13, 15 and 16).

2. Bundles

Bundle Archive Change
LLM llama-cli-vulkan-android-arm64.tar.gz d759b98bb4138bc7... lib/libomp.so added; each library stored once with links for the short names (it was stored six times). Archive 125 MB -> 26 MB, installed 402 MB -> 84 MB
TTS sherpa-ncnn-offline-tts-vulkan-arm64.tar.gz 09185a17f1c9927d... libomp.so added beside the executable; the executable has the execute bit
STT whisper-cli-vulkan-android-arm64.tar.gz 09fa314e5203a119... unchanged
Diffusion sd-cli-vulkan-android-arm64.tar.gz 2d268255e84a37ec... unchanged
BitNet termux-bitnet-v1.4.0-android-aarch64.tar.gz 5b7f07e16fc45918... unchanged

Every regular file of the two repacked archives is byte-identical to a file of the 2.7.8 assets
(tools/packaging/repack_2_7_9.py, which also checks the result with tools/packaging/bundle_check.py). Outside
themselves the bundles need Android libraries and, from Termux packages, libc++_shared.so (libc++) and
libssl.so.3 / libcrypto.so.3 (openssl); the STT bundle carries its own libc++_shared.so.

3. Installer

  • A bundle that needs a library that neither the bundle, Android, nor a Termux package provides is refused
    (Bundle integrity error: ... is not self-contained). The check reads the ELF dynamic sections; it does not rely on
    the smoke test, which a stray copy in $PREFIX/lib would let pass.
  • The smoke test starts the staged executable without LD_LIBRARY_PATH, the way the installed command is started.
  • ameva-run install replaces an intact bundle of another release with the pinned one and prints [UPGRADE]. An
    installation that does not match its own manifest is reported as before and is not replaced.
  • Archives are extracted with the tarfile data filter on every Python version that has it (it is the default from
    Python 3.14).
  • The files of an installed release are read-only. A command in $PREFIX/bin is a link into the release; an installer
    that copies its own build onto that command would otherwise write through the link into the bundle. With read-only
    files cp -f replaces the link instead (the release keeps its content, and the next ameva-run install reports the
    foreign command), and shutil.copy fails. Checked on S20.

4. ameva-run migrate

For a device that 2.7.8 or an earlier version installed on. ameva-run migrate --dry-run lists; ameva-run migrate
acts:

  • a command in $PREFIX/bin that is a copy of a bundle executable becomes a link (ameva-run install does this too);
  • a library in $PREFIX/lib is moved to ~/.local/share/ameva/legacy-lib/<time>/ when its content is that of a
    library in the release store, no Termux package owns it, no installed bundle needs it, and no program or library
    directly in $PREFIX/bin, $PREFIX/lib or $PREFIX/libexec needs it (directly or through another copy that stays).
    It is moved, not deleted: a program elsewhere that loaded it from $PREFIX/lib gets it back by moving the file back;
  • libomp.so, libegl_shim.so and libtermux_bitnet.so stay, because termux-diffusion, termux-stt and
    termux-bitnet open them from that path;
  • a library that a Termux package owns is not touched. Where a bundle's copy replaced it (libc++_shared.so), the
    command prints apt install --reinstall <package> and exits with status 1.

5. Vulkan HAL shim

  • Source: native/vulkan_shim/libegl_shim.c; build script and the SHA-256 of the packaged binary beside it
    (6e1d201743c5067d..., clang 21.1.8, aarch64).
  • Compared with the shim that the diffusion bundle and the release page carried (8a6a2775...), the clamp of the
    reported subgroup size to 32 is removed. With the clamp, ggml-vulkan aborted on GPUs whose subgroup size is larger
    (Adreno 830: 64; Turnip on Adreno 650).
  • The runtime preloads the shim from inside the package. It no longer copies it to $PREFIX/lib or looks it up
    there, where installing the diffusion bundle used to replace it with the other build.
  • AMEVA_VULKAN_SHIM=<path> selects another shim; AMEVA_VULKAN_SHIM=off preloads none; a path that names no file
    is an error.

6. LLM routes

  • ameva-run exec passes the router's options. It built its own command and kept only the thread and layer
    counts of the plan. The router turns flash attention off on Adreno (-fa 0); exec dropped that, and with flash
    attention on the bundled Vulkan backend returns corrupt text (Known issues 1). On Galaxy S25 the default route now
    answers "The three primary colors are red, blue, and yellow." on Vulkan (prompt 31 t/s, generation 24 t/s) where
    it printed izable@@@@...; under the earlier layout the same command failed to link
    (cannot locate symbol Xzs_Construct).
  • CPU route: --device none is passed. With -ngl 0 alone a llama.cpp build that has a GPU backend still
    evaluates prompt batches on it. On Adreno 650 (Turnip) the route named CPU_NEON returned corrupt text for chat
    prompts; with --device none it returns the expected text (prompt 16 -> 64 t/s, generation 19 -> 29 t/s on S20;
    128 / 94 t/s on S25; Qwen2.5-0.5B Q4_K_M, 4 threads).
  • Mali Vulkan plan (Galaxy A35): -fa 0 is passed, as on Adreno; the adaptive route stays Vulkan. With it
    Qwen2.5-0.5B answers with the CPU's text on A35 (6.5 t/s; ameva-run exec, default route). Models with a larger
    attention (Llama-3.2-1B, Gemma-2-2B) abort on A35 with the descriptor-set assert of Known issues 1 instead of
    printing corrupt text. The routing decisions of 2.7.8 are unchanged.
  • Forced Vulkan on Mali-G78 and on Mali-G68 without integer dot product (-b vulkan on Galaxy S21 and A53):
    -fa 0 is passed there too. With flash attention the bundled backend returns corrupt text on these devices;
    without it these plans stop with the descriptor-set assert of Known issues 1 (the hazard warning of the Mali-G78
    plan names it), and ameva-run exec exits with status 1.

Verification

2026-10-04, scratch trees (HOME, PREFIX, XDG_CACHE_HOME in a scratch directory; the 2.7.9 wheel; bundles from a
file:// release base with the pins above). S25: Galaxy S25, Adreno 830, Python 3.13. S20: Galaxy S20, Adreno 650
with Mesa Turnip, Python 3.14. A35: Mali-G68 r38p1, Python 3.14. A53: Mali-G68 r32p1, Python 3.13. S21: Mali-G78
r38p0, Python 3.13.

Check S25 S20 A35 A53 S21
Fresh install of the five bundles; $PREFIX/lib stays empty; 7 commands are links PASS PASS PASS PASS PASS
Each command resolves its bundle's libraries inside the bundle (linker64 --list), started through its link without LD_LIBRARY_PATH PASS PASS PASS PASS PASS
Second install: five bundles verified and reused, no download PASS PASS PASS PASS PASS
Upgrade of a tree installed by the 2.7.8 wheel: LLM and TTS upgraded, STT / Diffusion / BitNet verified and their commands relinked PASS PASS PASS PASS PASS
migrate on...
Read more

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.

AMEVA-Runtime v2.7.3: Z-Image Turbo 6.0B DiT & Two-Track Registry

Choose a tag to compare

@uno-km uno-km released this 28 Sep 14:37

AMEVA-Runtime v2.7.3 Official Production Release

Next-Gen Unified On-Device Hardware Orchestration & 6-Modality AI Acceleration Runtime for Mobile & Edge


Key Milestone Achievements & Breakthroughs

1. Termux-Diffusion SOTA Z-Image Turbo (6.0B DiT) Compute Integration

  • Full On-Device DiT Pipeline: Integrated mobile Vulkan Diffusion pipeline with SOTA Z-Image Turbo 6.0B Diffusion Transformer, Flash Attention (--diffusion-fa), and VAE tiled decoding.
  • Hardware Stability: Demonstrated on-device neural image synthesis across Qualcomm Adreno and ARM Mali GPUs without thermal abort or device memory exhaustion.
  • Memory Footprint Optimization: Utilizes temporal tile splitting and compute shader subgroup optimizations, keeping active memory residency within physical mobile device limits.

2. Two-Track Enterprise Supply Chain Architecture

  • Complete Source Code Protection: Architectural proprietary logic, HAL implementations, and optimization kernels reside permanently within the private uno-km/ameva-runtime repository.
  • Anonymous 1-Click Auto-Provisioning: Precompiled binaries, compute shaders, and wheels are distributed through this public registry (uno-km/ameva-runtime-releases), eliminating GitHub Private API token requirements for users.
  • Resilient Fallback Algorithm: The NativeAssetManager seamlessly resolves to verified production assets (releases/latest/download/{spec.filename}) if an exact version tag asset is not found on remote endpoints.

3. Android 15 Bionic libc & Vulkan Loader Zero-Collision Isolation

  • Dynamic Symbol Isolation: Reinforced dynamic symbol lookup within BionicDirectVulkanLoader to eliminate memory allocator and namespace collisions with Android 15 Bionic libc.
  • Hardware Topology Pinning: Directly inspects physical kernel device nodes (/dev/kgsl-3d0, /dev/mali0), permanently averting Mesa llvmpipe CPU rasterizer degradation.

4. Ecosystem Parity Across Python & Node.js

  • Both Python (pip install ameva-runtime) and Node.js (npm install @ameva/runtime) SDKs updated to v2.7.3 with full parity across 6 modalities (Diffusion, STT, LLM, TTS, BitNet, Vision).
  • CLI commands (npx ameva doctor, npx ameva install, python -m ameva_runtime.doctor) verified for frictionless deployment.

Cryptographic Verification & Verification Signatures

All release assets in this registry are verified against pinned SHA-256 signatures before execution. See attached .sha256 checksum files.

AMEVA Runtime v2.7.2: Universal Prebuilt Hardware Acceleration Binaries

Choose a tag to compare

@uno-km uno-km released this 28 Sep 14:06

Official public binary asset distribution for AMEVA Runtime v2.7.2 (ARM64 Android Termux and edge Linux). Includes Vulkan-accelerated Stable Diffusion (Z-Image Turbo 6.0B DiT), Whisper STT, llama.cpp, Sherpa-NCNN TTS, BitNet 1.58b, and Termux Vision.