Official self-contained checkpoint for GAR-v2-4B from Grasp Any Region v2: Generalist Multimodal Region Experts at Scale.
| GAR-VQA | GAR-Cap | DLC-Bench | ParaDLC | Ferret-Bench | MDVP Macro | 11-General Avg. (Δ Base) |
|---|---|---|---|---|---|---|
| 71.9 | 75.0 | 68.3 | 57.6 | 45.4 | 114.7 | 59.9 (−20.2) |
Use the standalone inference/hf_inference.py client (no training code or vLLM required):
python inference/hf_inference.py \
--model-path laolida-w/GAR-v2-4B \
--image assets/demo_image_1.png \
--masks assets/demo_mask_1.png \
--prompt "Describe <Prompt0> in detail."
Or in Python:
from inference.hf_inference import GARHF
model = GARHF.from_pretrained("laolida-w/GAR-v2-4B", trust_remote_code=True)
answer = model.generate(pil_image, binary_masks, "Describe <Prompt0> in detail.")
Note: This package bundles its own model runtime (
gar_runtime: gar_model.GARModel) and is loaded viaGARHF(or thevllm_gar_qwen35plugin), not genericAutoModel.