Skip to main content
Back

Hugging Face's SmolVLM2 Runs Video AI on Your Phone With 1.8GB

Hugging Face released a 500M-parameter video language model that runs on 1.8GB of GPU RAM, opening the door to on-device video understanding.

Pro

Model, Full Access
  • Hugging Face released SmolVLM2-500M-Video-Instruct, a 500M parameter video-capable VLM under Apache 2.0.
  • Runs video inference in 1.8GB of GPU RAM, enabling on-device deployment on phones and edge hardware.
  • Scores 42.2 on Video-MME, 47.3 on MLVU, and 39.73 on MVBench, competitive for its footprint.
  • Built on SigLIP vision encoder plus SmolLM2-360M text decoder in an Idefics3-style architecture.
  • Trained on 3.3M samples across ten datasets including LLaVA-Video-178K, FineVideo, MovieChat, and ShareGPT4Video.
  • Supports Transformers, vLLM, SGLang, MLX, and llama.cpp GGUF, with iPhone and VLC demos shipped alongside.

Video understanding used to mean loading a multi-billion parameter model onto a beefy GPU. Hugging Face wants to change that with SmolVLM2-500M-Video-Instruct, a half-billion parameter multimodal model that ingests video, images, and text and returns text descriptions, answers, or transcriptions. It ships under Apache 2.0 and has crossed 1.4 million downloads on the Hub.

The model card makes a concrete promise: 1.8GB of GPU RAM for video inference, low enough to plausibly run on laptops, phones, and edge devices without a datacenter attached. That footprint is the entire story.

A tiny video model that actually works

SmolVLM2 comes in three sizes, and 500M sits in the sweet spot between capability and cost. It processes videos, images, and text to generate text output, whether answering questions about media files, comparing visual content, or transcribing text from images.

Under the hood, the release stitches together two familiar components: Google's SigLIP as the vision encoder and SmolLM2-360M-Instruct as the text decoder, wrapped in an Idefics3-style architecture that handles interleaved image and text tokens. That base language model is why the parameter count stays low while the model still speaks fluent instruction-following English.

How it holds up on benchmarks

The team evaluated the family on three standard video benchmarks. Video-MME is the headliner, a mix of clips ranging from short seconds-long shots to hour-long videos across multiple modalities.

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

The 500M variant lands roughly 10 points behind the 2.2B on Video-MME while using less than a quarter of the parameters. For anyone deploying on constrained hardware, that's the interesting curve.

Getting it running

The path of least resistance is Transformers. Install num2words, flash-attn, and a recent transformers, then load with AutoModelForImageTextToText. Video inference also needs decord for frame decoding.

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")
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)
out = model.generate(**inputs, do_sample=False, max_new_tokens=64)
print(processor.batch_decode(out, skip_special_tokens=True)[0])

Beyond raw Transformers, deployment options are plentiful:

  • vLLM and SGLang both serve the model with an OpenAI-compatible chat completions API.
  • MLX handles Apple Silicon through mlx-vlm in Python and mlx-swift-examples in Swift, which powers the iPhone demo.
  • llama.cpp support arrived through a GGUF conversion, with an 8-bit quant weighing 437MB and an F16 build at 820MB.
  • NPUs are already on the map, with an Axera port using w8a16 quantization to run on their AX650N development board.

The training mix

Training used 3.3M samples drawn from ten datasets: LlaVa Onevision, M4-Instruct, Mammoth, LlaVa Video 178K, FineVideo, VideoStar, VRipt, Vista-400K, MovieChat, and ShareGPT4Video. The blend skews toward visual content, with images at 34.4%, video at 33.0%, text at 20.2%, and multi-image at 12.3%. The team credits its data mixture strategy to lessons from the Apollo paper on video LMM training.

What the small size unlocks

Hugging Face shipped three demo apps alongside the release that hint at where this is going:

  1. An iPhone app that runs the 500M model entirely locally, analyzing video without a network round trip.
  2. A VLC media player integration that generates segment descriptions so you can semantically search or jump around a video by natural language query.
  3. A Video Highlight Generator designed to chew through hour-plus content like sports matches and extract the notable moments.

The practical use cases follow directly from the memory budget. Fit under 2GB and you can add video QA, captioning, or content moderation to mobile clients, browser extensions via ONNX, edge cameras, or media indexing services that would previously have needed a hosted API.

Where it falls down

The limits are what you'd expect from 500M parameters. It hallucinates, it's English-only, and the model card is explicit that the efficiency suits lightweight scenarios rather than high-stakes ones. The team warns against using SmolVLM for evaluating individuals, credit or employment decisions, automated critical decision-making, or generating content presented as factual truth. Complex multi-hop reasoning over long videos will also be shakier than what a frontier VLM produces.

Pushing down instead of up

Most of the video language model conversation has been about scaling up: longer contexts, more frames, more parameters. SmolVLM2 goes the other direction. A model this small being competitive at all on Video-MME suggests that much of what larger video models were doing was learnable from a well-curated 3.3M sample mix combined with a decent frozen vision encoder.

The community has responded by treating it as infrastructure. There are already 88 finetunes and 25 quantizations derived from the base checkpoint, plus 64 Spaces built on top for everything from calorie counting on food photos to VQA for autonomous driving research. When a base model becomes that kind of substrate this quickly, the size-versus-capability curve has usually shifted for a category of applications.