LFM3-VL-2B Guide: On-Device Vision and Video Understanding
LFM3-VL-2B is a 1.92B on-device vision-language model that reads text, images and video at native resolution. This guide covers the tri-hybrid architecture, frame sampling, checkpoint variants for each runtime, recommended sampling parameters, intended tasks and the limits Liquid AI publishes.
View 2 referencesAllow the functional cookie to save your likes. Privacy details
LFM3-VL-2B is Liquid AI's smallest vision-language model for local devices, and it is the first LFM vision model to accept video directly. It combines the LFM3 language model with an in-house hybrid vision encoder, then adds step-by-step thinking and spatial reasoning. The practical question is which checkpoint and runtime fit your hardware.
What is LFM3-VL-2B?
LFM3-VL-2B is a vision-language model from Liquid AI for on-device visual understanding. It accepts text, images and video, combines the LFM3 language model with an in-house vision encoder, and adds video input, step-by-step thinking and spatial or embodied reasoning compared with the earlier LFM2.5-VL.
The model card describes it as a post-trained visual model in the wider LFM3 family, which also includes base, text, audio, omni and decision models.
Its target workloads are visual, not general conversational ones: reading screens and charts, answering questions about video and locating objects in an image.
How is LFM3-VL-2B built?
The 1.92B total breaks down into a 1.73B language model, a 164M vision encoder and a 25M projector. The language model has 24 layers of gated short convolutions, sliding-window attention and global attention. The vision encoder uses 14 layers of depthwise 2D convolutions and bidirectional attention with 16 by 16 patches.
Patches carry 2D rotary embeddings, and the projector merges every 2 by 2 patch block into one language token through layer normalisation and a two-layer MLP.
That split is why the model can process images at native resolution without a separate high-resolution crop pipeline.
How does LFM3-VL-2B handle images and video?
Inputs are processed at native resolution. Each 2 by 2 block of image patches becomes one language token through the projector. Video is sampled at 2 frames per second, with 4 to 768 frames by default, and consecutive frames are paired and prefixed with timestamps so the model can reason about sequence.
Image preprocessing follows Qwen2-VL dynamic resolution, so the model does not force every frame into a fixed square.
The frame range and sampling rate are real constraints. Fast action or long recordings may need pre-trimming before they fit the default window.
Which checkpoint should you use for LFM3-VL-2B?
BF16 weights suit vLLM, SGLang and Transformers on GPUs. GGUF covers llama.cpp and LM Studio on CPU or GPU, MLX 4-bit targets Apple Silicon, ONNX serves ONNX Runtime, and an OpenVINO int4 build is available for Intel hardware. Choose by deployment target rather than by benchmark headline.
| Checkpoint | Framework |
|---|---|
| BF16 | vLLM, SGLang, Transformers |
| GGUF | llama.cpp, LM Studio |
| MLX 4-bit | MLX-VLM on Apple Silicon |
| ONNX | ONNX Runtime |
| OpenVINO int4 | Intel hardware |
A 4-bit build is the usual starting point for a phone or laptop; BF16 is for a GPU server where accuracy matters more than footprint.
What sampling parameters does LFM3-VL-2B use?
Liquid recommends temperature 0.1, top_p 1.0, top_k 50, min_p 0.0 and repetition penalty 1.1, and says to use the values in processor_config.json for image and video preprocessing. The thinking behaviour runs before the answer, so budget enough output tokens for the reasoning trace.
The processor config matters as much as the generation settings. Feeding frames with the wrong preprocessing values can degrade results even when generation parameters are correct.
Keep max_new_tokens high enough that the reasoning trace is not truncated before the answer appears.
What can you do with LFM3-VL-2B in practice?
The model is designed for questions about video, reading documents, charts and app screens, locating objects in an image, and spatial reasoning for robots. Its model card names video question answering, document and chart reading, interface understanding and embodied reasoning as the intended workloads.
Spatial and embodied reasoning is the differentiator against smaller image captioners. The model can reason about where objects sit relative to each other, which is useful for robotics and interface automation.
For a quick test, serve the BF16 checkpoint through vLLM and call the OpenAI-compatible endpoint with an image URL and a short question.
What are the limits of LFM3-VL-2B?
Liquid explicitly does not recommend LFM3-VL-2B for coding, multi-turn conversation or complex reasoning. It is a 1.92B on-device model, so the trade-off is deployment reach rather than frontier capability. Video is limited to 2 fps sampling and a default frame range, which may miss fast action.
The model supports 16 languages and a 128K-token combined input and output context, but a long context does not remove the visual sampling limits.
Use it where a local, cheap visual checker is useful, not as the only reasoning engine in a high-stakes workflow.
How do you run LFM3-VL-2B with Transformers?
Install Transformers 5.21.0 or newer, then load AutoModelForImageTextToText and AutoProcessor with trust_remote_code true. Build a message with an image or video part plus a text question, apply the chat template with add_generation_prompt true, generate, and decode only the tokens after the input.
from transformers import AutoModelForImageTextToText, AutoProcessor
model_id = "LiquidAI/LFM3-VL-2B"
model = AutoModelForImageTextToText.from_pretrained(
model_id, dtype="bfloat16", device_map="auto", trust_remote_code=True
)
processor = AutoProcessor.from_pretrained(model_id, trust_remote_code=True)
Earlier Transformers versions used a different class name, so pin the version if you copy an older example. The Transformers model documentation is the current reference.
Bottom line
LFM3-VL-2B is a practical on-device visual model with an unusually clear scope statement. It handles native-resolution images, 2 fps video and spatial reasoning within 1.92B parameters, and Liquid is explicit about what it should not do. Pick the checkpoint for your runtime, respect the frame limits and leave room for thinking tokens.