Model reference · open weights
Sa2VA-Qwen3-VL-SAM3 is an open-weight language model from ByteDance. Sa2VA-Qwen3-VL-4B-SAM3 (FP32) weighs 10.6 GB; the smallest configuration that runs it is RTX 4060 Ti 16 GB.
Summary of the ByteDance/Sa2VA-Qwen3-VL-4B-SAM3 model card, 2026-10-01
What it is
| Released by | ByteDance |
|---|---|
| Released | 2026-06-10 |
| Parameters | 5.3B |
| VRAM | 10.6 GB for the weights |
What it runs on
| Card | Requests at once | Context max | Memory | |
|---|---|---|---|---|
| 8K each | 32K each | |||
| RTX 3060 12 GB | — | — | — | 11.6 GB |
| RTX 4060 Ti 16 GB | 2 | — | 18K | 15.4 GB |
| RTX 3090 24 GB | 8 | 2 | 71K | 23.4 GB |
| RTX 4090 24 GB | 8 | 2 | 71K | 23.4 GB |
| RTX 5090 32 GB | 15 | 3 | 121K | 31.0 GB |
| L40S 48 GB | 25 | 6 | 207K | 44.0 GB |
| A100 80 GB | 54 | 13 | all 256K | 78.2 GB |
| H100 80 GB | 50 | 12 | all 256K | 78.1 GB |
| RTX PRO 6000 Blackwell 96 GB | 63 | 15 | all 256K | 93.8 GB |
| DGX Spark (GB10) 128 GB unified | 74 | 18 | all 256K | 107 GB |
| H200 141 GB | 100 | 25 | all 256K | 138 GB |
| B200 180 GB | 131 | 32 | all 256K | 176 GB |
| 2× RTX 3060 12 GB tensor parallel | 7 | 1 | 57K | 11.6 GB a card |
| 2× RTX 4060 Ti 16 GB tensor parallel | 13 | 3 | 107K | 15.4 GB a card |
| Requests at once | 8K tokens each | 32K tokens each |
|---|---|---|
| 1 | 13.8 GB | 17.4 GB |
| 5 | 18.6 GB | 36.8 GB |
| 8 | 22.3 GB | 51.3 GB |
| 16 | 31.9 GB | 89.9 GB |
| 32 | 51.3 GB | 167 GB |
| 64 | 89.9 GB | 322 GB |
One card, with vLLM's small-card settings.
From the model card
Sa2VA-Qwen3-VL-4B-SAM3 is a Sa2VA model built on Qwen3-VL-4B-Instruct with a
SAM3 PVS-tracker grounding encoder. The MLLM predicts a [SEG] token whose
hidden state conditions the SAM3 mask decoder, producing dense image and video
referring segmentation alongside open-ended chat.
This checkpoint is self-contained: the SAM3 grounding code is vendored into
the repository, so it loads with trust_remote_code=True without any extra
packages.
Image referring segmentation (cIoU):
| RefCOCO val / testA / testB | RefCOCO+ val / testA / testB | RefCOCOg val / test |
|---|---|---|
| 83.7 / 84.7 / 81.9 | 79.4 / 83.2 / 76.0 | 83.0 / 83.0 |
Video referring segmentation (J&F):
| MeViS (val_u) | ReVOS | Ref-DAVIS17 |
|---|---|---|
| 65.3 | 66.3 | 77.1 |
Grounded conversation generation (GCG, val):
| AP50 | mIoU | Recall |
|---|---|---|
| 37.1 | 70.1 | 49.4 |
import torch
from transformers import AutoModel, AutoProcessor
from PIL import Image
path = "HarborYuan/Sa2VA-Qwen3-VL-4B-SAM3"
model = AutoModel.from_pretrained(
path, torch_dtype=torch.bfloat16, trust_remote_code=True, low_cpu_mem_usage=True,
).eval().cuda()
processor = AutoProcessor.from_pretrained(path, trust_remote_code=True)
image = Image.open("your_image.jpg").convert("RGB")
out = model.predict_forward(
image=image,
text="Please segment the dog in the image.",
processor=processor,
)
print(out["prediction"]) # text response containing [SEG]
masks = out["prediction_masks"] # list of boolean masks at the original image size
Load in bfloat16 (the lm_head is kept in higher precision; torch_dtype="auto"
mixes dtypes and fails).
For video, pass video=[frame0, frame1, ...] (a list of PIL images) instead of image.
If you find this project useful in your research, please consider citing:
@article{sa2va,
title={Sa2VA: Marrying SAM2 with LLaVA for Dense Grounded Understanding of Images and Videos},
author={Yuan, Haobo and Li, Xiangtai and Zhang, Tao and Sun, Yueyi and Huang, Zilong and Xu, Shilin and Ji, Shunping and Tong, Yunhai and Qi, Lu and Feng, Jiashi and Yang, Ming-Hsuan},
journal={IEEE TPAMI},
year={2026}
}
Quoted from the model card on Hugging Face. The full card is behind the Hugging Face link above.