Instructions to use litert-community/InternVL3-1B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- LiteRT-LM
How to use litert-community/InternVL3-1B 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 litert-lm run \ --from-huggingface-repo=litert-community/InternVL3-1B \ --prompt="Write me a poem"
- LiteRT
How to use litert-community/InternVL3-1B 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
Document Gallery 1.0.16 direct Hugging Face import + desktop LiteRT-LM CLI (serve/run)
Browse files
README.md
CHANGED
|
@@ -61,6 +61,8 @@ and ask a question.
|
|
| 61 |
|
| 62 |
## Run on Android — Google AI Edge Gallery
|
| 63 |
|
|
|
|
|
|
|
| 64 |
Run this model **with image input** in the official
|
| 65 |
[Google AI Edge Gallery](https://github.com/google-ai-edge/gallery) app — no custom app needed
|
| 66 |
(the bundle carries the tokenizer, chat template, and image preprocessing config):
|
|
@@ -73,6 +75,19 @@ Run this model **with image input** in the official
|
|
| 73 |
|
| 74 |
> **Tip:** on the **GPU** backend use one image per conversation (a known GPU-delegate trait of `fast_vlm` models); pick **CPU** if you want multiple images in one chat.
|
| 75 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 76 |
## Conversion notes
|
| 77 |
|
| 78 |
- LiteRT-LM `fast_vlm` bundle: VISION_ENCODER (`[1,448,448,3]`→`[1,256,4096]`) + VISION_ADAPTER
|
|
|
|
| 61 |
|
| 62 |
## Run on Android — Google AI Edge Gallery
|
| 63 |
|
| 64 |
+
> **Update (July 2026):** [Google AI Edge Gallery](https://github.com/google-ai-edge/gallery) **v1.0.16+** can import litert-lm models **directly from Hugging Face** inside the app (tap **+**) — no computer or `adb` needed. The manual steps below are only required on older builds or for sideloading a local file.
|
| 65 |
+
|
| 66 |
Run this model **with image input** in the official
|
| 67 |
[Google AI Edge Gallery](https://github.com/google-ai-edge/gallery) app — no custom app needed
|
| 68 |
(the bundle carries the tokenizer, chat template, and image preprocessing config):
|
|
|
|
| 75 |
|
| 76 |
> **Tip:** on the **GPU** backend use one image per conversation (a known GPU-delegate trait of `fast_vlm` models); pick **CPU** if you want multiple images in one chat.
|
| 77 |
|
| 78 |
+
## Run on desktop (LiteRT-LM CLI)
|
| 79 |
+
|
| 80 |
+
The same `.litertlm` bundle runs on macOS / Linux / Windows with the official
|
| 81 |
+
[LiteRT-LM CLI](https://github.com/google-ai-edge/LiteRT-LM) — including as a
|
| 82 |
+
local **OpenAI-compatible API server**:
|
| 83 |
+
|
| 84 |
+
```bash
|
| 85 |
+
pip install litert-lm
|
| 86 |
+
litert-lm import --from-huggingface-repo litert-community/InternVL3-1B InternVL3-1B.litertlm internvl3-1b
|
| 87 |
+
litert-lm run internvl3-1b # interactive chat in the terminal
|
| 88 |
+
litert-lm serve # local OpenAI-compatible API server
|
| 89 |
+
```
|
| 90 |
+
|
| 91 |
## Conversion notes
|
| 92 |
|
| 93 |
- LiteRT-LM `fast_vlm` bundle: VISION_ENCODER (`[1,448,448,3]`→`[1,256,4096]`) + VISION_ADAPTER
|