Model reference · open weights

SmolVLM2-Video

LLMs HuggingFaceTB Vision + text 2 builds Open weights 1.5M dl/mo

SmolVLM2-Video is an open-weight language model from Hugging Face. SmolVLM2-256M-Video-Instruct (FP32) weighs 513 MB; the smallest configuration that runs it is RTX 3060 12 GB.

  • SmolVLM2-Video is a 507M parameter multimodal model developed by Hugging Face for image-text-to-text tasks.
  • It processes video, image, and text inputs to generate text outputs, supporting applications such as visual question answering and captioning.
  • The model is designed for on-device use, requiring only 1.8GB of GPU RAM for video inference, and is released under the Apache 2.0 license.

Summary of the HuggingFaceTB/SmolVLM2-500M-Video-Instruct model card, 2026-10-01. The estimate below is for another build of the family.

What it is

Released byHugging Face
Released2025-02-11
Parameters507M
VRAM513 MB for the weights

What it runs on

Memory and cards for SmolVLM2-256M-Video-Instruct (FP32)

513 MBweights, file size
23 MBcache per 1K tokens
1.8 GBruntime overhead, at least
8,192 tokenscontext max
CardRequests at onceContext maxMemory
8K each
RTX 3060 12 GB49all 8K11.6 GB
RTX 4060 Ti 16 GB69all 8K15.4 GB
RTX 3090 24 GB111all 8K23.4 GB
RTX 4090 24 GB111all 8K23.4 GB
RTX 5090 32 GB152all 8K31.0 GB
L40S 48 GB220all 8K44.0 GB
A100 80 GB402all 8K78.2 GB
H100 80 GB387all 8K78.1 GB
RTX PRO 6000 Blackwell 96 GB470all 8K93.8 GB
DGX Spark (GB10) 128 GB unified542all 8K107 GB
H200 141 GB704all 8K138 GB
B200 180 GB906all 8K176 GB
Memory needed at each load
Requests at once8K tokens each
12.5 GB
53.2 GB
83.8 GB
165.3 GB
328.3 GB
6414.4 GB

One card, with vLLM's small-card settings.

Builds

Sizes, precisions & builds

BuildParamsPrecisionWeightsSmallest setup
SmolVLM2-500M-Video-Instruct ↗ 507MFP32 1.0 GBRTX 3060 12 GB
SmolVLM2-256M-Video-Instruct (above) ↗ 256MFP32 513 MBRTX 3060 12 GB

From the model card

What Hugging Face says about SmolVLM2-Video

Read the model card

SmolVLM2-500M-Video is a lightweight multimodal model designed to analyze video content. The model processes videos, images, and text inputs to generate text outputs - whether answering questions about media files, comparing visual content, or transcribing text from images. Despite its compact size, requiring only 1.8GB of GPU RAM for video inference, it delivers robust performance on complex multimodal tasks. This efficiency makes it particularly well-suited for on-device applications where computational resources may be limited.

Model Summary

  • Developed by: Hugging Face 🤗
  • Model type: Multi-modal model (image/multi-image/video/text)
  • Language(s) (NLP): English
  • License: Apache 2.0
  • Architecture: Based on Idefics3 (see technical summary)

Resources

Uses

SmolVLM2 can be used for inference on multimodal (video / image / text) tasks where the input consists of text queries along with video or one or more images. Text and media files can be interleaved arbitrarily, enabling tasks like captioning, visual question answering, and storytelling based on visual content. The model does not support image or video generation.

To fine-tune SmolVLM2 on a specific task, you can follow the fine-tuning tutorial.

Evaluation

We evaluated the performance of the SmolVLM2 family on the following scientific benchmarks:

SizeVideo-MMEMLVUMVBench
2.2B52.155.246.27
500M42.247.339.73
256M33.740.632.7

How to get started

You can use transformers to load, infer and fine-tune SmolVLM. Make sure you have num2words, flash-attn and latest transformers installed. You can load the model as follows.

from transformers import AutoProcessor, AutoModelForImageTextToText
import torch

model_path = "HuggingFaceTB/SmolVLM2-500M-Video-Instruct"
processor = AutoProcessor.from_pretrained(model_path)
model = AutoModelForImageTextToText.from_pretrained(
    model_path,
    torch_dtype=torch.bfloat16,
    _attn_implementation="flash_attention_2"
).to("cuda")
Simple Inference

You preprocess your inputs directly using chat templates and directly passing them

messages = [
    {
        "role": "user",
        "content": [
            {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/bee.jpg"},
            {"type": "text", "text": "Can you describe this image?"},
        ]
    },
]

inputs = processor.apply_chat_template(
    messages,
    add_generation_prompt=True,
    tokenize=True,
    return_dict=True,
    return_tensors="pt",
).to(model.device, dtype=torch.bfloat16)

generated_ids = model.generate(**inputs, do_sample=False, max_new_tokens=64)
generated_texts = processor.batch_decode(
    generated_ids,
    skip_special_tokens=True,
)
print(generated_texts[0])
Video Inference

To use SmolVLM2 for video inference, make sure you have decord installed.

messages = [
    {
        "role": "user",
        "content": [
            {"type": "video", "path": "path_to_video.mp4"},
            {"type": "text", "text": "Describe this video in detail"}
        ]
    },
]

inputs = processor.apply_chat_template(
    messages,
    add_generation_prompt=True,
    tokenize=True,
    return_dict=True,
    return_tensors="pt",
).to(model.device, dtype=torch.bfloat16)

generated_ids = model.generate(**inputs, do_sample=False, max_new_tokens=64)
generated_texts = processor.batch_decode(
    generated_ids,
    skip_special_tokens=True,
)

print(generated_texts[0])
Multi-image Interleaved Inference

You can interleave multiple media with text using chat templates.

import torch

messages = [
    {
        "role": "user",
        "content": [
          {"type": "text", "text": "What is the similarity between these two images?"},
          {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/bee.jpg"},
          {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/0052a70beed5bf71b92610a43a52df6d286cd5f3/diffusers/rabbit.jpg"},
        ]
    },
]

inputs = processor.apply_chat_template(
    messages,
    add_generation_prompt=True,
    tokenize=True,
    return_dict=True,
    return_tensors="pt",
).to(model.device, dtype=torch.bfloat16)

generated_ids = model.generate(**inputs, do_sample=False, max_new_tokens=64)
generated_texts = processor.batch_decode(
    generated_ids,
    skip_special_tokens=True,
)
print(generated_texts[0])

Model optimizations

Misuse and Out-of-scope Use

SmolVLM is not intended for high-stakes scenarios or critical decision-making processes that affect an individual's well-being or livelihood. The model may produce content that appears factual but may not be accurate. Misuse includes, but is not limited to:

  • Prohibited Uses:
    • Evaluating or scoring individuals (e.g., in employment, education, credit)
    • Critical automated decision-making
    • Generating unreliable factual content
  • Malicious Activities:
    • Spam generation
    • Disinformation campaigns
    • Harassment or abuse
    • Unauthorized surveillance

License

SmolVLM2 is built upon SigLIP as image encoder and SmolLM2 for text decoder part.

We release the SmolVLM2 checkpoints under the Apache 2.0 license.

Citation information

You can cite us in the following way:

@art

Quoted from the model card on Hugging Face. The full card is behind the Hugging Face link above.

© 2026 AxForge · EU-hosted AI infrastructure Pricing Docs Trust Privacy Terms