Instructions to use litert-community/SmolLM3-3B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- LiteRT-LM
How to use litert-community/SmolLM3-3B with LiteRT-LM:
# LiteRT-LM runs on various platforms (Android, iOS, Windows, Linux, macOS, IoT, Web/WASM) # and supports many APIs (C++, Python, Kotlin, Swift, JavaScript, Flutter). # For platform-specific integration guides, please refer to the official developer website: # https://ai.google.dev/edge/litert-lm # To try LiteRT-LM, the easiest way is to use our CLI tool. # 1. Install the LiteRT-LM CLI tool: pip install -U litert-lm # 2. Download and run this model locally: # See: https://ai.google.dev/edge/litert-lm/cli # A single .litertlm file in the repo is picked automatically; otherwise the CLI asks which one to run # (or pass its name right after the repo id). litert-lm run \ --from-huggingface-repo=litert-community/SmolLM3-3B \ --prompt="Write me a poem"
- LiteRT
How to use litert-community/SmolLM3-3B with LiteRT:
# No code snippets available yet for this library. # To use this model, check the repository files and the library's documentation. # Want to help? PRs adding snippets are welcome at: # https://github.com/huggingface/huggingface.js
- Notebooks
- Google Colab
- Kaggle
Plain wording in the litertlm_manifest.json notes
Browse files- litertlm_manifest.json +175 -173
litertlm_manifest.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
{
|
| 2 |
"manifest_schema": "0.1.3",
|
| 3 |
"repo": "litert-community/SmolLM3-3B",
|
| 4 |
-
"generated": "2026-
|
| 5 |
"generator": "make_manifest.py",
|
| 6 |
"model": {
|
| 7 |
"display_name": "SmolLM3-3B",
|
|
@@ -31,169 +31,6 @@
|
|
| 31 |
}
|
| 32 |
},
|
| 33 |
"variants": [
|
| 34 |
-
{
|
| 35 |
-
"file": "SmolLM3-3B.litertlm",
|
| 36 |
-
"sha256": "f3c9cee57342b8d7e9507126c754f74263ce8394afc5658cd79585ba89453244",
|
| 37 |
-
"size_bytes": 3125231616,
|
| 38 |
-
"sections": [
|
| 39 |
-
{
|
| 40 |
-
"type": "LlmMetadataProto",
|
| 41 |
-
"size_bytes": 3318
|
| 42 |
-
},
|
| 43 |
-
{
|
| 44 |
-
"type": "HF_Tokenizer_Zlib",
|
| 45 |
-
"size_bytes": 2608153
|
| 46 |
-
},
|
| 47 |
-
{
|
| 48 |
-
"type": "TFLiteModel",
|
| 49 |
-
"size_bytes": 47617352,
|
| 50 |
-
"model_type": "tf_lite_prefill_decode"
|
| 51 |
-
},
|
| 52 |
-
{
|
| 53 |
-
"type": "TFLiteWeights",
|
| 54 |
-
"size_bytes": 3074949120,
|
| 55 |
-
"model_type": "tf_lite_prefill_decode"
|
| 56 |
-
}
|
| 57 |
-
],
|
| 58 |
-
"quantization": "int8 weights, channelwise (every FULLY_CONNECTED weight in the bundle is INT8/channelwise: 253 of 253 read from the file)",
|
| 59 |
-
"backends": [
|
| 60 |
-
"cpu",
|
| 61 |
-
"gpu"
|
| 62 |
-
],
|
| 63 |
-
"default_backend": "cpu",
|
| 64 |
-
"recommended": [
|
| 65 |
-
{
|
| 66 |
-
"platform": "android",
|
| 67 |
-
"device_class": "flagship",
|
| 68 |
-
"backend": "gpu",
|
| 69 |
-
"reason": "Galaxy S26 (SM-S942Q, Android 16), litert_lm_advanced_main from LiteRT-LM main (2026-09-18 build), OpenCL delegate: decode, prefill_256 and prefill_16 fully delegated, one partition each (1346/1346, 1512/1512, 1512/1512 nodes), and 5 of 5 gate prompts answered correctly. With a 1024-token prompt and 256 decode tokens the GPU decodes 12.48-17.22 tok/s (3 iterations in one process) against 9.56-9.83 tok/s on the same phone's CPU (XNNPACK, 4 threads, weight cache), and prefills 221.3-458.5 tok/s against 157.6-174.3 tok/s"
|
| 70 |
-
}
|
| 71 |
-
],
|
| 72 |
-
"measured": [
|
| 73 |
-
{
|
| 74 |
-
"device": "Apple M4 Max",
|
| 75 |
-
"os": "macOS 27.0",
|
| 76 |
-
"backend": "gpu",
|
| 77 |
-
"runtime": "litert-lm 0.17.1 (pip CLI benchmark), GPU fp16 activations (WebGPU on Metal)",
|
| 78 |
-
"prompt_tokens": 256,
|
| 79 |
-
"decode_tokens": 256,
|
| 80 |
-
"prefill_tps": 1640.7,
|
| 81 |
-
"decode_tps": 106.0,
|
| 82 |
-
"ttft_s": 0.168,
|
| 83 |
-
"load_s": 2.11,
|
| 84 |
-
"cache": "no",
|
| 85 |
-
"runs": 3,
|
| 86 |
-
"date": "2026-10-05",
|
| 87 |
-
"source": "GPU-graph re-ship card bench: 3 separate benchmark processes, median; the previous file measured in the same window: prefill 1414.0 tok/s, decode 77.0 tok/s, TTFT 0.205 s"
|
| 88 |
-
},
|
| 89 |
-
{
|
| 90 |
-
"device": "Apple M4 Max",
|
| 91 |
-
"os": "macOS 27.0",
|
| 92 |
-
"backend": "cpu",
|
| 93 |
-
"runtime": "litert-lm 0.17.1 (pip CLI benchmark) (XNNPACK)",
|
| 94 |
-
"prompt_tokens": 256,
|
| 95 |
-
"decode_tokens": 256,
|
| 96 |
-
"prefill_tps": 459.8,
|
| 97 |
-
"decode_tps": 24.2,
|
| 98 |
-
"ttft_s": 1.996,
|
| 99 |
-
"load_s": 9.43,
|
| 100 |
-
"cache": "no",
|
| 101 |
-
"runs": 2,
|
| 102 |
-
"date": "2026-10-05",
|
| 103 |
-
"source": "GPU-graph re-ship card bench: 2 separate benchmark processes, median; the previous file measured in the same window: prefill 461.1 tok/s, decode 24.4 tok/s, TTFT 1.997 s"
|
| 104 |
-
},
|
| 105 |
-
{
|
| 106 |
-
"device": "Apple M4 Max",
|
| 107 |
-
"os": "macOS 27.0",
|
| 108 |
-
"backend": "gpu",
|
| 109 |
-
"runtime": "litert-lm 0.17.1 (pip CLI benchmark), GPU fp16 activations (WebGPU on Metal)",
|
| 110 |
-
"prompt_tokens": 16,
|
| 111 |
-
"decode_tokens": 32,
|
| 112 |
-
"prefill_tps": 819.2,
|
| 113 |
-
"decode_tps": 100.2,
|
| 114 |
-
"ttft_s": 0.038,
|
| 115 |
-
"load_s": 2.11,
|
| 116 |
-
"cache": "no",
|
| 117 |
-
"runs": 3,
|
| 118 |
-
"date": "2026-10-05",
|
| 119 |
-
"source": "GPU-graph re-ship card bench (short-prompt cell, TTFT is the figure of interest): 3 separate benchmark processes, median; the previous file measured in the same window: prefill 88.3 tok/s, decode 74.5 tok/s, TTFT 0.205 s"
|
| 120 |
-
},
|
| 121 |
-
{
|
| 122 |
-
"device": "Apple M4 Max",
|
| 123 |
-
"os": "macOS 27.0",
|
| 124 |
-
"backend": "cpu",
|
| 125 |
-
"runtime": "litert-lm 0.17.1 (pip CLI benchmark) (XNNPACK)",
|
| 126 |
-
"prompt_tokens": 16,
|
| 127 |
-
"decode_tokens": 32,
|
| 128 |
-
"prefill_tps": 230.1,
|
| 129 |
-
"decode_tps": 11.1,
|
| 130 |
-
"ttft_s": 1.546,
|
| 131 |
-
"load_s": 9.4,
|
| 132 |
-
"cache": "no",
|
| 133 |
-
"runs": 2,
|
| 134 |
-
"date": "2026-10-05",
|
| 135 |
-
"source": "GPU-graph re-ship card bench (short-prompt cell, TTFT is the figure of interest): 2 separate benchmark processes, median; the previous file measured in the same window: prefill 28.5 tok/s, decode 11.9 tok/s, TTFT 2.033 s"
|
| 136 |
-
},
|
| 137 |
-
{
|
| 138 |
-
"device": "Galaxy S26 (SM-S942Q, Qualcomm SM8850, Adreno)",
|
| 139 |
-
"os": "Android 16",
|
| 140 |
-
"backend": "gpu",
|
| 141 |
-
"runtime": "litert_lm_advanced_main (LiteRT-LM main, 2026-09-18 build), LiteRT OpenCL delegate, fp16 activations",
|
| 142 |
-
"prompt_tokens": 1024,
|
| 143 |
-
"decode_tokens": 256,
|
| 144 |
-
"prefill_tps": "221.3-458.5",
|
| 145 |
-
"decode_tps": "12.48-17.22",
|
| 146 |
-
"ttft_s": "2.29-4.71",
|
| 147 |
-
"load_s": 6.93,
|
| 148 |
-
"max_num_tokens": 1280,
|
| 149 |
-
"cache": "no",
|
| 150 |
-
"runs": 3,
|
| 151 |
-
"date": "2026-10-05",
|
| 152 |
-
"source": "GPU-graph re-ship device leg (round 20, turn T1): 3 iterations in one process; the handset throttles after the first iteration, so the range spans cold to warm; cold engine init (--disable_cache=true)",
|
| 153 |
-
"peak_memory_mb": 952.7
|
| 154 |
-
},
|
| 155 |
-
{
|
| 156 |
-
"device": "Galaxy S26 (SM-S942Q, Qualcomm SM8850, Adreno)",
|
| 157 |
-
"os": "Android 16",
|
| 158 |
-
"backend": "gpu",
|
| 159 |
-
"runtime": "litert_lm_advanced_main (LiteRT-LM main, 2026-09-18 build), LiteRT OpenCL delegate, fp16 activations",
|
| 160 |
-
"prompt_tokens": 16,
|
| 161 |
-
"decode_tokens": 32,
|
| 162 |
-
"prefill_tps": "215.6-242.5",
|
| 163 |
-
"decode_tps": "13.92-16.82",
|
| 164 |
-
"ttft_s": "0.13-0.15",
|
| 165 |
-
"load_s": 7.0,
|
| 166 |
-
"max_num_tokens": 1280,
|
| 167 |
-
"cache": "no",
|
| 168 |
-
"runs": 3,
|
| 169 |
-
"date": "2026-10-05",
|
| 170 |
-
"source": "GPU-graph re-ship device leg (round 20, turn T1): 3 iterations in one process; cold engine init (--disable_cache=true)",
|
| 171 |
-
"peak_memory_mb": 952.7
|
| 172 |
-
},
|
| 173 |
-
{
|
| 174 |
-
"device": "Galaxy S26 (SM-S942Q, Qualcomm SM8850, Adreno)",
|
| 175 |
-
"os": "Android 16",
|
| 176 |
-
"backend": "cpu",
|
| 177 |
-
"runtime": "litert_lm_advanced_main (LiteRT-LM main, 2026-09-18 build), XNNPACK 4 threads, weight cache",
|
| 178 |
-
"prompt_tokens": 1024,
|
| 179 |
-
"decode_tokens": 256,
|
| 180 |
-
"prefill_tps": "157.6-174.3",
|
| 181 |
-
"decode_tps": "9.56-9.83",
|
| 182 |
-
"ttft_s": "5.98-6.6",
|
| 183 |
-
"load_s": 7.04,
|
| 184 |
-
"max_num_tokens": 1280,
|
| 185 |
-
"cache": "disk (XNNPACK weight cache)",
|
| 186 |
-
"runs": 2,
|
| 187 |
-
"date": "2026-10-05",
|
| 188 |
-
"source": "GPU-graph re-ship device leg (round 20, turn T1): 2 iterations in one process; init includes writing the weight cache",
|
| 189 |
-
"peak_memory_mb": 4154.0
|
| 190 |
-
}
|
| 191 |
-
],
|
| 192 |
-
"known_issues": [
|
| 193 |
-
"Android GPU needs LiteRT-LM 0.19.0 or later: since 2026-10-30 this file's weights sit in TFLiteWeights sections at the end of the file (LiteRT's external weights), and the GPU engine of the v0.18.0 and v0.18.1 Android builds crashes (SIGSEGV) on such a file (https://github.com/google-ai-edge/LiteRT-LM/issues/3986); the earlier file with the weights inside the graph stays at revision 076e556 (https://huggingface.co/litert-community/SmolLM3-3B/tree/076e556)"
|
| 194 |
-
],
|
| 195 |
-
"min_runtime_version": "0.19.0"
|
| 196 |
-
},
|
| 197 |
{
|
| 198 |
"file": "SmolLM3-3B_q4_block32_ekv4096.litertlm",
|
| 199 |
"sha256": "7ff3bf595a29cc8784d0cb6f68325922e70c2e5f3ac2e0050eb6a0bd5290468c",
|
|
@@ -328,7 +165,7 @@
|
|
| 328 |
"cache": "no",
|
| 329 |
"runs": 3,
|
| 330 |
"date": "2026-10-05",
|
| 331 |
-
"source": "
|
| 332 |
"peak_memory_mb": 1166.2
|
| 333 |
},
|
| 334 |
{
|
|
@@ -346,7 +183,7 @@
|
|
| 346 |
"cache": "no",
|
| 347 |
"runs": 3,
|
| 348 |
"date": "2026-10-05",
|
| 349 |
-
"source": "
|
| 350 |
"peak_memory_mb": 1167.3
|
| 351 |
},
|
| 352 |
{
|
|
@@ -364,7 +201,7 @@
|
|
| 364 |
"cache": "disk (XNNPACK weight cache)",
|
| 365 |
"runs": 3,
|
| 366 |
"date": "2026-10-05",
|
| 367 |
-
"source": "
|
| 368 |
"peak_memory_mb": 2862.3
|
| 369 |
},
|
| 370 |
{
|
|
@@ -382,7 +219,7 @@
|
|
| 382 |
"cache": "disk (XNNPACK weight cache)",
|
| 383 |
"runs": 2,
|
| 384 |
"date": "2026-10-05",
|
| 385 |
-
"source": "
|
| 386 |
"peak_memory_mb": 2974.7
|
| 387 |
},
|
| 388 |
{
|
|
@@ -399,7 +236,7 @@
|
|
| 399 |
"cache": "disk (XNNPACK weight cache)",
|
| 400 |
"runs": 2,
|
| 401 |
"date": "2026-10-05",
|
| 402 |
-
"source": "
|
| 403 |
},
|
| 404 |
{
|
| 405 |
"device": "iPhone 18 Pro (iPhone19,2)",
|
|
@@ -415,7 +252,7 @@
|
|
| 415 |
"cache": "disk (XNNPACK weight cache)",
|
| 416 |
"runs": 2,
|
| 417 |
"date": "2026-10-05",
|
| 418 |
-
"source": "
|
| 419 |
},
|
| 420 |
{
|
| 421 |
"device": "iPhone 18 Pro (iPhone19,2)",
|
|
@@ -431,7 +268,7 @@
|
|
| 431 |
"cache": "no",
|
| 432 |
"runs": 2,
|
| 433 |
"date": "2026-10-05",
|
| 434 |
-
"source": "
|
| 435 |
},
|
| 436 |
{
|
| 437 |
"device": "iPhone 18 Pro (iPhone19,2)",
|
|
@@ -447,13 +284,178 @@
|
|
| 447 |
"cache": "no",
|
| 448 |
"runs": 2,
|
| 449 |
"date": "2026-10-05",
|
| 450 |
-
"source": "
|
| 451 |
}
|
| 452 |
],
|
| 453 |
"min_runtime_version": "0.19.0",
|
| 454 |
"known_issues": [
|
| 455 |
"Android GPU needs LiteRT-LM 0.19.0 or later: since 2026-10-30 this file's weights sit in TFLiteWeights sections at the end of the file (LiteRT's external weights), and the GPU engine of the v0.18.0 and v0.18.1 Android builds crashes (SIGSEGV) on such a file (https://github.com/google-ai-edge/LiteRT-LM/issues/3986); the earlier file with the weights inside the graph stays at revision 076e556 (https://huggingface.co/litert-community/SmolLM3-3B/tree/076e556)"
|
| 456 |
-
]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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6f68325922e70c2e5f3ac2e0050eb6a0bd5290468c",
|
|
|
|
| 165 |
"cache": "no",
|
| 166 |
"runs": 3,
|
| 167 |
"date": "2026-10-05",
|
| 168 |
+
"source": "3 iterations in one process; cold engine init (--disable_cache=true)",
|
| 169 |
"peak_memory_mb": 1166.2
|
| 170 |
},
|
| 171 |
{
|
|
|
|
| 183 |
"cache": "no",
|
| 184 |
"runs": 3,
|
| 185 |
"date": "2026-10-05",
|
| 186 |
+
"source": "3 iterations in one process; the handset throttles after the first iteration, so the range spans cold to warm; cold engine init (--disable_cache=true)",
|
| 187 |
"peak_memory_mb": 1167.3
|
| 188 |
},
|
| 189 |
{
|
|
|
|
| 201 |
"cache": "disk (XNNPACK weight cache)",
|
| 202 |
"runs": 3,
|
| 203 |
"date": "2026-10-05",
|
| 204 |
+
"source": "3 iterations in one process; the first iteration writes the XNNPACK weight cache, so the values are iterations 2-3; init includes writing the weight cache",
|
| 205 |
"peak_memory_mb": 2862.3
|
| 206 |
},
|
| 207 |
{
|
|
|
|
| 219 |
"cache": "disk (XNNPACK weight cache)",
|
| 220 |
"runs": 2,
|
| 221 |
"date": "2026-10-05",
|
| 222 |
+
"source": "2 iterations in one process; init includes writing the weight cache",
|
| 223 |
"peak_memory_mb": 2974.7
|
| 224 |
},
|
| 225 |
{
|
|
|
|
| 236 |
"cache": "disk (XNNPACK weight cache)",
|
| 237 |
"runs": 2,
|
| 238 |
"date": "2026-10-05",
|
| 239 |
+
"source": "2 timed runs, each after a 6-minute rest at thermal state nominal; default memory entitlement; memory floor [2509, 2507] MB"
|
| 240 |
},
|
| 241 |
{
|
| 242 |
"device": "iPhone 18 Pro (iPhone19,2)",
|
|
|
|
| 252 |
"cache": "disk (XNNPACK weight cache)",
|
| 253 |
"runs": 2,
|
| 254 |
"date": "2026-10-05",
|
| 255 |
+
"source": "2 timed runs, each after a 6-minute rest at thermal state nominal; default memory entitlement; memory floor [2589, 2590] MB"
|
| 256 |
},
|
| 257 |
{
|
| 258 |
"device": "iPhone 18 Pro (iPhone19,2)",
|
|
|
|
| 268 |
"cache": "no",
|
| 269 |
"runs": 2,
|
| 270 |
"date": "2026-10-05",
|
| 271 |
+
"source": "2 timed runs, each after a 6-minute rest at thermal state nominal; default memory entitlement; memory floor [783, 741] MB"
|
| 272 |
},
|
| 273 |
{
|
| 274 |
"device": "iPhone 18 Pro (iPhone19,2)",
|
|
|
|
| 284 |
"cache": "no",
|
| 285 |
"runs": 2,
|
| 286 |
"date": "2026-10-05",
|
| 287 |
+
"source": "2 timed runs, each after a 6-minute rest at thermal state nominal; default memory entitlement; memory floor [795, 846] MB"
|
| 288 |
}
|
| 289 |
],
|
| 290 |
"min_runtime_version": "0.19.0",
|
| 291 |
"known_issues": [
|
| 292 |
"Android GPU needs LiteRT-LM 0.19.0 or later: since 2026-10-30 this file's weights sit in TFLiteWeights sections at the end of the file (LiteRT's external weights), and the GPU engine of the v0.18.0 and v0.18.1 Android builds crashes (SIGSEGV) on such a file (https://github.com/google-ai-edge/LiteRT-LM/issues/3986); the earlier file with the weights inside the graph stays at revision 076e556 (https://huggingface.co/litert-community/SmolLM3-3B/tree/076e556)"
|
| 293 |
+
],
|
| 294 |
+
"context_length": 4096
|
| 295 |
+
},
|
| 296 |
+
{
|
| 297 |
+
"file": "SmolLM3-3B.litertlm",
|
| 298 |
+
"sha256": "f3c9cee57342b8d7e9507126c754f74263ce8394afc5658cd79585ba89453244",
|
| 299 |
+
"size_bytes": 3125231616,
|
| 300 |
+
"sections": [
|
| 301 |
+
{
|
| 302 |
+
"type": "LlmMetadataProto",
|
| 303 |
+
"size_bytes": 3318
|
| 304 |
+
},
|
| 305 |
+
{
|
| 306 |
+
"type": "HF_Tokenizer_Zlib",
|
| 307 |
+
"size_bytes": 2608153
|
| 308 |
+
},
|
| 309 |
+
{
|
| 310 |
+
"type": "TFLiteModel",
|
| 311 |
+
"size_bytes": 47617352,
|
| 312 |
+
"model_type": "tf_lite_prefill_decode"
|
| 313 |
+
},
|
| 314 |
+
{
|
| 315 |
+
"type": "TFLiteWeights",
|
| 316 |
+
"size_bytes": 3074949120,
|
| 317 |
+
"model_type": "tf_lite_prefill_decode"
|
| 318 |
+
}
|
| 319 |
+
],
|
| 320 |
+
"quantization": "int8 weights, channelwise (every FULLY_CONNECTED weight in the bundle is INT8/channelwise: 253 of 253 read from the file)",
|
| 321 |
+
"backends": [
|
| 322 |
+
"cpu",
|
| 323 |
+
"gpu"
|
| 324 |
+
],
|
| 325 |
+
"default_backend": "cpu",
|
| 326 |
+
"recommended": [
|
| 327 |
+
{
|
| 328 |
+
"platform": "android",
|
| 329 |
+
"device_class": "flagship",
|
| 330 |
+
"backend": "gpu",
|
| 331 |
+
"reason": "Galaxy S26 (SM-S942Q, Android 16), litert_lm_advanced_main from LiteRT-LM main (2026-09-18 build), OpenCL delegate: decode, prefill_256 and prefill_16 fully delegated, one partition each (1346/1346, 1512/1512, 1512/1512 nodes), and 5 of 5 gate prompts answered correctly. With a 1024-token prompt and 256 decode tokens the GPU decodes 12.48-17.22 tok/s (3 iterations in one process) against 9.56-9.83 tok/s on the same phone's CPU (XNNPACK, 4 threads, weight cache), and prefills 221.3-458.5 tok/s against 157.6-174.3 tok/s"
|
| 332 |
+
}
|
| 333 |
+
],
|
| 334 |
+
"measured": [
|
| 335 |
+
{
|
| 336 |
+
"device": "Apple M4 Max",
|
| 337 |
+
"os": "macOS 27.0",
|
| 338 |
+
"backend": "gpu",
|
| 339 |
+
"runtime": "litert-lm 0.17.1 (pip CLI benchmark), GPU fp16 activations (WebGPU on Metal)",
|
| 340 |
+
"prompt_tokens": 256,
|
| 341 |
+
"decode_tokens": 256,
|
| 342 |
+
"prefill_tps": 1640.7,
|
| 343 |
+
"decode_tps": 106.0,
|
| 344 |
+
"ttft_s": 0.168,
|
| 345 |
+
"load_s": 2.11,
|
| 346 |
+
"cache": "no",
|
| 347 |
+
"runs": 3,
|
| 348 |
+
"date": "2026-10-05",
|
| 349 |
+
"source": "GPU-graph re-ship card bench: 3 separate benchmark processes, median; the previous file measured in the same window: prefill 1414.0 tok/s, decode 77.0 tok/s, TTFT 0.205 s"
|
| 350 |
+
},
|
| 351 |
+
{
|
| 352 |
+
"device": "Apple M4 Max",
|
| 353 |
+
"os": "macOS 27.0",
|
| 354 |
+
"backend": "cpu",
|
| 355 |
+
"runtime": "litert-lm 0.17.1 (pip CLI benchmark) (XNNPACK)",
|
| 356 |
+
"prompt_tokens": 256,
|
| 357 |
+
"decode_tokens": 256,
|
| 358 |
+
"prefill_tps": 459.8,
|
| 359 |
+
"decode_tps": 24.2,
|
| 360 |
+
"ttft_s": 1.996,
|
| 361 |
+
"load_s": 9.43,
|
| 362 |
+
"cache": "no",
|
| 363 |
+
"runs": 2,
|
| 364 |
+
"date": "2026-10-05",
|
| 365 |
+
"source": "GPU-graph re-ship card bench: 2 separate benchmark processes, median; the previous file measured in the same window: prefill 461.1 tok/s, decode 24.4 tok/s, TTFT 1.997 s"
|
| 366 |
+
},
|
| 367 |
+
{
|
| 368 |
+
"device": "Apple M4 Max",
|
| 369 |
+
"os": "macOS 27.0",
|
| 370 |
+
"backend": "gpu",
|
| 371 |
+
"runtime": "litert-lm 0.17.1 (pip CLI benchmark), GPU fp16 activations (WebGPU on Metal)",
|
| 372 |
+
"prompt_tokens": 16,
|
| 373 |
+
"decode_tokens": 32,
|
| 374 |
+
"prefill_tps": 819.2,
|
| 375 |
+
"decode_tps": 100.2,
|
| 376 |
+
"ttft_s": 0.038,
|
| 377 |
+
"load_s": 2.11,
|
| 378 |
+
"cache": "no",
|
| 379 |
+
"runs": 3,
|
| 380 |
+
"date": "2026-10-05",
|
| 381 |
+
"source": "GPU-graph re-ship card bench (short-prompt cell, TTFT is the figure of interest): 3 separate benchmark processes, median; the previous file measured in the same window: prefill 88.3 tok/s, decode 74.5 tok/s, TTFT 0.205 s"
|
| 382 |
+
},
|
| 383 |
+
{
|
| 384 |
+
"device": "Apple M4 Max",
|
| 385 |
+
"os": "macOS 27.0",
|
| 386 |
+
"backend": "cpu",
|
| 387 |
+
"runtime": "litert-lm 0.17.1 (pip CLI benchmark) (XNNPACK)",
|
| 388 |
+
"prompt_tokens": 16,
|
| 389 |
+
"decode_tokens": 32,
|
| 390 |
+
"prefill_tps": 230.1,
|
| 391 |
+
"decode_tps": 11.1,
|
| 392 |
+
"ttft_s": 1.546,
|
| 393 |
+
"load_s": 9.4,
|
| 394 |
+
"cache": "no",
|
| 395 |
+
"runs": 2,
|
| 396 |
+
"date": "2026-10-05",
|
| 397 |
+
"source": "GPU-graph re-ship card bench (short-prompt cell, TTFT is the figure of interest): 2 separate benchmark processes, median; the previous file measured in the same window: prefill 28.5 tok/s, decode 11.9 tok/s, TTFT 2.033 s"
|
| 398 |
+
},
|
| 399 |
+
{
|
| 400 |
+
"device": "Galaxy S26 (SM-S942Q, Qualcomm SM8850, Adreno)",
|
| 401 |
+
"os": "Android 16",
|
| 402 |
+
"backend": "gpu",
|
| 403 |
+
"runtime": "litert_lm_advanced_main (LiteRT-LM main, 2026-09-18 build), LiteRT OpenCL delegate, fp16 activations",
|
| 404 |
+
"prompt_tokens": 1024,
|
| 405 |
+
"decode_tokens": 256,
|
| 406 |
+
"prefill_tps": "221.3-458.5",
|
| 407 |
+
"decode_tps": "12.48-17.22",
|
| 408 |
+
"ttft_s": "2.29-4.71",
|
| 409 |
+
"load_s": 6.93,
|
| 410 |
+
"max_num_tokens": 1280,
|
| 411 |
+
"cache": "no",
|
| 412 |
+
"runs": 3,
|
| 413 |
+
"date": "2026-10-05",
|
| 414 |
+
"source": "3 iterations in one process; the handset throttles after the first iteration, so the range spans cold to warm; cold engine init (--disable_cache=true)",
|
| 415 |
+
"peak_memory_mb": 952.7
|
| 416 |
+
},
|
| 417 |
+
{
|
| 418 |
+
"device": "Galaxy S26 (SM-S942Q, Qualcomm SM8850, Adreno)",
|
| 419 |
+
"os": "Android 16",
|
| 420 |
+
"backend": "gpu",
|
| 421 |
+
"runtime": "litert_lm_advanced_main (LiteRT-LM main, 2026-09-18 build), LiteRT OpenCL delegate, fp16 activations",
|
| 422 |
+
"prompt_tokens": 16,
|
| 423 |
+
"decode_tokens": 32,
|
| 424 |
+
"prefill_tps": "215.6-242.5",
|
| 425 |
+
"decode_tps": "13.92-16.82",
|
| 426 |
+
"ttft_s": "0.13-0.15",
|
| 427 |
+
"load_s": 7.0,
|
| 428 |
+
"max_num_tokens": 1280,
|
| 429 |
+
"cache": "no",
|
| 430 |
+
"runs": 3,
|
| 431 |
+
"date": "2026-10-05",
|
| 432 |
+
"source": "3 iterations in one process; cold engine init (--disable_cache=true)",
|
| 433 |
+
"peak_memory_mb": 952.7
|
| 434 |
+
},
|
| 435 |
+
{
|
| 436 |
+
"device": "Galaxy S26 (SM-S942Q, Qualcomm SM8850, Adreno)",
|
| 437 |
+
"os": "Android 16",
|
| 438 |
+
"backend": "cpu",
|
| 439 |
+
"runtime": "litert_lm_advanced_main (LiteRT-LM main, 2026-09-18 build), XNNPACK 4 threads, weight cache",
|
| 440 |
+
"prompt_tokens": 1024,
|
| 441 |
+
"decode_tokens": 256,
|
| 442 |
+
"prefill_tps": "157.6-174.3",
|
| 443 |
+
"decode_tps": "9.56-9.83",
|
| 444 |
+
"ttft_s": "5.98-6.6",
|
| 445 |
+
"load_s": 7.04,
|
| 446 |
+
"max_num_tokens": 1280,
|
| 447 |
+
"cache": "disk (XNNPACK weight cache)",
|
| 448 |
+
"runs": 2,
|
| 449 |
+
"date": "2026-10-05",
|
| 450 |
+
"source": "2 iterations in one process; init includes writing the weight cache",
|
| 451 |
+
"peak_memory_mb": 4154.0
|
| 452 |
+
}
|
| 453 |
+
],
|
| 454 |
+
"known_issues": [
|
| 455 |
+
"Android GPU needs LiteRT-LM 0.19.0 or later: since 2026-10-30 this file's weights sit in TFLiteWeights sections at the end of the file (LiteRT's external weights), and the GPU engine of the v0.18.0 and v0.18.1 Android builds crashes (SIGSEGV) on such a file (https://github.com/google-ai-edge/LiteRT-LM/issues/3986); the earlier file with the weights inside the graph stays at revision 076e556 (https://huggingface.co/litert-community/SmolLM3-3B/tree/076e556)"
|
| 456 |
+
],
|
| 457 |
+
"min_runtime_version": "0.19.0",
|
| 458 |
+
"context_length": 4096
|
| 459 |
}
|
| 460 |
]
|
| 461 |
}
|