How to use from the
Use from the
llama-cpp-python library
# !pip install llama-cpp-python

from llama_cpp import Llama

llm = Llama.from_pretrained(
	repo_id="hzang/Cosmos-Reason2-2B-GGUF",
	filename="",
)
llm.create_chat_completion(
	messages = [
		{
			"role": "user",
			"content": [
				{
					"type": "text",
					"text": "Describe this image in one sentence."
				},
				{
					"type": "image_url",
					"image_url": {
						"url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg"
					}
				}
			]
		}
	]
)

Cosmos-Reason2-2B-GGUF

llama.cpp-compatible GGUF builds of nvidia/Cosmos-Reason2-2B, a 2.4B vision-language model post-trained from Qwen3-VL-2B-Instruct for physical-AI reasoning, spatial understanding, anomaly detection, and chain-of-thought scene analysis.

Files

File Size Notes
Cosmos-Reason2-2B-Q4_K_M.gguf ~1.28 GB 4-bit k-quant. Recommended for memory-constrained devices (e.g., iPhone 13+, 6 GB RAM).
Cosmos-Reason2-2B-Q8_0.gguf ~2.10 GB 8-bit quant. Recommended where memory allows (iPhone 15 Pro+ / 8 GB+).
mmproj-Cosmos-Reason2-2B-F16.gguf ~0.82 GB Vision projector. Required for multimodal inference; load alongside either quant.

Usage with llama.cpp

llama-server \
    -m Cosmos-Reason2-2B-Q4_K_M.gguf \
    --mmproj mmproj-Cosmos-Reason2-2B-F16.gguf \
    --host 0.0.0.0 --port 8080 \
    -c 4096 --jinja

OpenAI-compatible endpoint at http://localhost:8080/v1. Standard chat/completions with image_url content blocks works out of the box.

Quality

Validated against the BF16 reference (nvidia/Cosmos-Reason2-2B) on a golden eval covering spatial reasoning, scene understanding, counting, OCR, anomaly detection, bounding-box output, and refusal. Q4_K_M scores 6/7 โ€” equivalent to MLX Q4 โ€” with the single discrepancy being an evaluator heuristic artifact, not a real quality regression.

Source / lineage

GGUF builds re-uploaded from Kbenkhaled/Cosmos-Reason2-2B-GGUF for hosting stability under the hzang/ account, alongside the MLX variants:

License

NVIDIA Open Model License + Apache 2.0.

Downloads last month
139
GGUF
Model size
2B params
Architecture
qwen3vl
Hardware compatibility
Log In to add your hardware

4-bit

8-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for hzang/Cosmos-Reason2-2B-GGUF

Quantized
(14)
this model