Skip to content

v0.25.0

Choose a tag to compare

@github-actions github-actions released this 03 Dec 12:12
· 38 commits to main since this release
53b268c
  • Add native llama.cpp fill-in-the-middle (infill) completion API with extra-context framing and the infill sampler.
  • Add experimental opt-in Android arm64 Qualcomm Hexagon HTP (HTP0) support for llama.cpp via ComputeDevice.npu, ModelParams.hexagonAssetsDir and probeLlamaCppHexagon(). The build hook packages the digest-verified sidecar only when explicitly selected.
  • Add experimental opt-in llama.cpp OpenVINO NPU on Linux x64 with ComputeDevice.npu, a model-free probe, an optional compiled-graph cache and typed diagnostics (#2554).
  • Fix Linux x64 OpenVINO hook opt-in to bundle the verified sidecar, preserve plugins.xml and report redistribution notices.
  • Reject ComputeDevice.npu combined with any non-GpuBackend.auto preferredBackend in ModelParams.validate() across all runtimes, including LiteRT-LM.
  • Discover the installed LiteRT-LM NPU dispatcher on Android arm64 for explicit NPU loads and add a model-free probe for dispatch availability and packaging failures.
  • Stream explicit Android LiteRT-LM NPU replies after observed participation, preserve final placement checks, and pin litert-lm-native v0.20.0-2.
  • Refuse unsupported Android firmware for the LiteRT-LM Google Tensor NPU and remember unfinished native engine creation across app restarts, with an explicit retry option.
  • Throw LlamaUnsupportedException for unavailable LiteRT-LM NPU requests in native and Web contextCreate and for deprecated explicit-NPU engine creation failures, clearing the Google Tensor attempt marker consistently.
  • Expose typed image model memory refusals with byte counts and a public memory estimator.
  • Update the default llama.cpp native runtime to llamadart-native v1.1.0-6 (same upstream llama.cpp commit), which adds the grammar top-k/top-p wrapper, the OpenVINO owner API with its linux-x64-openvino sidecar and the Android arm64 Hexagon sidecar.
  • Route eligible strict grammars on large native llama.cpp vocabularies through the v1.1.0-5 progressive top-k/top-p/min-p wrapper with legacy fallback and bit-exact seeded parity.
  • The Android Hexagon probe reports when host-library SHA-256 verification requires JNI extraction.
  • Document tested Android NPU devices, firmware, dispatchers and models, LiteRT-LM NPU packaging for install-time and on-demand feature modules, Hexagon release APK packaging and its forced-exit limitations, and CPU-first llama.cpp guidance for Tensor phones.
  • Studio (the unpublished app in this repository) adds opt-in Android NPU kits for Tensor G6, MediaTek MT6989 and Qualcomm Hexagon, Model Hub fit filters and sorting (including system RAM fit for Hexagon GGUF chat models), and automatic tool calling and opt-in reasoning for Gemma 4 E2B on Tensor G6. Built-in presets and older saved settings keep Think off unless the user has explicitly opted in.
  • Keep the default WebGPU bridge assets at v0.1.96 (unchanged from 0.24.0).

Runtime baseline: native llama.cpp v1.1.0-6 and Web use upstream v1.1.0@171527522610996f5f0acf12334e185156ca8f44; native LiteRT-LM uses v0.20.0-2 and stable-diffusion uses v0.4.0-1. Web LiteRT-LM uses @litert-lm/core@0.20.0. Manifest SHA-256: 0cafdc729d985d61407f66b07c99c53ac935bef4572c9d596c2a3704c21b68c0.