Recent releases
Release notes for the current and previous llamadart minor, with a link to the full changelog for older releases.
This page keeps the current and previous minor
releases. Notes for every older release are in
CHANGELOG.md.
For upgrade planning, combine this page with the Upgrade Checklist. For breaking changes, validate against the exact release tag notes.
0.23.0#
-
Add
GenerationParams.dryMultiplier,dryBase,dryAllowedLength,dryPenaltyLastNanddrySequenceBreakers(DRY repetition penalty) for native llama.cpp, reported byLlamaEngineCapabilities.samplerControls; WebGPU and LiteRT-LM reject them. Native llama.cpp rejects adryAllowedLengthat or above the DRY window (capped at the context size) and settings that can exhaust a token allow-list withLlamaArgumentException, and a failure inside DRY sampler setup becomesLlamaInferenceExceptioninstead of ending the process (llamadart-nativev1.1.0-1 and later). -
Add
LlamaEngine.setModelFromFileDescriptorto load a single-file GGUF from an open file descriptor without a copy (Android document grants, user-picked iOS/macOS files); it throwsLlamaUnsupportedExceptionon Windows, the Web, LiteRT-LM and native runtimes older thanllamadart-nativev1.1.0-1. -
Adopt
llamadart-nativev1.1.0-1 (llama.cpp v1.1.0). Native runtime overrides must now be built from llama.cpp v1.1.0; v1.0.0 builds throwLlamaUnsupportedException. On Linux x64, the HIP backend needs ROCm 6.3 or newer. -
Aligned default WebGPU bridge assets to
v0.1.96(llama.cpp v1.1.0). Web model loading now recovers after a failed load instead of retiring the core, reads models on demand from OPFS and Cache Storage, uses a 16 MiB tensor read buffer and normalizes GPU-layer settings. -
Block llama.cpp GPU loads on Android when a Qualcomm proprietary Vulkan device is registered:
ComputeDevice.gputhrowsLlamaUnsupportedExceptionand automatic GPU attempts fall back to CPU with a warning. - Unsupported sampler errors now name the tuning fields to reset after disabling XTC, dynamic temperature, or Mirostat.
- Show backend-reported per-request token counts and timings in the example chat app.
Runtime baseline: native llama.cpp v1.1.0-1 and Web use upstream v1.1.0@171527522610996f5f0acf12334e185156ca8f44; native LiteRT-LM uses
v0.20.0 and stable-diffusion uses v0.4.0-1. Web LiteRT-LM uses @litert-lm/core@0.20.0. Manifest SHA-256:
0cafdc729d985d61407f66b07c99c53ac935bef4572c9d596c2a3704c21b68c0.
0.22.0#
-
Add native llama.cpp sampler controls to
GenerationParams:frequencyPenalty,penaltyLastN,logitBias,typicalP,topNSigma,xtcProbability/xtcThreshold,dynatempRange/dynatempExponentandmirostat/mirostatTau/mirostatEta.LlamaEngineCapabilities.samplerControlsreports support; WebGPU and LiteRT-LM reject them. The example server mapsfrequency_penalty,presence_penaltyandlogit_bias. -
Native llama.cpp rejects non-finite or extreme
temp,topP,minP,penaltyandpresencePenaltywithLlamaArgumentExceptioninstead of aborting the process or leaving a grammar. -
Add
GenerationParams.topLogprobsto stream per-token log-probabilities and top alternatives from native llama.cpp on chat chunks, completions andgenerate(); WebGPU, LiteRT-LM, speculative decoding and backends withoutsupportsTokenLogprobsreject it. -
Aligned default WebGPU bridge assets to
v0.1.95, so Web chat templates render the model's own BOS and EOS text and honor its add-BOS setting. -
Video-input errors now name LiteRT-LM on LiteRT-LM runtimes, and a native runtime older than
llamadart-nativev0.8.0 is reported as missingmtmd_helper_get_capabilitiesinstead of as a projector without a vision encoder.supportsVideostaysfalse. -
On an iOS simulator, llama.cpp no longer runs on Metal:
ComputeDevice.gputhrowsLlamaUnsupportedExceptionand an explicitGpuBackend.metalloads on the CPU with a warning, because the simulator GPU cannot run llama.cpp's Metal kernels (#950). -
Add
DefaultModelDownloadManager.importDownloadedFileto verify a file downloaded by a platform background executor and move it into the model cache, with optionalexpectedBytes, SHA-256,etagandlastModified.
Runtime baseline: native llama.cpp v1.0.0-4 and Web use upstream v1.0.0@b1b770d90d94cad9e9ea5b993bdbc383a522fb28; native LiteRT-LM uses
v0.20.0 and stable-diffusion uses v0.4.0-1. Web LiteRT-LM uses @litert-lm/core@0.20.0. Manifest SHA-256:
a24a0fac2b60c877fd42c8eb4f34930f1a0c7cdb883b750f86a2773a72bc7a08.