Instructions to use litert-community/InternVL3-2B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- LiteRT-LM
How to use litert-community/InternVL3-2B 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/InternVL3-2B \ --prompt="Write me a poem"
- LiteRT
How to use litert-community/InternVL3-2B 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 +4 -4
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-
|
| 5 |
"generator": "make_manifest.py",
|
| 6 |
"model": {
|
| 7 |
"display_name": "InternVL3-2B",
|
|
@@ -85,7 +85,7 @@
|
|
| 85 |
"platform": "android",
|
| 86 |
"device_class": "flagship",
|
| 87 |
"backend": "gpu",
|
| 88 |
-
"reason": "measured on one Galaxy S26 with one binary: GPU 40.41 tok/s decode / 631.0 prefill, peak 736 MB, init 3.7 s (
|
| 89 |
},
|
| 90 |
{
|
| 91 |
"platform": "macos",
|
|
@@ -136,7 +136,7 @@
|
|
| 136 |
"peak_memory_mb": 736,
|
| 137 |
"runs": 1,
|
| 138 |
"date": "2026-08-25",
|
| 139 |
-
"source": "
|
| 140 |
},
|
| 141 |
{
|
| 142 |
"device": "Galaxy S26 (SM-S942Q, Qualcomm SM8850, Adreno)",
|
|
@@ -152,7 +152,7 @@
|
|
| 152 |
"cache": "no",
|
| 153 |
"runs": 2,
|
| 154 |
"date": "2026-09-05",
|
| 155 |
-
"source": "
|
| 156 |
}
|
| 157 |
],
|
| 158 |
"known_issues": [
|
|
|
|
| 1 |
{
|
| 2 |
"manifest_schema": "0.1.3",
|
| 3 |
"repo": "litert-community/InternVL3-2B",
|
| 4 |
+
"generated": "2026-11-14",
|
| 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: GPU 40.41 tok/s decode / 631.0 prefill, peak 736 MB, init 3.7 s (2026-08-25, 1 run) against CPU 34.83-43.67 decode / 132.1-207.9 prefill, peak 1364 MB, init 1.7 s (2026-09-05, 2 cold runs). Same-device CPU control taken: decode is a wash (within 10%); gpu is kept for its prefill advantage (time to first token), a deliberate choice rather than a decode win"
|
| 89 |
},
|
| 90 |
{
|
| 91 |
"platform": "macos",
|
|
|
|
| 136 |
"peak_memory_mb": 736,
|
| 137 |
"runs": 1,
|
| 138 |
"date": "2026-08-25",
|
| 139 |
+
"source": "205-token benchmark, single run; full delegation (3618 ops across 3 subgraphs); generation gate answered the probe correctly. The Galaxy S26 cpu row of 2026-09-05 is its same-device control."
|
| 140 |
},
|
| 141 |
{
|
| 142 |
"device": "Galaxy S26 (SM-S942Q, Qualcomm SM8850, Adreno)",
|
|
|
|
| 152 |
"cache": "no",
|
| 153 |
"runs": 2,
|
| 154 |
"date": "2026-09-05",
|
| 155 |
+
"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)"
|
| 156 |
}
|
| 157 |
],
|
| 158 |
"known_issues": [
|