Run this model with HF Jobs

Run VisualInference/Molmo3-8B-MLX-8bit on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.

Paste one of these prompts into your coding agent:

Fine-tune on my dataset

Use HF Jobs to fine-tune https://huggingface.co/VisualInference/Molmo3-8B-MLX-8bit. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.

Run batch inference

Use HF Jobs to run batch inference with https://huggingface.co/VisualInference/Molmo3-8B-MLX-8bit on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.

Evaluate on a benchmark

Use HF Jobs to evaluate https://huggingface.co/VisualInference/Molmo3-8B-MLX-8bit. Ask me which benchmark to run, then save the scores and the per-example results to a new dataset repo. Run `hf jobs --help` first to learn the CLI.
Molmo3-8B-MLX-8bit / README.md
VisualInference's picture
Upload MLX build
6782e08 verified
|
Raw History Blame Contribute Delete
4.84 kB
metadata
license: apache-2.0
license_link: https://www.apache.org/licenses/LICENSE-2.0
base_model: allenai/Molmo3-8B
base_model_relation: quantized
library_name: mlx
pipeline_tag: image-text-to-text
language:
  - en
tags:
  - mlx
  - mlx-vlm
  - apple-silicon
  - quantized
  - molmo
  - molmo3
  - multimodal
  - grounding
  - spatial

Molmo3-8B for MLX, 8bit

Molmo3-8B is Ai2's open vision-language model for spatial and 3D understanding and grounding (pointing, segmentation masks, depth, 3D boxes), built on Qwen3-8B and SigLIP 2 (Apache 2.0). This repository is a 8-bit build for Apple silicon in mlx-vlm format: 9.6 GiB of weights, for Macs with 16 GB (24 GB comfortable) of memory. The decoder's linear layers and output head are quantized to 8 bits at group size 64; the image encoder, connector, pointing and segmentation heads stay in bf16, as mlx-vlm's Molmo3 port does by design.

Build Weights Bits per weight Smallest Mac Decode speed Peak memory (smoke test)
original (fp32 checkpoint) 32.4 GiB (16.2 GiB as bf16) 32 24 GB in bf16 not run here
4bit 6.1 GiB 5.99 16 GB (12 GB tight) 33.7 tok/s 8.0 GiB
8bit (this repo) 9.6 GiB 9.47 16 GB (24 GB comfortable) 22.1 tok/s 11.5 GiB

Measured on a Mac mini (M4 Pro, 48 GB), greedy decoding, mlx-vlm 0.8.3. Decode speed is from a word-problem answer; peak memory is the highest across the smoke prompts (each under 1k prompt tokens plus at most one image). Held-out loss against the original and task checks: coming. No other numbers are claimed.

The smaller sibling has its own build: Molmo3-4B-MLX-4bit.

Use

Molmo3 support arrived in mlx-vlm 0.8.3 (pull request 2902).

pip install -U "mlx-vlm>=0.8.3"
mlx_vlm.generate --model VisualInference/Molmo3-8B-MLX-8bit --image photo.jpg \
  --prompt "Describe this image." --max-tokens 256

Pointing and masks come from separate grounding heads, so decode them with the generation's cache:

from PIL import Image
from mlx_vlm import generate, load
from mlx_vlm.prompt_utils import apply_chat_template

model, processor = load("VisualInference/Molmo3-8B-MLX-8bit", trust_remote_code=False)
image = Image.open("photo.jpg").convert("RGB")
cache = model.make_cache()
prompt = apply_chat_template(processor, model.config, "Point to the spoon.", num_images=1)
result = generate(model, processor, prompt, image=[image], prompt_cache=cache,
                  max_tokens=128, temperature=0, verbose=False)
print(processor.decode_text(result.text, model.grounding(cache)[0], images=[image]))

Segment the spoon. returns a COCO RLE mask instead. Use a fresh cache for each multimodal prompt. The mlx-vlm port does not support chunked prefill, prefix-cache reuse, speculative decoding or KV-cache quantization for this model. The 3D outputs (depth, normals, 3D boxes) decode through the same processor but were not checked here.

Smoke test

Greedy, this build, Mac mini (M4 Pro, 48 GB):

  • code (90 tokens): python def merge_intervals(intervals): if not intervals: return [] intervals.sort() merged = [intervals[0]] for interval in intervals[1:]: last = merged[-1] if interval[0] <= last[1]: merged[-1] = [last[0], m …
  • reasoning (133 tokens): To find the change Maya gets, we first need to calculate the total cost of the pencils she bought. Since the shop sells pencils at 3 for $0.75, the cost of one pencil is $0.75 / 3 = $0.25. Maya buys 14 pencils, so the total cost is 14 * $0.25 = $3.50. Maya …
  • multilingual (25 tokens): Spanish: La biblioteca abre a las nueve de la mañana. Chinese: 图书馆早上九点开放。
  • image (90 tokens): The image displays the text "MLX 42" in bold black letters at the top. Below this text, there are two distinct shapes: 1. A red square on the left side 2. A blue circle on the right side These shapes are positioned directly beneath the text, creating a simpl …
  • point (16 tokens): <points coords="<|POINT_PATCH|><|POINT_SUBPATCH|><|POINT_LOC|>1<|POINT_PATCH|>">blue circle</points> Decoded point: (513, 290) in a 640×400 image; the circle spans x 420-600, y 200-380.

License and use

Apache 2.0, as the original. Ai2 notes the model is trained on third-party datasets, some of them for academic and non-commercial research use only, and is intended for research and educational use under its Responsible Use Guidelines. Check the original card before other use.