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 # 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-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
Commit History
6 days ago
-
Plainer wording in the card and manifest
Verified signature32dc53c
7 days ago
-
Android GPU note: the measured crash instead of a version floor
Verified signatureREADME.md and litertlm_manifest.json: the note on Android GPU builds now says what was measured (on a Pixel 8a, the GPU engine of the v0.18.0 and v0.18.1 Android builds crashes on a Qwen3-0.6B file with external weights) instead of a LiteRT-LM version floor.9e0f0f7
9 days ago
-
Point the REPRODUCE.md link at its entry under the entry's current heading
Verified signature13156df -
Update the model card and manifest notes: sentences corrected to the measurement records, Swift sample link
Verified signaturea212253
11 days ago
-
Card: what to do when a --from-huggingface-repo download predates the replacement of the file
Verified signature2399c07 -
Prefill/decode graph in the GPU composite form, plus a 1,024-token prefill (weights unchanged); card, MEASUREMENTS.md and manifest updated
Verified signaturebc4555b
13 days ago
-
Plain wording in the litertlm_manifest.json notes
Verified signature045555a -
Card: what to do when a --from-huggingface-repo download is cut short
Verified signature94203f0
18 days ago
-
litertlm_manifest.json: InternVL3-1B.litertlm's sha256, size and sections after the move to external weights; min runtime 0.19.0 and the Android GPU known issue (LiteRT-LM#3986)
Verified signature93b8324 -
InternVL3-1B.litertlm: weights moved to TFLiteWeights sections at the end of the file (LiteRT external weights); Android GPU needs LiteRT-LM 0.19.0 or later
Verified signature9ad3532
-
Add known runtime issues: the second-turn stop token and a preface with tools and no messages
Verified signatureAdds the lines under Known runtime issues; nothing else in the card changes.875247a
-
manifest 0.1.3: capabilities.thinking.control = never (what the bundle's template does about thinking, derived from the template inside the bundle)
Verified signature2980804
-
Card: measured device / browser results (edge-compat, 2026-09)
Verified signature1750633 -
Card: compatibility line (edge-compat, 2026-09)
Verified signature6e1f3fd
-
manifest: same-device CPU control rows on the Galaxy S26 for the flagship GPU recommendation (S7 backfill 2026-09-05); the recommendation is rewritten from the measured pair (measured win, kept for prefill, or reversed to cpu)
Verified signaturef75e037
-
Add litertlm_manifest.json (deployment manifest 0.1.2: variant selection, verified backends, Android/Apple recommendations, measured rows with conditions)
Verified signature478791e -
Card: base_model_relation: quantized (list under the base model's Quantizations)
Verified signature92ff06f
-
Card: note the chat-template fix for role-'assistant' history (weights unchanged)
Verified signature9de60a0 -
Chat template fix (metadata-only, weights unchanged): the template matched history turns only on role 'model', so a conversation created through the Conversation API with the standard role 'assistant' (e.g. create_conversation(messages=[...]) restoring a chat) silently dropped every assistant turn from the rendered prompt. The role conditions now also accept 'assistant'. Every other section is byte-identical; single-turn renders, token ids, prefill and greedy answers are unchanged (verified on the LiteRT-LM runtime). See google-ai-edge/LiteRT-LM#3417.
Verified signature0a181a9
-
Card: note the tokenizer-section fix (weights unchanged)
Verified signature45a285b -
Replace the tokenizer section with the upstream tokenizer.json (weights, graph and metadata unchanged). The previous SentencePiece conversion of the BPE tokenizer encoded standalone accented/special characters to the wrong ids, turned characters without a vocabulary entry (emoji, some accented capitals) into the end-of-text/end-of-turn token, and could not match the token it had reused as UNK; prompts now tokenize identically to the upstream tokenizer (verified on the LiteRT-LM runtime, see the card note).
Verified signaturea94dc67
-
Card: note the default-system-prompt fix (weights unchanged)
Verified signatureddfcd8f -
Restore the vendor's default system prompt in the chat template (weights unchanged). The converter's template probe never renders the block the upstream template emits when the caller sends no system message, so the bundle silently dropped it; with no system message the prompt now renders byte-identical to the upstream chat template's output (see the card note).
Verified signature787d962 -
Card: correct the start_token note — measured numbers do not carry over
Verified signaturec116d72 -
Card: note the start_token fix (weights unchanged)
Verified signature210a250 -
Drop the metadata start_token (weights unchanged)
Verified signatureThe metadata start_token held the literal string "None" (this tokenizer has no BOS), and the engine resolved it to a real vocabulary token - so every prompt began with the word "None", a stream the model was never trained on. Metadata-only change: every tokenizer and TFLite section is byte-identical to the previous file (verified by sha256 per section), so quality and speed are unchanged and the card's measured numbers still stand.175b8b3
-
Add measured Galaxy S26 GPU backend section
Verified signatureFunctional verdict from the S26 GPU gate. Primary log: litertlm-convert/community_accel_work/s4_gpu_gate/results.jsonl. Delegation counts and peak RSS are read from that run's own log; throughput is deliberately absent, because an Android GPU speed is not quotable without a CPU row from the same phone and that control has not been run.740c25b
-
Card: verified one-command usage, measured Performance table (backends gated on real generation), accuracy note
Verified signature0fd5532
-
Document Gallery 1.0.16 direct Hugging Face import + desktop LiteRT-LM CLI (serve/run)
Verified signaturee8bac17
-
Upload README.md with huggingface_hub
Verified signaturef595e44 -
Upload InternVL3-1B.litertlm with huggingface_hub
Verified signature231afa5 -
Upload README.md with huggingface_hub
Verified signature7d46ac4 -
initial commit
Verified signature20ed599