Dev.to AI ๐Ÿค– Ai ๐Ÿ‘ 0 ๐Ÿ“– 7 min read

How to Run Molmo3-8B Locally on a 24 GB GPU (It Beats GPT-6 Astra at 3D)

An 8.7B-parameter open model now scores 32.1 on Omni3D 3D detection. GPT-6 Astra scores 13.4. On Depth-Eval it's 83.0 against Gemini 4 Argon's 62.0. Those are Ai2's own numbers for Molmo3-8B, released December 3. Ai2 rec

An 8.7B-parameter open model now scores 32.1 on Omni3D 3D detection. GPT-6 Astra scores 13.4. On Depth-Eval it's 83.0 against Gemini 4 Argon's 62.0. Those are Ai2's own numbers for Molmo3-8B, released December 3. Ai2 recommends a 24 GB GPU for it. If those numbers survive independent testing, this is the first local vision model I'd seriously consider for anything spatial.

There are three catches. The license reads more permissive than it is. The Ollama build is Mac-only and advertises plain image chat, not the 3D output. And on long video it's slightly worse than the model it replaces.

I haven't run it. This post covers what the model card, the Ai2 blog post and the vLLM plugin repo say about running Molmo3-8B locally, plus the parts people will trip over.

What Molmo3-8B actually is

It's Qwen3-8B as the language model, with a SigLIP 2 so400m vision encoder bolted on. There's also a Molmo3-4B built on Qwen3-4B-Instruct-2507. Both take images, multi-image sets and video, and answer in text plus structured grounding:

  • 2D points and segmentation masks (COCO RLE)
  • points with metric depth or a surface normal
  • 3D bounding boxes in camera coordinates, in meters
  • camera intrinsics / field of view
  • video points and tracks, with timestamps

The 3D box output is an anchor point, the projected 3D center, log depth, size, and a 6D rotation. You ask "Find the 3D boxes for cup." and get centers and sizes back as JSON. Ai2 says plainly that it doesn't target coding, tool use or agents, and it doesn't output robot actions.

The benchmarks: where it wins and where it doesn't

From the model card, with the best API model Ai2 compared against:

Benchmark Molmo3-8B Molmo3-4B Best API model
Depth-Eval (ฮด1.25) 83.0 83.6 62.0 (Gemini 4 Argon)
Omni3D (AP3D) 32.1 32.0 13.4 (GPT-6 Astra)
RefDet3D-Eval (LET F1) 61.7 63.6 21.3 (Claude Opus 5.5)
Normal-Eval (<11.25ยฐ) 74.7 72.8 56.7 (GPT-6 Astra)
SPAR-Bench (acc.) 79.3 79.4 69.8 (Gemini 4 Argon)
SA-Co/Gold (F1) 87.0 85.5 94.7 (Gemini 4 Argon)
3DSRBench (acc.) 69.1 67.4 85.8 (Gemini 4 Argon)
Embodied general, 12 benchmarks 75.8 75.1 88.9 (Gemini 4 Argon)

It crushes the frontier models on metric outputs (depth, normals, 3D boxes) and loses to them on spatial reasoning and general embodied QA. My read is that this follows the training: Ai2 trained it to output numbers, and the big API models were trained to talk about images. Every one of these comes from Ai2's own evals, many of them benchmarks Ai2 built (Depth-Eval, Normal-Eval, RefDet3D-Eval). Treat the gap as a strong hint until someone else reproduces it.

Also check which number you're quoting. CrossPoint is 87.9 vs Gemini's 92.0 on the card, while the blog gives 90.1% vs 92.2% for the correspondence-pointing subtask. Same benchmark name, different slices.

Look at the 4B column too. It matches or beats the 8B on Depth-Eval, RefDet3D-Eval and SPAR-Bench. If spatial output is all you need, start with the 4B.

Molmo3 vs Molmo2: the long video regression

Model Image QA (11) Multi-image QA (3) Short video QA Long video QA
Molmo2-8B 81.7 56.4 76.0 64.1
Molmo3-8B 82.8 63.6 75.7 62.5

Multi-image jumps 7.2 points. Long video drops 1.6. The card explains why: "Molmo3 skips the long-context training stage." The blog names a second likely cause, removing bidirectional attention between frames "to reduce training compute", and the card warns that "video comprehension drops on videos longer than a few minutes."

I think that was the right call for this model. Nobody picks Molmo for hour-long video summarization. But if you built a pipeline on Molmo2 for long clips, don't swap it out blind.

The Molmo3 license: Apache 2.0 weights, non-commercial data

The weights are tagged apache-2.0. Then the License and Use section says:

"It is intended for research and educational use in accordance with Ai2's Responsible Use Guidelines. ... This model is trained on third-party datasets that are subject to academic and non-commercial research use only."

Apache 2.0 says you can ship it in a product. The training data terms say "non-commercial research use only." Ai2 doesn't resolve that; it says "Please review the sources to determine if this model is appropriate for your use case." A lot of open vision models have the same problem. The license on the weights is clean, and whether the data terms carry through to the weights is something nobody has settled in court.

My take: for a hobby robot, a research prototype or an internal demo, go ahead. If it goes in front of paying customers, talk to legal before you write the first line of integration code.

How to run Molmo3-8B locally with transformers

Hardware first. The card recommends "at least 16 GB for Molmo3-4B and 24 GB for Molmo3-8B, more for long videos or many input images." The checkpoints are stored in fp32: 35 GB on disk for the 8B, 20 GB for the 4B. You load in bf16.

conda create --name molmo3 python=3.11
conda activate molmo3
pip install torch torchvision "transformers>=5.2" numpy pillow
pip install torchcodec   # for video; falls back to PyAV (`pip install av`)

Ai2 says they tested with transformers 5.5.3 and PyTorch 2.11. The model code ships in the repo, so you need trust_remote_code=True:

import torch
from transformers import AutoModelForImageTextToText, AutoProcessor

model_id = "allenai/Molmo3-8B"
processor = AutoProcessor.from_pretrained(model_id, trust_remote_code=True)
model = AutoModelForImageTextToText.from_pretrained(
    model_id, trust_remote_code=True, dtype=torch.bfloat16).cuda().eval()

Pointing, adapted from the card (the card fetches a sample image with a helper; any RGB image works):

from PIL import Image

image = Image.open("coffee.png").convert("RGB")
messages = [{"role": "user", "content": [{"type": "image"}, {"type": "text", "text": "Point to the spoon."}]}]
inputs = processor.apply_chat_template(messages, images=[image], tokenize=True).to("cuda")
out = model.generate(**inputs, max_new_tokens=64, do_sample=False, return_dict_in_generate=True)
ids = out.sequences[0, inputs["input_ids"].shape[1]:]
document = processor.decode(ids, out.grounding[0], images=[image])
print(document)

The grounding comes back in out.grounding, and processor.decode merges it with the text, so don't decode ids with the plain tokenizer.

Things that will bite you:

  • No flash attention. Image tokens attend to each other bidirectionally, so only sdpa (default), flex_attention and eager work. Don't pass attn_implementation="flash_attention_2" out of habit.
  • 8 crops by default, 24 in the evals. "Many of our official evaluations use 24 crops." If your results look worse than the table, load the processor with max_crops=24. Expect more memory use.
  • Ignore the generic snippets on the HF page. The "Use this model" widget shows a plain vllm serve and a docker model run. The vLLM plugin README says plain vLLM "cannot carry the grounding outputs."
  • Native transformers support is coming. A merged PR on the model repo notes "Molmo3 is being added to Transformers natively," so trust_remote_code should go away eventually.

Serving it with the molmo3-vllm plugin

For an OpenAI-compatible endpoint:

git clone [email protected]:allenai/molmo3-vllm.git && cd molmo3-vllm
pip install -e .            # vllm==0.26.0, vllm-omni==0.26.0
pip install torchcodec      # for video

vllm-omni serve allenai/Molmo3-8B --omni --served-model-name molmo3 \
  --dtype bfloat16 --max-model-len 12800 --max-num-batched-tokens 12800 \
  --limit-mm-per-prompt '{"image": 5, "video": 1}'

The README example uses the 4B. I swapped in the 8B ID, which the card says works. --omni is mandatory. Without it you silently get plain vLLM and lose grounding. Pass extra_body={"vllm_xargs": {"grounding": "json_objects"}} in your client call to get points and masks back as JSON.

The plugin is pinned hard. "Versions other than 0.26.0 might not work," and there's no prefix caching, no speculative decoding, no beam search, and logprobs requests fail. For speed, the model card reports 1.5โ€“4.5 s per image request and about 8 s for a 128-frame video, measured with this plugin on one H100 serving 32 concurrent requests. It doesn't say which model size.

Ollama, MLX and the missing GGUF

There's no GGUF, so no llama.cpp. Ollama does have an official molmo3 build (ollama run molmo3:8b, 7.4 GB), but the page says it "runs on Mac only for now" and lists only image understanding: describe, analyze, answer questions. Nothing about points, masks or 3D boxes. The quantizations list has three community builds: MLX 4-bit and 8-bit (VisualInference/Molmo3-8B-MLX-4bit, -8bit) and an NVFP4 build for Blackwell. They're third-party and new. Before you trust their 3D output, check whether they keep the custom grounding heads at all, because a quant that only gives you the text is a much smaller model.

If you only have a 16 GB card, run the 4B in bf16 through the official path. Going by the table above, you give up very little on spatial tasks.

So what would you build with it?

You get metric depth and 3D boxes from a single RGB frame on a 24 GB card, under a license that may or may not cover your use case. I'd point it at a cheap robot arm and see how far "pick up the cup" gets without a depth camera.

What would you actually build with it: robotics, AR, something else? And does the non-commercial data clause kill it for you, or do you think it's just paperwork?

Sources

๐Ÿ“ฐ Read the original article on Dev.to AI

Originally published by Dev.to AI. Aggregated on AIWithGhost for educational purposes โ€” full credit and traffic to the original publisher.