mlboydaisuke commited on
Commit
e1572c1
·
verified ·
1 Parent(s): 5708b17

Update the model card and manifest notes: sentences corrected to the measurement records, Swift sample link

Browse files
Files changed (3) hide show
  1. MEASUREMENTS.md +2 -2
  2. README.md +16 -16
  3. litertlm_manifest.json +14 -14
MEASUREMENTS.md CHANGED
@@ -7,8 +7,8 @@ The model card ([README.md](README.md)) quotes the results. This page has how th
7
  - **This file:** `InternVL3-2B.litertlm`, sha256 `5302075056b91b0d6e1c43faff9006dea658a3458ab763ae7fa25d5b2dc59523`, 1,431,420,928 B. **Previous file:** the same name at Hub commit `7232b4de71c69db1a0caabd8b4b4ca2dba431ee8`, sha256 `44c652d4aae876a1e06086fbb5e7fcc385005b5aa928b160238337478c5ffd3f`, 1,429,700,608 B.
8
  - The previous file has prefill signatures of 128 and 512 tokens only; this file also has `prefill_1024`.
9
  - **Phones:** Samsung Galaxy S26 (SM-S942Q, SM8850, Adreno 840 GPU, Android 16); Google Pixel 11 Pro (PowerVR GPU, Android 17).
10
- - **Program:** `litert_lm_advanced_main` built for Android arm64 from LiteRT-LM v0.19.0 source (commit `771b06e1`), sha256 `2e0b50979206be39f00d676ec1363546fdfe6ae95eec5d4dff074617448b7937`.
11
- - **Command:** `litert_lm_advanced_main --backend=<gpu|cpu> --model_path=<file> --max_num_tokens=2048 --max_output_tokens=2048 --async=false --benchmark --benchmark_prefill_tokens=1024 --benchmark_decode_tokens=256 --num_iterations=3 --use_session=false --input_prompt_file=<text file>`. No `--sampler_backend`; the CPU uses the runtime's default thread count. The benchmark prompt is text; the vision encoder does not run.
12
  - **Timing runs:** each is a new process. Before it, the runtime's cache files next to the model are deleted. A GPU timing run starts when the phone reports thermal status 0 (Android's thermal status: 0 = none, 1 = light, 2 = moderate), no CPU clock cap and GPU thermal level 0 (the GPU driver's thermal power level, `thermal_pwrlevel` of the phone's `kgsl` GPU driver: 0 = no limit, and each step above 0 lowers the highest clock the GPU may use by one level); the CPU runs are described in their section.
13
  - **Questions and photo:** each is a new process with `--max_output_tokens=256 --benchmark_prefill_tokens=0 --benchmark_decode_tokens=0`, `--max_num_tokens=1024` for a question and `2048` for the photo, and the question as the prompt file; the photo question's prompt file names the photo (`[image:<path>] Describe this picture in one sentence.`). A run starts without waiting for the phone to cool and keeps the runtime's cache files that an earlier run of the same file wrote.
14
  - **When they ran:** the questions and the photo ran after the timing runs. On the Galaxy S26 the 9 runs (8 questions and the photo, this file only) started at thermal status 1, one of them with a CPU clock cap (the CPU clock domain policy6, `/sys/devices/system/cpu/cpufreq/policy6`, at 4.34 of its 4.74 GHz); the photo run with the vision encoder on the CPU ran later, on its own, at thermal status 0. On the Pixel 11 Pro every run started at thermal status 1 except the previous file's first question (thermal status 0); 15 of the 18 runs had a CPU limit (its policy6 at 3.57–4.01 of its 4.11 GHz, in four of them also the phone's thermal utilization clamps: the cooling devices named `thermal-uclamp-*` in the phone's thermal service, a CPU limit other than the clock cap).
 
7
  - **This file:** `InternVL3-2B.litertlm`, sha256 `5302075056b91b0d6e1c43faff9006dea658a3458ab763ae7fa25d5b2dc59523`, 1,431,420,928 B. **Previous file:** the same name at Hub commit `7232b4de71c69db1a0caabd8b4b4ca2dba431ee8`, sha256 `44c652d4aae876a1e06086fbb5e7fcc385005b5aa928b160238337478c5ffd3f`, 1,429,700,608 B.
8
  - The previous file has prefill signatures of 128 and 512 tokens only; this file also has `prefill_1024`.
9
  - **Phones:** Samsung Galaxy S26 (SM-S942Q, SM8850, Adreno 840 GPU, Android 16); Google Pixel 11 Pro (PowerVR GPU, Android 17).
10
+ - **Program:** `litert_lm_advanced_main` built for Android arm64 from LiteRT-LM v0.19.0 source (commit `771b06e1`; the v0.19.0 tag is on the next commit, which changes only `Package.swift` and `README.md`), sha256 `2e0b50979206be39f00d676ec1363546fdfe6ae95eec5d4dff074617448b7937`.
11
+ - **Command:** `litert_lm_advanced_main --backend=<gpu|cpu> --model_path=<file> --max_num_tokens=2048 --max_output_tokens=2048 --async=false --benchmark --benchmark_prefill_tokens=1024 --benchmark_decode_tokens=256 --num_iterations=3 --use_session=false --input_prompt_file=<text file>`. No `--sampler_backend`; the CPU uses the runtime's default thread count. The prompt file is one sentence, "Explain what on-device AI means in simple terms."; in benchmark mode the runtime puts it in the chat template as a user message and pads the tokens with token id 0 to the 1,024 prefill tokens (`ids.resize` in `runtime/core/session_utils.cc` of v0.19.0). The vision encoder does not run.
12
  - **Timing runs:** each is a new process. Before it, the runtime's cache files next to the model are deleted. A GPU timing run starts when the phone reports thermal status 0 (Android's thermal status: 0 = none, 1 = light, 2 = moderate), no CPU clock cap and GPU thermal level 0 (the GPU driver's thermal power level, `thermal_pwrlevel` of the phone's `kgsl` GPU driver: 0 = no limit, and each step above 0 lowers the highest clock the GPU may use by one level); the CPU runs are described in their section.
13
  - **Questions and photo:** each is a new process with `--max_output_tokens=256 --benchmark_prefill_tokens=0 --benchmark_decode_tokens=0`, `--max_num_tokens=1024` for a question and `2048` for the photo, and the question as the prompt file; the photo question's prompt file names the photo (`[image:<path>] Describe this picture in one sentence.`). A run starts without waiting for the phone to cool and keeps the runtime's cache files that an earlier run of the same file wrote.
14
  - **When they ran:** the questions and the photo ran after the timing runs. On the Galaxy S26 the 9 runs (8 questions and the photo, this file only) started at thermal status 1, one of them with a CPU clock cap (the CPU clock domain policy6, `/sys/devices/system/cpu/cpufreq/policy6`, at 4.34 of its 4.74 GHz); the photo run with the vision encoder on the CPU ran later, on its own, at thermal status 0. On the Pixel 11 Pro every run started at thermal status 1 except the previous file's first question (thermal status 0); 15 of the 18 runs had a CPU limit (its policy6 at 3.57–4.01 of its 4.11 GHz, in four of them also the phone's thermal utilization clamps: the cooling devices named `thermal-uclamp-*` in the phone's thermal service, a CPU limit other than the clock cap).
README.md CHANGED
@@ -22,8 +22,8 @@ Measured on device on an earlier file (edge-compat): Galaxy S26 · LiteRT-LM 0.1
22
 
23
  [OpenGVLab/InternVL3-2B](https://huggingface.co/OpenGVLab/InternVL3-2B) converted to the
24
  **LiteRT-LM** (`.litertlm`) format for **on-device image+text** inference with Google's
25
- [LiteRT-LM](https://github.com/google-ai-edge/litert-lm) runtime (the engine behind the official
26
- `litert-community/*` models, and the same runtime that runs `litert-community/FastVLM-0.5B`). On 2026-11-15 `InternVL3-2B.litertlm` was replaced with a file whose prefill/decode graph is rewritten for the GPU, with every weight unchanged. Outside the dated entries under Conversion notes, "this file" means that file and "the previous file" the one it replaced. On a Galaxy S26 GPU this file decodes 46.9 tokens/s and reads a 1,024-token text prompt at 711 tokens/s (LiteRT-LM v0.19.0).
27
 
28
  InternVL3-2B is a compact **vision-language model**: an **InternViT** vision encoder + pixel-shuffle +
29
  MLP projector feeding a **Qwen2.5-1.5B** language decoder. This bundle runs it through LiteRT-LM's
@@ -63,7 +63,7 @@ Two cats are sleeping on a pink blanket.
63
 
64
  This answer came from litert-lm 0.19.2 on a Mac (2026-11-15): in two runs of this file and one of the previous file, each given by its path (this file: the copy that was uploaded to this repo, with the same sha256; the previous file: downloaded from this repo), and in one run of the command exactly as above, which downloaded this file from this repo. With `--backend cpu --vision-backend cpu --cpu-thread-count 1 --cache no --max-num-tokens 2048` added, litert-lm 0.19.0, 0.19.1 and 0.19.2 gave the same answer with both files (2026-11-14).
65
 
66
- Leave `--vision-backend` unset, as above (the CLI then uses the bundle's own setting). With `--backend gpu` added and `--vision-backend` still unset, this file answers the picture (on a Mac with litert-lm 0.19.2, the same sentence; the run also prints one error line, `TopK requires src tensor C dimension to be divisible by 4.`). With `--backend gpu --vision-backend gpu`, neither this file nor the previous file answers a picture on a Mac (litert-lm 0.19.0 to 0.19.2; the reply is `An error occurred`); with litert-lm 0.19.2 the error log names two op types of the vision encoder that the GPU delegate does not take, BROADCAST_TO and GATHER_ND, and the runtime does not run the encoder split between the GPU and the CPU. On a Galaxy S26 and a Pixel 11 Pro (LiteRT-LM v0.19.0), `litert_lm_advanced_main` with the vision encoder on the GPU stops too (see the Galaxy S26 section).
67
 
68
  If `run` stops right after the download with no error message from the CLI (a bus error; exit status 138 on a Mac) or with an error log that contains `too large for file size`, the downloaded file may be incomplete. The litert-lm CLI (0.14.0 to 0.19.2, and litert-lm-nightly 0.20.0.dev20261112) can keep an incomplete download in `~/.litert-lm/cache/huggingface/litert-community/InternVL3-2B/` and uses it again on later runs without checking its size. Delete that file and run the command again.
69
 
@@ -89,12 +89,12 @@ The iPhone rows are carried over from this repository's own earlier on-device no
89
 
90
  Follow-up questions about the same image run in one conversation; from the second turn on, an answer can differ from the answer to the same messages in one prompt (see Known runtime issues).
91
 
92
- The image is described accurately and in detail. The vision tower converts faithfully to the
93
  reference (float CPU-parity corr ≈ 1.0); int8 vision weights keep grounding quality.
94
 
95
  ## Galaxy S26 — GPU and CPU
96
 
97
- Each run reads a 1,024-token text prompt and generates 256 tokens, three times (three iterations); iteration 1 is the first pass after the engine starts. The GPU row is the median of iterations 2–3 over two runs, so it leaves iteration 1 out; on the GPU, iteration 1 read the prompt faster and decoded more slowly than iterations 2 and 3 (this file's iteration 1: prefill 752–755 tok/s, decode 45.5–45.9 tok/s). On the CPU the median prefill and decode speeds drop from one iteration to the next, so each iteration has its own row: the median of that iteration over two runs.
98
 
99
  | Backend | Prefill, 1,024 tokens | Decode | Time to first token | Peak memory |
100
  |---|---:|---:|---:|---:|
@@ -103,17 +103,17 @@ Each run reads a 1,024-token text prompt and generates 256 tokens, three times (
103
  | CPU (XNNPACK for most nodes), iteration 2 | 129 tok/s | 31.7 tok/s | 7.95 s | 1.66 GB |
104
  | CPU (XNNPACK for most nodes), iteration 3 | 116 tok/s | 31.3 tok/s | 8.87 s | 1.66 GB |
105
 
106
- Samsung Galaxy S26 (SM-S942Q / SM8850, Android 16), `litert_lm_advanced_main` built from LiteRT-LM v0.19.0 (commit `771b06e1`), `--benchmark` with a 1,024-token text prefill and 256 decode tokens, context 2,048, 2026-11-15. Each run is a new process. The rows cover the text path. The GPU runs started at Android's thermal status 0 (none) and each ended at thermal status 1 (light), with the GPU's highest allowed clock one step down. The CPU runs started at thermal status 1 and reached thermal status 2 (moderate) 11–23 s in, where they stayed until they ended.
107
 
108
  In each of the four counted CPU runs (two per file, after one warm-up run that is not counted), the phone lowers the clock caps of its two CPU clock domains from 2–6 s in, to 1.56 / 1.50 GHz by 17–27 s in, so iterations 2 and 3 run at a lower clock than iteration 1.
109
 
110
- Peak memory is per run, so the three CPU rows share one value. It is the process's `VmHWM`: on the CPU 1.65–1.66 GB in this file's two counted runs (1.69 GB in the warm-up run) and 1.52–1.54 GB in the previous file's two. `VmHWM` does not count memory the GPU driver holds, so the GPU cell adds the rise of the phone's GPU allocation counter (`kgsl_page_alloc`) during each of this file's GPU runs (1.56 GB; 1.33 and 1.34 GB in the previous file's). In the counted CPU runs that counter did not rise with this file and rose by 0.01–0.02 GB with the previous file (0.08 GB in the warm-up run, a run of this file).
111
 
112
  With the vision encoder on the GPU (`--vision_backend=gpu`), `litert_lm_advanced_main` stops with exit status 13 before it reads the picture: with this file on this phone, and with this file and the previous one on a Pixel 11 Pro. Its log names two op types of the encoder that the GPU delegate does not take, BROADCAST_TO and GATHER_ND (on this phone, 13 of the encoder's 1,320 nodes). With the vision encoder on the CPU (`--vision_backend=cpu`) and the decoder on the GPU, this phone answered "Describe this picture in one sentence." about the photo under How to use with "Two cats are sleeping on a pink blanket, with a remote control nearby." (one run).
113
 
114
  On the GPU this file decodes 8–11 % faster than the previous file. Four runs went previous, this, this, previous (each run's mean of iterations 2–3): prefill 657, 716, 613 and 671 tok/s, decode 43.2, 46.7, 47.2 and 42.5 tok/s; from the previous file to this one, decode ×1.081 and prefill ×1.090 in the first two runs, decode ×1.110 and prefill ×0.915 in the last two. In this file's second run, iteration 2 prefilled at 504 tok/s, against 722–755 tok/s in its other two iterations. On the CPU, this file's prefill and decode medians in each iteration were between 0.7 % below and 0.4 % above those of the previous file; two counted runs of the same file differed by up to 4.3 %. The runs behind each number, and the S26 section this card carried for an earlier file: [MEASUREMENTS.md](MEASUREMENTS.md).
115
 
116
- On the Galaxy S26 the GPU decodes 1.3× as fast as the CPU's iteration 1 and 1.5× as fast as its iterations 2 and 3, and reads the prompt 3.0× and 5.5–6.1× as fast, so this repo's `litertlm_manifest.json` recommends `gpu` for flagship-class Android. That recommendation rests on the Galaxy S26 alone.
117
 
118
  GPU wiring, including the Gallery import toggle: [GPU guide](https://github.com/john-rocky/hf-to-litertlm/blob/main/docs/android-gpu.md).
119
 
@@ -135,8 +135,8 @@ still truncates on GPU.) **For reliable multi-image, run on the CPU backend.** T
135
 
136
  ## Run on iPhone / macOS
137
 
138
- Use the LiteRT-LM Swift runtime ([swift-litert-lm](https://github.com/google-ai-edge/litert-lm) /
139
- the `LiteRTDemo` sample). Load `InternVL3-2B.litertlm` with the **image (vision) tower enabled**
140
  (modalities `[.vision]`), attach a photo, and ask a question.
141
 
142
  > Note for app integrators: this is a **vision-only** bundle (no audio tower). Bring up the engine with
@@ -165,9 +165,9 @@ These steps were written for an earlier file and were not repeated with this one
165
 
166
  ## Run on desktop (LiteRT-LM CLI)
167
 
168
- The same `.litertlm` bundle runs on macOS / Linux / Windows with the official
169
- [LiteRT-LM CLI](https://github.com/google-ai-edge/LiteRT-LM) — including as a
170
- local **OpenAI-compatible API server**:
171
 
172
  ```bash
173
  pip install litert-lm
@@ -203,15 +203,15 @@ The bundle's `LlmMetadata start_token` held the literal string `"None"`. This to
203
 
204
  ### 2026-08-29 — default system prompt restored (weights unchanged)
205
 
206
- The upstream chat template emits a default system turn whenever the caller sends no system message — for this model: *你是书生·万象,英文名是InternVL,是由上海人工智能实验室、清华大学及多家合作单位联合开发的多模态大语言模型。*. The converter's template probe renders the template with a system message already present, so that block was never seen and never reached the bundle: with no system message the model was running without the default system turn it was tuned with. The chat template in `InternVL3-2B.litertlm` now emits the block exactly once when no system message is given. In `InternVL3-2B.litertlm`, the block is not emitted when you pass a system message. The restored block adds 37 prefill tokens to a conversation that sends no system message, so time-to-first-token grows by that much; per-token speed is unchanged.
207
 
208
  **Metadata-only change**: every section of the bundle except the `LlmMetadata` block is byte-identical to the previous file (verified by sha256 per section), so the weights, the graph and the tokenizer are unchanged and the speed and memory numbers on this card still describe exactly this file per token — only the file's own sha256 differs. What changed is the input: with no system message, the prompt now renders byte-identical to the upstream chat template's output, verified on the LiteRT-LM runtime. A system message you pass yourself renders as before. Greedy decoding can turn on a single token, so an individual answer can differ from the previous file. Unless a row says otherwise, the accuracy figures on this card were measured on the previous file and have not been re-measured on this one. If you downloaded before 2026-08-29, re-download.
209
 
210
  ### 2026-08-30 — tokenizer section replaced (weights unchanged)
211
 
212
- The tokenizer in `InternVL3-2B.litertlm` was a SentencePiece conversion of the model's BPE tokenizer, and the conversion lost the byte-level semantics: a standalone accented letter or symbol (`é`, `ñ`, `ü`, `°`, `·`, …) was encoded to the id of a single-byte token instead of the token the upstream tokenizer uses, and any character without a whole-character vocabulary entry (emoji, most of Latin Extended-A) became the token the conversion had reused as UNK — the end-of-text token for this vocabulary. `InternVL3-2B.litertlm` now embeds the upstream `tokenizer.json` (the same HF tokenizer path most bundles in this collection use).
213
 
214
- **Tokenizer-only change**: every section of the bundle except the tokenizer is byte-identical to the previous file (verified by sha256 per section), so the weights, the graph and the chat template are unchanged and the speed and memory numbers on this card still describe this file per token — only the file's own sha256 differs. Verified on the LiteRT-LM runtime: the default turn, 7 probe strings, the 223 standalone characters U+00A1–U+017F and every special token now tokenize identically to the upstream tokenizer, and the four ASCII-only test questions answer byte-identically to the previous file (same ids in, same tokens out). Prompts containing accented letters, symbols or emoji reach the model differently from before, so individual answers to such prompts can change. Unless a row says otherwise, the accuracy figures on this card were measured on the previous file, and any on-device rows were measured on the previous file too — the on-device check has not been re-run on this one (the runtime's tokenizer code is the same on macOS and on device; the weights and graph are byte-identical). If you downloaded before 2026-08-30, re-download.
215
 
216
  ### 2026-08-31 — chat template fix: history turns with role 'assistant' (metadata-only, weights unchanged)
217
 
 
22
 
23
  [OpenGVLab/InternVL3-2B](https://huggingface.co/OpenGVLab/InternVL3-2B) converted to the
24
  **LiteRT-LM** (`.litertlm`) format for **on-device image+text** inference with Google's
25
+ [LiteRT-LM](https://github.com/google-ai-edge/litert-lm) runtime
26
+ (the same runtime that runs `litert-community/FastVLM-0.5B`). On 2026-11-15 `InternVL3-2B.litertlm` was replaced with a file whose prefill/decode graph is rewritten for the GPU, with every weight unchanged. Outside the dated entries under Conversion notes, "this file" means that file and "the previous file" the one it replaced. On a Galaxy S26 GPU this file decodes 46.9 tokens/s and prefills 1,024 tokens at 711 tokens/s (LiteRT-LM v0.19.0).
27
 
28
  InternVL3-2B is a compact **vision-language model**: an **InternViT** vision encoder + pixel-shuffle +
29
  MLP projector feeding a **Qwen2.5-1.5B** language decoder. This bundle runs it through LiteRT-LM's
 
63
 
64
  This answer came from litert-lm 0.19.2 on a Mac (2026-11-15): in two runs of this file and one of the previous file, each given by its path (this file: the copy that was uploaded to this repo, with the same sha256; the previous file: downloaded from this repo), and in one run of the command exactly as above, which downloaded this file from this repo. With `--backend cpu --vision-backend cpu --cpu-thread-count 1 --cache no --max-num-tokens 2048` added, litert-lm 0.19.0, 0.19.1 and 0.19.2 gave the same answer with both files (2026-11-14).
65
 
66
+ Leave `--vision-backend` unset, as above: this file, like the previous one, sets no default backend, so with `--backend` and `--vision-backend` both unset, litert-lm 0.19.0 to 0.19.2 run the decoder and the vision encoder on the CPU (unless a backend is set for the model in the CLI's config). With `--backend gpu` added and `--vision-backend` still unset, this file answers the picture (on a Mac with litert-lm 0.19.2, the same sentence; the run also prints one error line, `TopK requires src tensor C dimension to be divisible by 4.`). With `--backend gpu --vision-backend gpu`, neither this file nor the previous file answers a picture on a Mac (litert-lm 0.19.0 to 0.19.2; the reply is `An error occurred`); with litert-lm 0.19.2 the error log names two op types of the vision encoder that the GPU delegate does not take, BROADCAST_TO and GATHER_ND, and the runtime does not run the encoder split between the GPU and the CPU. On a Galaxy S26 and a Pixel 11 Pro (LiteRT-LM v0.19.0), `litert_lm_advanced_main` with the vision encoder on the GPU stops too (see the Galaxy S26 section).
67
 
68
  If `run` stops right after the download with no error message from the CLI (a bus error; exit status 138 on a Mac) or with an error log that contains `too large for file size`, the downloaded file may be incomplete. The litert-lm CLI (0.14.0 to 0.19.2, and litert-lm-nightly 0.20.0.dev20261112) can keep an incomplete download in `~/.litert-lm/cache/huggingface/litert-community/InternVL3-2B/` and uses it again on later runs without checking its size. Delete that file and run the command again.
69
 
 
89
 
90
  Follow-up questions about the same image run in one conversation; from the second turn on, an answer can differ from the answer to the same messages in one prompt (see Known runtime issues).
91
 
92
+ This paragraph was written for an earlier file and was not re-checked with this one. The image is described accurately and in detail. The vision tower converts faithfully to the
93
  reference (float CPU-parity corr ≈ 1.0); int8 vision weights keep grounding quality.
94
 
95
  ## Galaxy S26 — GPU and CPU
96
 
97
+ Each run prefills 1,024 tokens and generates 256 tokens, three times (three iterations): the runtime's benchmark mode puts the prompt file's one sentence ("Explain what on-device AI means in simple terms.") in the chat template as a user message and pads the tokens to 1,024 with token id 0. Iteration 1 is the first pass after the engine starts. The GPU row is the median of iterations 2–3 over two runs, so it leaves iteration 1 out; on the GPU, iteration 1 prefilled faster and decoded more slowly than iterations 2 and 3 (this file's iteration 1: prefill 752–755 tok/s, decode 45.5–45.9 tok/s). On the CPU the median prefill and decode speeds drop from one iteration to the next, so each iteration has its own row: the median of that iteration over two runs.
98
 
99
  | Backend | Prefill, 1,024 tokens | Decode | Time to first token | Peak memory |
100
  |---|---:|---:|---:|---:|
 
103
  | CPU (XNNPACK for most nodes), iteration 2 | 129 tok/s | 31.7 tok/s | 7.95 s | 1.66 GB |
104
  | CPU (XNNPACK for most nodes), iteration 3 | 116 tok/s | 31.3 tok/s | 8.87 s | 1.66 GB |
105
 
106
+ Samsung Galaxy S26 (SM-S942Q / SM8850, Android 16), `litert_lm_advanced_main` built from the LiteRT-LM v0.19.0 source (commit `771b06e1`; the v0.19.0 tag is on the next commit, which changes only `Package.swift` and `README.md`), `--benchmark` with 1,024 prefill tokens and 256 decode tokens, context 2,048, 2026-11-15. Each run is a new process. The rows cover the text path. The GPU runs started at Android's thermal status 0 (none) and each ended at thermal status 1 (light), with the GPU's highest allowed clock one step down. The CPU runs started at thermal status 1 and reached thermal status 2 (moderate) 11–23 s in, where they stayed until they ended.
107
 
108
  In each of the four counted CPU runs (two per file, after one warm-up run that is not counted), the phone lowers the clock caps of its two CPU clock domains from 2–6 s in, to 1.56 / 1.50 GHz by 17–27 s in, so iterations 2 and 3 run at a lower clock than iteration 1.
109
 
110
+ Peak memory is per run, so the three CPU rows share one value. It is the process's `VmHWM`: on the CPU 1.65–1.66 GB in this file's two counted runs (1.69 GB in the warm-up run) and 1.52–1.54 GB in the previous file's two. `VmHWM` does not count memory the GPU driver holds, so the GPU row adds the rise of the phone's GPU allocation counter (`kgsl_page_alloc`) during each of this file's GPU runs (1.56 GB; 1.33 and 1.34 GB in the previous file's). In the counted CPU runs that counter did not rise with this file and rose by 0.01–0.02 GB with the previous file (0.08 GB in the warm-up run, a run of this file).
111
 
112
  With the vision encoder on the GPU (`--vision_backend=gpu`), `litert_lm_advanced_main` stops with exit status 13 before it reads the picture: with this file on this phone, and with this file and the previous one on a Pixel 11 Pro. Its log names two op types of the encoder that the GPU delegate does not take, BROADCAST_TO and GATHER_ND (on this phone, 13 of the encoder's 1,320 nodes). With the vision encoder on the CPU (`--vision_backend=cpu`) and the decoder on the GPU, this phone answered "Describe this picture in one sentence." about the photo under How to use with "Two cats are sleeping on a pink blanket, with a remote control nearby." (one run).
113
 
114
  On the GPU this file decodes 8–11 % faster than the previous file. Four runs went previous, this, this, previous (each run's mean of iterations 2–3): prefill 657, 716, 613 and 671 tok/s, decode 43.2, 46.7, 47.2 and 42.5 tok/s; from the previous file to this one, decode ×1.081 and prefill ×1.090 in the first two runs, decode ×1.110 and prefill ×0.915 in the last two. In this file's second run, iteration 2 prefilled at 504 tok/s, against 722–755 tok/s in its other two iterations. On the CPU, this file's prefill and decode medians in each iteration were between 0.7 % below and 0.4 % above those of the previous file; two counted runs of the same file differed by up to 4.3 %. The runs behind each number, and the S26 section this card carried for an earlier file: [MEASUREMENTS.md](MEASUREMENTS.md).
115
 
116
+ On the Galaxy S26 the GPU decodes 1.3× as fast as the CPU's iteration 1 and 1.5× as fast as its iterations 2 and 3, and prefills 3.0× and 5.5–6.1× as fast, so this repo's `litertlm_manifest.json` recommends `gpu` for flagship-class Android. That recommendation rests on the Galaxy S26 alone.
117
 
118
  GPU wiring, including the Gallery import toggle: [GPU guide](https://github.com/john-rocky/hf-to-litertlm/blob/main/docs/android-gpu.md).
119
 
 
135
 
136
  ## Run on iPhone / macOS
137
 
138
+ Use [swift-litert-lm](https://github.com/john-rocky/swift-litert-lm), a community Swift package over the LiteRT-LM runtime,
139
+ and its `LiteRTDemo` sample. Load `InternVL3-2B.litertlm` with the **image (vision) tower enabled**
140
  (modalities `[.vision]`), attach a photo, and ask a question.
141
 
142
  > Note for app integrators: this is a **vision-only** bundle (no audio tower). Bring up the engine with
 
165
 
166
  ## Run on desktop (LiteRT-LM CLI)
167
 
168
+ The same `.litertlm` bundle runs with the official
169
+ [LiteRT-LM CLI](https://github.com/google-ai-edge/LiteRT-LM), which is published for macOS, Linux and Windows — including as a
170
+ local **OpenAI-compatible API server** (these commands were written for an earlier file and were not run with this one; on desktop this file was run on macOS only):
171
 
172
  ```bash
173
  pip install litert-lm
 
203
 
204
  ### 2026-08-29 — default system prompt restored (weights unchanged)
205
 
206
+ The upstream chat template emits a default system turn whenever the caller sends no system message — for this model: *你是书生·万象,英文名是InternVL,是由上海人工智能实验室、清华大学及多家合作单位联合开发的多模态大语言模型。*. The converter's template test renders the template with a system message already present, so that block was never seen and never reached the bundle: with no system message the model was running without the default system turn it was tuned with. The chat template in `InternVL3-2B.litertlm` now emits the block exactly once when no system message is given. In `InternVL3-2B.litertlm`, the block is not emitted when you pass a system message. The restored block adds 37 prefill tokens to a conversation that sends no system message, so time-to-first-token grows by that much; per-token speed is unchanged.
207
 
208
  **Metadata-only change**: every section of the bundle except the `LlmMetadata` block is byte-identical to the previous file (verified by sha256 per section), so the weights, the graph and the tokenizer are unchanged and the speed and memory numbers on this card still describe exactly this file per token — only the file's own sha256 differs. What changed is the input: with no system message, the prompt now renders byte-identical to the upstream chat template's output, verified on the LiteRT-LM runtime. A system message you pass yourself renders as before. Greedy decoding can turn on a single token, so an individual answer can differ from the previous file. Unless a row says otherwise, the accuracy figures on this card were measured on the previous file and have not been re-measured on this one. If you downloaded before 2026-08-29, re-download.
209
 
210
  ### 2026-08-30 — tokenizer section replaced (weights unchanged)
211
 
212
+ The tokenizer in `InternVL3-2B.litertlm` was a SentencePiece conversion of the model's BPE tokenizer, and the conversion lost the byte-level semantics: a standalone accented letter or symbol (`é`, `ñ`, `ü`, `°`, `·`, …) was encoded to the id of a single-byte token instead of the token the upstream tokenizer uses, and 36 of the 223 standalone characters U+00A1–U+017F in the checks (`¡`, `Ā` to `ġ`, and `Ų`) became the token the conversion had reused as UNK — the end-of-text token for this vocabulary. `InternVL3-2B.litertlm` now embeds the upstream `tokenizer.json` (the same HF tokenizer path most bundles in this collection use).
213
 
214
+ **Tokenizer-only change**: every section of the bundle except the tokenizer is byte-identical to the previous file (verified by sha256 per section), so the weights, the graph and the chat template are unchanged and the speed and memory numbers on this card still describe this file per token — only the file's own sha256 differs. Verified on the LiteRT-LM runtime: one user message ("What is the capital of France?") as the chat template renders it, 7 test strings, the 223 standalone characters U+00A1–U+017F and every special token now tokenize identically to the upstream tokenizer. A conversation without a system message of your own reaches the model differently from before, because the `·` in the default system prompt above now gets the upstream tokenizer's token; text with accented letters, symbols or non-Latin scripts and a short Python snippet did too in the checks. So answers can change: of the four ASCII-only test questions, one ("A shop sells pens at 3 for $2. How much do 12 pens cost?") gave the same first 48 tokens as the previous file (the check stopped at 48 tokens) and three did not. Unless a row says otherwise, the accuracy figures on this card were measured on the previous file, and any on-device rows were measured on the previous file too — the on-device check has not been re-run on this one (the runtime's tokenizer code is the same on macOS and on device; the weights and graph are byte-identical). If you downloaded before 2026-08-30, re-download.
215
 
216
  ### 2026-08-31 — chat template fix: history turns with role 'assistant' (metadata-only, weights unchanged)
217
 
litertlm_manifest.json CHANGED
@@ -1,7 +1,7 @@
1
  {
2
  "manifest_schema": "0.1.3",
3
  "repo": "litert-community/InternVL3-2B",
4
- "generated": "2026-11-15",
5
  "generator": "make_manifest.py",
6
  "model": {
7
  "display_name": "InternVL3-2B",
@@ -85,12 +85,12 @@
85
  "platform": "android",
86
  "device_class": "flagship",
87
  "backend": "gpu",
88
- "reason": "measured on one Galaxy S26 with one binary (litert_lm_advanced_main, LiteRT-LM v0.19.0 source build 771b06e1; 1,024-token prefill, 256 decode tokens; 2026-11-15): GPU 46.895 tok/s decode / 710.955 prefill, the median of iterations 2-3 over 2 runs, peak 739,368 kB VmHWM plus a 1.56 GB rise of the GPU driver's allocation counter (kgsl_page_alloc), against CPU 36.525 decode / 238.75 prefill in iteration 1 and 31.265 / 115.88 in iteration 3 (the median of each over 2 runs; in each counted run the phone lowers the clock caps of its two CPU clock domains from 2-6 s in to 1.56 / 1.50 GHz by 17-27 s in), peak 1,616,556 kB VmHWM in the 2 counted runs, with no rise of that counter in them. The GPU decodes 1.3x as fast as the CPU's iteration 1 and 1.5x as fast as its iteration 3, and prefills 3.0x and 6.1x as fast. On a Pixel 11 Pro only the GPU was measured, so whether the GPU is the faster backend there is not known"
89
  },
90
  {
91
  "platform": "macos",
92
  "backend": "cpu",
93
- "reason": "on litert-lm 0.15.0 the macOS GPU backend answered an image question with a run of `!`; with that version, use the CPU backend on the desktop. With litert-lm 0.19.0-0.19.2 and --backend gpu the Mac answered a text question (the same reply from this file and the previous one, 2026-11-14), and with litert-lm 0.19.2 and --backend gpu --vision-backend cpu it answered the picture with the sentence the Mac CPU gives (2026-11-15); no Mac speed was measured with these versions"
94
  }
95
  ],
96
  "requirements": {
@@ -100,9 +100,9 @@
100
  "Vision-only bundle (no audio tower): bring up the engine with the vision modality only (Modality.textImage / [.vision]); requesting the audio tower (.all) fails at session creation.",
101
  "Earlier file (Galaxy S26 GPU check, 2026-08-25): its prompt carried no image, so it covered engine creation and the text path only.",
102
  "Galaxy S26 GPU: XNNPACK additionally takes 1 of the 4 nodes in `main` (the earlier file's 2026-08-25 check and this file's 2026-11-15 runs); the runtime accepts that split.",
103
- "2026-08-28 start_token fix (metadata-only, weights unchanged): the literal start token \"None\" was removed. The card's accuracy figures were measured on the file before 2026-08-28 and not re-measured.",
104
- "2026-08-29 default system prompt restored (metadata-only, weights unchanged): with no system message the prompt now adds 37 prefill tokens, so time-to-first-token grows by that much; per-token speed is unchanged. The card's accuracy figures were measured on the file before 2026-08-29 and not re-measured.",
105
- "2026-08-30 tokenizer section replaced with the upstream tokenizer.json (weights unchanged): answers to prompts with accented letters/symbols/emoji can change; the card's accuracy figures and its on-device rows of that time were measured on earlier files, and the on-device check was not re-run on the 2026-08-30 file.",
106
  "2026-08-31 chat template fix (metadata-only, weights unchanged): history turns with role 'assistant' are now accepted; single-turn renders, token ids, prefill counts and greedy answers are unchanged, so the card's numbers of that time also described the 2026-08-31 file.",
107
  "Not a measured row: card reports iPhone 17 Pro cpu decode_tps 20 (Performance table (iPhone rows carried over from the repository's earlier on-device note; run logs not retained); runtime/run count not stated)",
108
  "Not a measured row: card reports iPhone 17 Pro gpu decode_tps 45 (Performance table (iPhone rows carried over from the repository's earlier on-device note; run logs not retained); runtime/run count not stated)",
@@ -137,7 +137,7 @@
137
  "peak_memory_mb": 736,
138
  "runs": 1,
139
  "date": "2026-08-25",
140
- "source": "benchmark with a 203-token prompt, the first of 2 runs (the second: prefill 573.22, decode 34.4 tok/s, time to first token 0.38 s); full delegation (3618 ops across 3 subgraphs); the generated answer to the test question was correct. The Galaxy S26 cpu row of 2026-09-05 is its same-device control; measured on an earlier file (before 2026-11-15)"
141
  },
142
  {
143
  "device": "Galaxy S26 (SM-S942Q, Qualcomm SM8850, Adreno)",
@@ -153,13 +153,13 @@
153
  "cache": "no",
154
  "runs": 2,
155
  "date": "2026-09-05",
156
- "source": "same-device CPU control - identical binary, prompt file and flags, only --backend differs; 205-token prompt with --benchmark, 2 cold runs (compile/weight caches deleted between runs, device cooled below 42 C before each run); measured on an earlier file (before 2026-11-15)"
157
  },
158
  {
159
  "device": "Galaxy S26 (SM-S942Q, Qualcomm SM8850, Adreno)",
160
  "os": "Android",
161
  "backend": "gpu",
162
- "runtime": "litert_lm_advanced_main v0.19.0 (source build 771b06e1), LiteRT GPU (LITERT_CL)",
163
  "prompt_tokens": 1024,
164
  "decode_tokens": 256,
165
  "prefill_tps": 710.955,
@@ -171,13 +171,13 @@
171
  "cache": "no",
172
  "runs": 2,
173
  "date": "2026-11-15",
174
- "source": "--benchmark, text prompt, 3 iterations per run, the median of iterations 2-3 over 2 runs; every run started at thermal status 0 after 134-162 s of rest and ended at thermal status 1 with the GPU driver's thermal power level 1 (0 = no limit); every node of the prefill and decode graphs delegated; the previous file measured back to back (previous, new, new, previous): 668.365 prefill / 42.71 decode; per run (mean of iterations 2-3) this file prefilled 1.090 and 0.915 times as fast as the previous file in the two pairs and decoded 1.081 and 1.110 times as fast; in the second run of this file iteration 2 prefilled at 504.32 tok/s (time to first token 2.05 s); peak_memory_mb is the process's VmHWM and leaves out GPU driver memory (the phone's kgsl_page_alloc counter rose by 1.56 GB during each of this file's GPU runs and 1.33-1.34 GB during the previous file's)"
175
  },
176
  {
177
  "device": "Galaxy S26 (SM-S942Q, Qualcomm SM8850, Adreno)",
178
  "os": "Android",
179
  "backend": "cpu",
180
- "runtime": "litert_lm_advanced_main v0.19.0 (source build 771b06e1), XNNPACK for most nodes, the default thread count (4)",
181
  "prompt_tokens": 1024,
182
  "decode_tokens": 256,
183
  "prefill_tps": "115.88-238.75",
@@ -189,13 +189,13 @@
189
  "cache": "no",
190
  "runs": 2,
191
  "date": "2026-11-15",
192
- "source": "--benchmark, text prompt, 3 iterations per run; the high end is iteration 1 and the low end iteration 3, the median of each over 2 runs (iteration 2: 129.46 / 31.71); one warm-up run of this file before the 2 counted runs, not counted; every run started at thermal status 1 (Android's light level) with no CPU clock cap and reached thermal status 2 (moderate) 11-23 s in, where it stayed until it ended, the counted runs after 153-154 s of rest and the warm-up run after 143 s; in each of the 4 counted runs (2 per file) the phone lowers the clock caps of both CPU clock domains from 2-6 s into the run to 1.56 / 1.50 GHz by 17-27 s in (the runs took 46-48 s), so iterations 2 and 3 run at a lower clock than iteration 1; peak_memory_mb is the highest VmHWM of the 2 counted runs (1,616,556 kB; 1,646,296 kB in the warm-up run), and the phone's GPU allocation counter (kgsl_page_alloc) did not rise during this file's 2 counted runs and rose by 13.7-22.0 MB during the previous file's (80.9 MB in the warm-up run); the previous file measured back to back: 240.335 / 36.535 (iteration 1), 129.6 / 31.595 (iteration 2) and 115.625 / 31.18 (iteration 3), peak 1,507,060 kB; this file's prefill and decode medians are 0.7 % below to 0.4 % above the previous file's, and two counted runs of the same file differ by up to 4.3 %"
193
  },
194
  {
195
  "device": "Pixel 11 Pro",
196
  "os": "Android",
197
  "backend": "gpu",
198
- "runtime": "litert_lm_advanced_main v0.19.0 (source build 771b06e1), LiteRT GPU",
199
  "prompt_tokens": 1024,
200
  "decode_tokens": 256,
201
  "prefill_tps": 628.545,
@@ -207,7 +207,7 @@
207
  "cache": "no",
208
  "runs": 2,
209
  "date": "2026-11-14",
210
- "source": "--benchmark, text prompt, 3 iterations per run, the median of iterations 2-3 over 2 runs; every run started at thermal status 0 after 152-209 s of rest; the previous file measured back to back (previous, new, new, previous): 587.23 prefill / 16.86 decode; peak_memory_mb is the process's VmHWM, and the memory the GPU driver holds was not read on this phone; the Pixel 11 Pro CPU was not measured"
211
  }
212
  ],
213
  "known_issues": [
 
1
  {
2
  "manifest_schema": "0.1.3",
3
  "repo": "litert-community/InternVL3-2B",
4
+ "generated": "2026-11-17",
5
  "generator": "make_manifest.py",
6
  "model": {
7
  "display_name": "InternVL3-2B",
 
85
  "platform": "android",
86
  "device_class": "flagship",
87
  "backend": "gpu",
88
+ "reason": "measured on one Galaxy S26 with one binary (litert_lm_advanced_main, built from the LiteRT-LM v0.19.0 source, commit 771b06e1; 1,024-token prefill, 256 decode tokens; 2026-11-15): GPU 46.895 tok/s decode / 710.955 prefill, the median of iterations 2-3 over 2 runs, peak 739,368 kB VmHWM plus a 1.56 GB rise of the GPU driver's allocation counter (kgsl_page_alloc), against CPU 36.525 decode / 238.75 prefill in iteration 1 and 31.265 / 115.88 in iteration 3 (the median of each over 2 runs; in each counted run the phone lowers the clock caps of its two CPU clock domains from 2-6 s in to 1.56 / 1.50 GHz by 17-27 s in), peak 1,616,556 kB VmHWM in the 2 counted runs, with no rise of that counter in them. The GPU decodes 1.3x as fast as the CPU's iteration 1 and 1.5x as fast as its iteration 3, and prefills 3.0x and 6.1x as fast. On a Pixel 11 Pro only the GPU was measured, so whether the GPU is the faster backend there is not known"
89
  },
90
  {
91
  "platform": "macos",
92
  "backend": "cpu",
93
+ "reason": "on litert-lm 0.15.0, with an earlier file, the macOS GPU backend answered an image question with a run of `!`; with that version, use the CPU backend on the desktop. With litert-lm 0.19.0-0.19.2 and --backend gpu the Mac answered a text question (the same reply from this file and the previous one, 2026-11-14), and with litert-lm 0.19.2 and --backend gpu --vision-backend cpu it answered the picture with the sentence the Mac CPU gives (2026-11-15); no Mac speed was measured with these versions"
94
  }
95
  ],
96
  "requirements": {
 
100
  "Vision-only bundle (no audio tower): bring up the engine with the vision modality only (Modality.textImage / [.vision]); requesting the audio tower (.all) fails at session creation.",
101
  "Earlier file (Galaxy S26 GPU check, 2026-08-25): its prompt carried no image, so it covered engine creation and the text path only.",
102
  "Galaxy S26 GPU: XNNPACK additionally takes 1 of the 4 nodes in `main` (the earlier file's 2026-08-25 check and this file's 2026-11-15 runs); the runtime accepts that split.",
103
+ "2026-08-28 start_token fix (metadata-only, weights unchanged): the literal start token \"None\" was removed. The card's accuracy figures of that time were measured on the file before 2026-08-28 and not re-measured then.",
104
+ "2026-08-29 default system prompt restored (metadata-only, weights unchanged): with no system message the prompt now adds 37 prefill tokens, so time-to-first-token grows by that much; per-token speed is unchanged. The card's accuracy figures of that time were measured on the file before 2026-08-29 and not re-measured then.",
105
+ "2026-08-30 tokenizer section replaced with the upstream tokenizer.json (weights unchanged): answers can change, because a conversation that sends no system message reaches the model differently from before (the `·` in the default system prompt now gets the upstream tokenizer's token), and in the checks so did text with accented letters, symbols or non-Latin scripts and a short Python snippet; the card's accuracy figures and its on-device rows of that time were measured on earlier files, and the on-device check was not re-run on the 2026-08-30 file.",
106
  "2026-08-31 chat template fix (metadata-only, weights unchanged): history turns with role 'assistant' are now accepted; single-turn renders, token ids, prefill counts and greedy answers are unchanged, so the card's numbers of that time also described the 2026-08-31 file.",
107
  "Not a measured row: card reports iPhone 17 Pro cpu decode_tps 20 (Performance table (iPhone rows carried over from the repository's earlier on-device note; run logs not retained); runtime/run count not stated)",
108
  "Not a measured row: card reports iPhone 17 Pro gpu decode_tps 45 (Performance table (iPhone rows carried over from the repository's earlier on-device note; run logs not retained); runtime/run count not stated)",
 
137
  "peak_memory_mb": 736,
138
  "runs": 1,
139
  "date": "2026-08-25",
140
+ "source": "benchmark with a 203-token prompt, the first of 2 runs (the second: prefill 573.22, decode 34.4 tok/s, time to first token 0.38 s); full delegation (3618 ops across 3 subgraphs); the generated answer to the test question was correct. The Galaxy S26 cpu row of 2026-09-05 was measured on a different file (1,429,640,560 B; this row's file: 1,430,312,304 B) with a 239-token prompt, so it is not this row's same-device control; measured on an earlier file (before 2026-11-15)"
141
  },
142
  {
143
  "device": "Galaxy S26 (SM-S942Q, Qualcomm SM8850, Adreno)",
 
153
  "cache": "no",
154
  "runs": 2,
155
  "date": "2026-09-05",
156
+ "source": "--benchmark with a 239-token prompt (182 decode tokens), on a file of 1,429,640,560 B (sha256 cb7d63cb…), not the file of the Galaxy S26 gpu row of 2026-08-25, 2 cold runs (compile/weight caches deleted between runs, device cooled below 42 C before each run); measured on an earlier file (before 2026-11-15)"
157
  },
158
  {
159
  "device": "Galaxy S26 (SM-S942Q, Qualcomm SM8850, Adreno)",
160
  "os": "Android",
161
  "backend": "gpu",
162
+ "runtime": "litert_lm_advanced_main v0.19.0 source (commit 771b06e1, the parent of the v0.19.0 tag commit), LiteRT GPU (LITERT_CL)",
163
  "prompt_tokens": 1024,
164
  "decode_tokens": 256,
165
  "prefill_tps": 710.955,
 
171
  "cache": "no",
172
  "runs": 2,
173
  "date": "2026-11-15",
174
+ "source": "--benchmark (the prompt file's one sentence in the chat template, padded with token id 0 to 1,024 prefill tokens), 3 iterations per run, the median of iterations 2-3 over 2 runs; this file's two runs started at thermal status 0 after 152 and 162 s of rest and ended at thermal status 1 with the GPU driver's thermal power level 1 (0 = no limit); every node of the prefill and decode graphs delegated; the previous file measured back to back (previous, new, new, previous): 668.365 prefill / 42.71 decode; per run (mean of iterations 2-3) this file prefilled 1.090 and 0.915 times as fast as the previous file in the two pairs and decoded 1.081 and 1.110 times as fast; in the second run of this file iteration 2 prefilled at 504.32 tok/s (time to first token 2.05 s); peak_memory_mb is the process's VmHWM and leaves out GPU driver memory (the phone's kgsl_page_alloc counter rose by 1.56 GB during each of this file's GPU runs and 1.33-1.34 GB during the previous file's)"
175
  },
176
  {
177
  "device": "Galaxy S26 (SM-S942Q, Qualcomm SM8850, Adreno)",
178
  "os": "Android",
179
  "backend": "cpu",
180
+ "runtime": "litert_lm_advanced_main v0.19.0 source (commit 771b06e1, the parent of the v0.19.0 tag commit), XNNPACK for most nodes, the default thread count (4)",
181
  "prompt_tokens": 1024,
182
  "decode_tokens": 256,
183
  "prefill_tps": "115.88-238.75",
 
189
  "cache": "no",
190
  "runs": 2,
191
  "date": "2026-11-15",
192
+ "source": "--benchmark (the prompt file's one sentence in the chat template, padded with token id 0 to 1,024 prefill tokens), 3 iterations per run; the high end is iteration 1 and the low end iteration 3, the median of each over 2 runs (iteration 2: 129.46 / 31.71); one warm-up run of this file before the 2 counted runs, not counted; every run started at thermal status 1 (Android's light level) with no CPU clock cap and reached thermal status 2 (moderate) 11-23 s in, where it stayed until it ended, the counted runs after 153-154 s of rest and the warm-up run after 143 s; in each of the 4 counted runs (2 per file) the phone lowers the clock caps of both CPU clock domains from 2-6 s into the run to 1.56 / 1.50 GHz by 17-27 s in (the runs took 46-48 s), so iterations 2 and 3 run at a lower clock than iteration 1; load_s is the median engine init of the 2 counted runs (2.33 and 2.34 s); peak_memory_mb is the highest VmHWM of the 2 counted runs (1,616,556 kB; 1,646,296 kB in the warm-up run), and the phone's GPU allocation counter (kgsl_page_alloc) did not rise during this file's 2 counted runs and rose by 13.7-22.0 MB during the previous file's (80.9 MB in the warm-up run); the previous file measured back to back: 240.335 / 36.535 (iteration 1), 129.6 / 31.595 (iteration 2) and 115.625 / 31.18 (iteration 3), peak 1,507,060 kB; this file's prefill and decode medians are 0.7 % below to 0.4 % above the previous file's, and two counted runs of the same file differ by up to 4.3 %"
193
  },
194
  {
195
  "device": "Pixel 11 Pro",
196
  "os": "Android",
197
  "backend": "gpu",
198
+ "runtime": "litert_lm_advanced_main v0.19.0 source (commit 771b06e1, the parent of the v0.19.0 tag commit), LiteRT GPU",
199
  "prompt_tokens": 1024,
200
  "decode_tokens": 256,
201
  "prefill_tps": 628.545,
 
207
  "cache": "no",
208
  "runs": 2,
209
  "date": "2026-11-14",
210
+ "source": "--benchmark (the prompt file's one sentence in the chat template, padded with token id 0 to 1,024 prefill tokens), 3 iterations per run, the median of iterations 2-3 over 2 runs; this file's two runs started at thermal status 0 after 152 and 175 s of rest; the previous file measured back to back (previous, new, new, previous): 587.23 prefill / 16.86 decode; peak_memory_mb is the process's VmHWM, and the memory the GPU driver holds was not read on this phone; the Pixel 11 Pro CPU was not measured"
211
  }
212
  ],
213
  "known_issues": [