Instructions to use litert-community/InternVL3_5-2B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- LiteRT-LM
How to use litert-community/InternVL3_5-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_5-2B \ --prompt="Write me a poem"
- LiteRT
How to use litert-community/InternVL3_5-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
Commit History
6 days ago
-
Plainer wording in the card and manifest
Verified signature1779652
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.d020239
9 days ago
-
Point the REPRODUCE.md link at its entry under the entry's current heading
Verified signaturec9976ea -
Update the model card and manifest notes: sentences corrected to the measurement records, Swift sample link
Verified signature2ba4d08
11 days ago
-
Card: what to do when a --from-huggingface-repo download predates the replacement of the file
Verified signaturefdd8cc9 -
Card: the files behind the example answers, the flags of the GPU vision-encoder runs and the refused GPU/CPU split, the CPU runs' end state, the options not tried with this file, both runs of the earlier Galaxy S26 benchmark, two words reworded in the section kept from the earlier card
Verified signature4d7fc36 -
Card: the multi-image note applies to the GPU (Metal) backend of Apple devices, not only the Mac; the GPU driver counter rose by 0.44 MB in one CPU run; a third run of the card command
Verified signaturef876bf8 -
Prefill/decode graph in the GPU composite form, plus a 1,024-token prefill (weights unchanged); card, MEASUREMENTS.md and manifest updated
Verified signaturedb8024b
13 days ago
-
Plain wording in the litertlm_manifest.json notes
Verified signature866529d -
Card: what to do when a --from-huggingface-repo download is cut short
Verified signaturec7aa3ea
17 days ago
-
litertlm_manifest.json: model.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 signaturedb81ac2 -
model.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 signature0ddfd62
-
Add a known runtime issue: the stop token with a zero embedding from the second turn
Verified signatureAdds the lines under Known runtime issues; nothing else in the card changes.b62b8ba
-
manifest 0.1.3: capabilities.thinking.control = never (what the bundle's template does about thinking, derived from the template inside the bundle)
Verified signature5fc0c95
-
Add litertlm_manifest.json (deployment manifest 0.1.2: variant selection, verified backends, Android/Apple recommendations, measured rows with conditions)
Verified signature4886a33 -
Card: base_model_relation: quantized (list under the base model's Quantizations)
Verified signatureaeb1e8f
-
Card: note the chat-template fix for role-'assistant' history (weights unchanged)
Verified signature61f3d7d -
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 signaturee596184
-
Card: note the tokenizer-section fix (weights unchanged)
Verified signature0b7c9b4 -
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 signature5eae417
-
Card: correct the start_token note — measured numbers do not carry over
Verified signature0a8ba6d -
Card: note the start_token fix (weights unchanged)
Verified signature66febc3 -
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.f865e85
-
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.ce4b51f
-
Card: verified one-command usage, measured Performance table (backends gated on real generation), accuracy note
Verified signaturedbe0b59
-
Upload model.litertlm with huggingface_hub
Verified signature8f3af1c -
Upload README.md with huggingface_hub
Verified signature48d42c6 -
initial commit
Verified signature81b413d