How to use from
Pi
Start the llama.cpp server
# Install llama.cpp:
brew install llama.cpp
# Start a local OpenAI-compatible server:
llama-server -hf hzang/Cosmos-Reason2-2B-GGUF:
Configure the model in Pi
# Install Pi:
npm install -g @mariozechner/pi-coding-agent
# Add to ~/.pi/agent/models.json:
{
  "providers": {
    "llama-cpp": {
      "baseUrl": "http://localhost:8080/v1",
      "api": "openai-completions",
      "apiKey": "none",
      "models": [
        {
          "id": "hzang/Cosmos-Reason2-2B-GGUF:"
        }
      ]
    }
  }
}
Run Pi
# Start Pi in your project directory:
pi
Quick Links

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
40
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