Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion NOTICE.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ requirements of the respective licenses.

### Google — LiteRT-LM SDK

- Package: `com.google.ai.edge.litertlm:litertlm-android:0.10.2`
- Package: `com.google.ai.edge.litertlm:litertlm-android:0.13.1`
- License: Apache License 2.0
- Upstream: <https://github.com/google-ai-edge/LiteRT-LM>
- Used for: on-device model loading and inference (the sole reason this project
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ same Wi-Fi.

## Supported models

LiteRT-LM 0.10.2 loads `.litertlm` bundles that pack a TFLite graph +
LiteRT-LM 0.13.1 loads `.litertlm` bundles that pack a TFLite graph +
vision/audio encoders + tokenizer. Officially supported today:

| Model | Size | Vision | Audio | Context | Notes |
Expand All @@ -97,7 +97,7 @@ need other families.
## Tech stack

- Kotlin **2.2.21**, AGP **8.9.1**, Gradle **8.11.1**, JDK 17
- `com.google.ai.edge.litertlm:litertlm-android:0.10.2`
- `com.google.ai.edge.litertlm:litertlm-android:0.13.1`
- Ktor **3.0.3** CIO engine (Netty NIO is unusable on Android)
- ZXing core 3.5.3 (QR rendering for the About tab)
- Web UI: vanilla HTML/CSS/JS, pdf.js 4.7, qrcode-generator 1.4,
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/assets/licenses.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ under the Apache License 2.0.


--------------------------------------------------------------------------------
LiteRT-LM (com.google.ai.edge.litertlm:litertlm-android:0.10.2)
LiteRT-LM (com.google.ai.edge.litertlm:litertlm-android:0.13.1)
--------------------------------------------------------------------------------
Copyright 2025 Google LLC
Licensed under the Apache License, Version 2.0.
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/java/com/sectl/litertlm/server/HttpServer.kt
Original file line number Diff line number Diff line change
Expand Up @@ -936,7 +936,7 @@ class HttpServer(

// Compile-time constant for the LiteRT-LM version, shown in the 501 body.
private object BuildConfigLike {
const val LITERTLM_VERSION = "0.10.2"
const val LITERTLM_VERSION = "0.13.1"
}

// /v1/search response shape — mirrored by the web UI "sources" box.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import kotlinx.coroutines.sync.withLock
/**
* Real LiteRT-LM-backed inference engine. Ships in Phase 4 as the default.
*
* The LiteRT-LM SDK (com.google.ai.edge.litertlm:litertlm-android:0.10.2)
* The LiteRT-LM SDK (com.google.ai.edge.litertlm:litertlm-android:0.13.1)
* is AutoCloseable on both [Engine] and [Conversation]. We hold one
* persistent Engine and recreate Conversations lazily per-infer so sampler
* parameters from each request can override the defaults.
Expand Down
4 changes: 2 additions & 2 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
[versions]
# AGP 8.9.x supports Kotlin 2.2.x, which is what LiteRT-LM 0.10.2 was compiled with.
# AGP 8.9.x supports Kotlin 2.2.x, which is what LiteRT-LM 0.13.1 was compiled with.
agp = "8.9.1"
kotlin = "2.2.21"
litertlm = "0.10.2"
litertlm = "0.13.1"
coreKtx = "1.13.1"
appcompat = "1.7.0"
material = "1.12.0"
Expand Down
Empty file modified gradlew
100644 → 100755
Empty file.