This repository provides compiled model files for LiquidAI's LFM2-VL-450M vision-language model, ready to run on the Synaptics SL2610-series Torq NPU. Give it an image and a natural-language question, and it answers questions about that image.
Quick start guide:
LFM2‑VL is designed to process text and images with variable resolutions. Built on the LFM2 backbone, it is optimized for low-latency and edge AI applications.
LFM2-VL utilizes hybrid conv/attention text decoders that execute on the NPU in bf16; the token embeddings run on the host CPU.
Image + prompt → caption / visual question answering. The image is encoded once and its KV cache is reused, so follow-up questions about the same image stay fast.
| File | Size | Size (W8) | Role |
|---|---|---|---|
vision_encoder_256.vmfb |
203 MB | 106 MB | SigLIP vision encoder, 256-res → 64 image tokens |
decoder_image_2part_A.vmfb |
353 MB | 150 MB | one-shot image-prefill decoder, layers 0–7 |
decoder_image_2part_B.vmfb |
311 MB | 132 MB | one-shot image-prefill decoder, layers 8–15 |
decoder_nolm.vmfb |
577 MB | 290 MB | LFM2 single-token decode body (hidden-state output) |
lm_head.vmfb |
134 MB | 67 MB | tied LM head (hidden → 65 536 logits) |
token_embeddings.npy |
134 MB | — | CPU embedding LUT / tied-LM-head weights (bf16) |
config.json, tokenizer.json |
— | — | model config + tokenizer |
cats-and-dogs-256.jpg |
— | — | sample 256-res image for the demo |
onnx/ |
~2 GB | — | reference ONNX exports (vision encoder, merged decoder, embeddings) for non-Torq runtimes |
| Platform | Model / Stage | Environment | NPU Clock | TTFT | Infer / s |
|---|---|---|---|---|---|
| SL2619 2GB | LFM2-VL-450M | Torq v2.0.0 | 1 GHz | 2844 ms | 3.4 |
| SL2619 2GB | LFM2-VL-450M-W8 | Torq v2.0.0 | 1 GHz | 1371 ms | 6.2 |
The models have been tested with the following environment.
A usage example is provided in the Torq Examples / LiquidAI-LFM2-VL-450M.
Check out the README for instructions.
This repository is a redistribution of a model created by Liquid AI, Inc., licensed under the LFM Open License v1.0. Copies of the license and the attribution notices are included alongside the model files:
Original model: LFM2.5-230M · Copyright © Liquid AI, Inc.
onnx/embed_tokens.onnx 268 MBonnx/decoder_model_merged.onnx 143.1 kBonnx/vision_encoder.onnx 122.3 kBLiquidAI/LFM2-VL-450M