What happened
LiteRT-LM keeps the main weights in memory and memory-maps embedding parameters; vision and audio models are loaded as needed. Its GenAI libraries and APIs include KV-cache management, prompt templating and function calling. The repository is not gated, and its CLI selects the repository’s only .litertlm file automatically; if there are several, it prompts for a choice or accepts a filename after the repository ID. The model card says on-device use does not require an internet connection, and the repository lists an Apache 2.0 license.
The model file is 3.66 GB, including 2.24 GB of text-decoder weights and 0.67 GB of embedding parameters. The stated context limit is up to 32k tokens.
What the archive adds
This follows the on-device Gemma 4 E4B quantization line: New Runtime previously covered a 5.15 GB QAT Q4_0 GGUF package. That was a GGUF distribution; this package targets LiteRT-LM and uses .litertlm. (earlier New Runtime note)
Why it matters
The 3.66 GB download is not a direct estimate of runtime memory needs: LiteRT-LM keeps main weights in memory, memory-maps embeddings and loads vision and audio components as needed. Measure peak memory and startup behavior on the target device before committing to an integration.
Limits and uncertainty
The model card describes benchmarks using 1,024 prefill tokens, 256 decode tokens and a 2,048-token context; CPU inference used the LiteRT XNNPACK delegate with four threads. Time-to-first-token excludes load time, and benchmarks used enabled, initialized caches; the card warns first-run latency and memory may differ. The headline claims 49 tokens per second and doubled mobile AI speed, but the model-card excerpt reports no measured throughput, device identification or comparison baseline to substantiate either claim.
Skill to build now
Install the CLI with pip install -U litert-lm, then run a prompt locally:
litert-lm run --from-huggingface-repo=litert-community/gemma-4-E4B-it-litert-lm --prompt="Write me a poem"Reader takeaway
The practical news is a quantized Gemma 4 E4B package in LiteRT-LM format, with a documented CLI path to local inference and offline use. Treat “49 tokens per second” and “doubles mobile AI speed” as unverified: the model card excerpt supplies benchmark conditions but no device, throughput result or comparison baseline.