v0.20.02026-11-23
🔥 What's New: v0.20.0
NPU Executor Metadata & Default Behavior Change**:
Added LlmNpuExecutorMetadata to ExecutorMetadata proto and updated the runtime to resolve unset NPU execution flags (enableneonfornpugreedysampling, usehwmaskingfornpu, usehwcacheupdatefornpu, usehwplefor_npu) from .litertlm bundle metadata.
Behavior Change**: Handwritten NPU components now default to disabled unless enabled in bundle metadata or runtime flags (except KV-cache updates on ring-buffer models).
Python 3.10 support is deprecated. Python 3.10 reached upstream end-of-life on 2026-10-01 (PEP 619). Importing litertlm on Python 3.10 now emits a FutureWarning. 0.20.0 is the last release that supports Python 3.10. The next release (0.21.0) will require Python ≥ 3.11 and will no longer publish cp310 wheels. If you are on Python 3.10, upgrade to 3.11 or newer, or pin litert-lm==0.20.*.
Benchmark init time**: No longer counts engine creation twice in the C, Kotlin, Swift and Python APIs and litert-lm benchmark.
litertlmmain: Now stops each reply after --maxoutput_tokens tokens when the flag is above 0.
Reproducible .litertlm builds: With SOURCEDATE_EPOCH set, litert-lm-builder now writes byte-identical files from the same inputs and uuid.
v0.19.12026-11-05
🔥 What's New: v0.19.1
* Added support for multimodal (vision + audio) Gemma 4 models on the Artisan GPU backend.
* Enabled bidirectional attention for vision processing on GPU Artisan models
* Support LiteRT audio encoders with artisan GPU text decoders
🧱 C API 1.0.0 (Breaking): Functions that can fail now return LiteRtLmStatusCode with results in out parameters, and only litertlm symbols are exported.
v0.19.02026-11-02
🔥 What's New: v0.19.0
🎯 Accelerated Logit Masking**: Enables faster constrained decoding on GPUs, with full support for MTP-enabled decoding.
🌐 Web SDK**: @litert-lm/core now stream-loads all models, defaults to the GPU backend, and supports image and audio inputs.
🎙️ Speech Models**: Added support for multiple ASR and TTS models, including Qwen3-ASR, Kokoro, and Qwen3-TTS.
🧱 C API 1.0.0 (Breaking): Functions that can fail now return LiteRtLmStatusCode with results in out parameters, and only litertlm symbols are exported. (Attached in v0.19.1)
⚙️ Performance & Platform**: GPU sampling now matches CPU for the same seed, ModelInfo is faster and uses less memory.
v0.18.12026-10-20
🔥 What's New: v0.18.1
* Fixed an ABI-incompatability issue that prevented running EmbeddingGemma 2 when building LiteRT-LM from source.
v0.18.02026-10-06
🔥 What's New: v0.18.0
New Model Release (EmbeddingGemma 2):** Shipped multimodal EmbeddingGemma 2 supporting text, vision, and audio embeddings with Matryoshka dimension truncation across Python, Kotlin, Swift, Web (JavaScript), and C++. Check out our DevSite documentation for more details!
CLI & Developer Experience:** Added fast model imports (litert-lm import) and an OpenAI-compatible /v1/embeddings endpoint (litert-lm serve) for multimodal embedding models.
Model Info API:** Added ModelInfo and litert-lm describe for full model introspection—covering metadata, capabilities, and runtime requirements before loading.
NPU & GPU Acceleration:** Enabled dynamic on-demand KV cache growth on NPU and attention mask pruning optimizations on GPU.
v0.17.12026-09-16
🔥 What's New: v0.17.1
* Introduces a bug fix to a tool call int type issue (f300c4fdc28b4770c61ae93d24f3f601cfcd19f6).
v0.17.02026-09-09
🔥 What's New: v0.17.0
Optimized Local Attention:** Reduced memory overhead and enabled support for even longer contexts.
Apple Silicon Acceleration:** Added Metal residency support for improved inference performance on Apple devices.
Extended Gemma 4 (12B):** Introduced multimodal capabilities, multi-token prediction (MTP) acceleration, and extended context window support.
Stability & Internals:** General bug fixes and framework-level performance improvements.
v0.16.12026-08-18
🔥 What's New: v0.16.1
* Fixed Windows JVM crash
* This release updates the fixed build flag only for Kotlin/Maven/Windows. Hence, the underlying git commit is the same as v0.16.0.
v0.16.02026-08-11
🔥 What's New: v0.16.0
This release is a quick follow up to v0.15.0 (which brought Apple Foundation
Framework integration, CLI configuration, and JavaScript API Updates).
- 📦 C API Prebuilts: Added the first versioned C API shared library
prebuilts for all supported platforms. This allows natively integrating
LiteRT-LM into your applications and creating language bindings without the
hassle of building shared libraries.
- 🚀 Experimental YNNPACK Delegate: Added the experimental
YNNPACK
delegate, enabled for linux arm64 builds in the LiteRT-LM CLI and Python
API.
v0.15.02026-08-04
🍎 Apple Foundation Framework
Apple FM Adapter:** Shipped a new Apple Foundation framework adapter natively integrating Apple's backend with the LiteRT-LM runtime for fast text and multimodal (vision/audio) execution featuring Gemma4 models, thanks to john-rocky's contributions!
Concurrency & Stability:** Resolved re-entrancy issues on concurrent engine initializations.
🛠️ LiteRT-LM CLI
Centralized config.json System:** Introduced configuration file support for the LiteRT-LM CLI to define global defaults and per-model settings (such as specialized hardware backends, thinking budgets, and context window sizes) without needing to pass verbose command-line flags.
Strict Parameter Precedence:** Execution parameters follow a clear hierarchy: Runtime arguments > Model-specific config > Global defaults > Model metadata > Engine fallbacks. For more details, see the CLI Configuration guide.
🌐 JavaScript API & Web Application (LiteRT-LM.js)
Gemma 4 Web Support:** Gemma 4 12B, Gemma 4 26B A4B, and Gemma 4 31B are officially supported on web.
Memory Efficiency: Added a new useautosized_ringbuffers option that improves long context memory efficiency.
Tool Calling Capabilities:** Added AutoToolChat, which automatically runs tool calls that the model emits.