Repository navigation
v0.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 the 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.