From b05eee0d7f3fc65100a2921f3541cd46e3ef8769 Mon Sep 17 00:00:00 2001 From: olyasir Date: Wed, 22 Apr 2026 19:22:52 +0300 Subject: [PATCH] chore: bump nmtcpp to 2.1.0 Minor version bump for the new dynamic GGML backend loading feature (#1617) which unblocks GPU-backed inference on Android via `backendsDir` and adds `openclCacheDir` for faster OpenCL startup. --- packages/qvac-lib-infer-nmtcpp/CHANGELOG.md | 9 +++++++++ packages/qvac-lib-infer-nmtcpp/package.json | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/packages/qvac-lib-infer-nmtcpp/CHANGELOG.md b/packages/qvac-lib-infer-nmtcpp/CHANGELOG.md index a95c4b9614..926842333b 100644 --- a/packages/qvac-lib-infer-nmtcpp/CHANGELOG.md +++ b/packages/qvac-lib-infer-nmtcpp/CHANGELOG.md @@ -5,6 +5,15 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [2.1.0] - 2026-04-22 + +### Added + +- Dynamic GGML backend loading for GPU acceleration. The NMT addon now discovers GGML backend plugins (OpenCL, Vulkan) at runtime via a new `NmtLazyInitializeBackend` singleton, mirroring the LLM addon's `LlamaLazyInitializeBackend` pattern. +- New `backendsDir` config param — points at the directory containing GGML backend `.so` plugins (e.g. the Android APK's native-lib path), unblocking GPU-backed inference on Android. +- New `openclCacheDir` config param — caches compiled OpenCL kernels for faster startup on subsequent loads. +- GPU backend `.so` plugins are installed into prebuilds via the `GGML_AVAILABLE_BACKENDS` CMake loop. + ## [2.0.3] - 2026-04-15 ### Added diff --git a/packages/qvac-lib-infer-nmtcpp/package.json b/packages/qvac-lib-infer-nmtcpp/package.json index 0ae93185c0..e81914c57d 100644 --- a/packages/qvac-lib-infer-nmtcpp/package.json +++ b/packages/qvac-lib-infer-nmtcpp/package.json @@ -1,6 +1,6 @@ { "name": "@qvac/translation-nmtcpp", - "version": "2.0.3", + "version": "2.1.0", "description": "translation addon for qvac", "addon": true, "engines": {