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
Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
|
@@ -59,10 +59,19 @@ the `LiteRTDemo` sample). Load `InternVL3-1B.litertlm` with the **image (vision)
|
|
| 59 |
(modalities `Modality.textImage` / `[.vision]` — a vision-only bundle, no audio tower), attach a photo,
|
| 60 |
and ask a question.
|
| 61 |
|
| 62 |
-
## Run on Android
|
| 63 |
|
| 64 |
-
|
| 65 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 66 |
|
| 67 |
## Conversion notes
|
| 68 |
|
|
|
|
| 59 |
(modalities `Modality.textImage` / `[.vision]` — a vision-only bundle, no audio tower), attach a photo,
|
| 60 |
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):
|
| 67 |
+
|
| 68 |
+
1. Push the bundle onto the phone (or download it there directly from this repo):
|
| 69 |
+
`adb push InternVL3-1B.litertlm /sdcard/Download/`
|
| 70 |
+
2. Open the Gallery app, tap the **+** icon (bottom-right) and pick `InternVL3-1B.litertlm` in the file picker.
|
| 71 |
+
3. In the **Import Model** dialog, **check "Support image"** (required for image input), pick **GPU** (fast) or **CPU**, then tap **Import**.
|
| 72 |
+
4. Open the **Ask Image** task, choose the imported model, attach a photo, and ask.
|
| 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 |
|