GPU acceleration for on-device AI on Android phones. amv-runtime detects the SoC and GPU driver of a Termux / ARM64 device, installs the matching native engines (llama.cpp, whisper.cpp, Sherpa-NCNN, stable-diffusion.cpp, BitNet) in isolated bundles, and runs them on the GPU through the AMEVA compute backend (ggml-ameva on ac_runtime, Vulkan or OpenCL). When an operation or a device is not supported it stops with an explicit error; it does not fall back to the CPU without saying so.
Renamed. Up to 2.8.1 this package was published as ameva-runtime (PyPI) and @ameva/runtime (npm). From 2.9.0 the name is amv-runtime on PyPI, npm and GitHub, in line with the other amv-* packages. The import package (ameva_runtime) and the commands (ameva, ameva-run, ameva-gpu) are unchanged. See Upgrading from ameva-runtime.
pip install amv-runtime # Python 3.8+, Termux / ARM64 Linux # or npm install amv-runtime # Node.js bindings and the same CLI Download the engine bundles (one modality at a time, or all):
ameva-run install --modality llamacpp # also: stt, tts, diffusion, bitnet, all ameva-run doctor # 12-stage hardware diagnostic Bundles come from the public release repository uno-km/amv-runtime-releases; no token is needed.
The A53 and S20 rows are from the first 2.9.0 candidate build; the Galaxy A53 was not reachable for the final build, so the final build is not verified there. The A35 and A53 CPU figures come from three little cores and are not a reference for the phones' full CPU. On the S20, generation on the CPU (28.6 t/s) is faster than on the GPU; the GPU route is not the faster one for token generation on every device, because generation is limited by memory bandwidth on both. Full conditions, KL-divergence results and known issues: release notes of v2.9.0.
Each release is checked on real phones (Galaxy S25, S21, S20, A35, A53) over ssh: ameva_qmm_check (516 MUL_MAT cases), ggml test-backend-ops for AMEVA0 (4430 cases on the A35), KL divergence against the CPU with a gate of 0.01, and text comparison with the CPU. A zero exit code is not accepted as evidence of GPU execution.
amv-runtime ships the same import package as ameva-runtime, so the two distributions must not be installed together. Remove the old one first:
pip uninstall -y ameva-runtime pip install amv-runtime ameva-run doctor Bundles already installed under ~/.local/share/ameva/ are kept. Versions 2.8.1 and earlier remain available under the old names; the old PyPI project and the npm package @ameva/runtime receive no further releases.
Free for noncommercial use under the PolyForm Noncommercial License 1.0.0 (file LICENSE). Commercial use needs a separate commercial license (file LICENSE-COMMERCIAL.md; amv.foundation.kr@gmail.com). Versions published before 2.9.0 keep the Apache-2.0 license they were released under. Third-party components keep their own licenses (file THIRD_PARTY_NOTICES.md).
Free for non-commercial use (PolyForm-Noncommercial-1.0.0 OR LicenseRef-AMEVA-Commercial)
stt diffusion bitnet llamacpp tts vision all
vulkan-compute mobile-gpu hardware-acceleration hardware-abstraction-layer adreno-gpu arm-mali snapdragon-8-elite exynos termux on-device-ai edge-ai tensor-acceleration spir-v compute-shaders zero-silent-fallback llamacpp whisper-cpp sherpa-onnx stable-diffusion vision-language-models bitnet gguf ncnn bionic-loader arm64 aarch64 cgroup-management cpu-neon thermal-throttling power-efficiency smart-router hardware-orchestration multi-modal-ai subgroup-operations gemm-acceleration mobile-vlm speech-to-text text-to-speech image-generation edge-inference unprivileged-userspace termux-wake-lock phantom-process-killer android-ai-runtime valhall-gpu adreno-830 mali-g68 ameva-foundation uno-km open-source-ai
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
None of the files in this release were uploaded with provenance metadata.
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.
Nov 23, 2026 2 release files No provenance




