Instructions to use RhinoWithAcape/Cosmos3-Nano-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Cosmos
How to use RhinoWithAcape/Cosmos3-Nano-GGUF with Cosmos:
# No code snippets available yet for this library. # To use this model, check the repository files and the library's documentation. # Want to help? PRs adding snippets are welcome at: # https://github.com/huggingface/huggingface.js
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use RhinoWithAcape/Cosmos3-Nano-GGUF with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf RhinoWithAcape/Cosmos3-Nano-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf RhinoWithAcape/Cosmos3-Nano-GGUF:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf RhinoWithAcape/Cosmos3-Nano-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf RhinoWithAcape/Cosmos3-Nano-GGUF:Q4_K_M
Use pre-built binary
# Download pre-built binary from: # https://github.com/ggerganov/llama.cpp/releases # Start a local OpenAI-compatible server with a web UI: ./llama-server -hf RhinoWithAcape/Cosmos3-Nano-GGUF:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf RhinoWithAcape/Cosmos3-Nano-GGUF:Q4_K_M
Build from source code
git clone https://github.com/ggerganov/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-server llama-cli # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama-server -hf RhinoWithAcape/Cosmos3-Nano-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf RhinoWithAcape/Cosmos3-Nano-GGUF:Q4_K_M
Use Docker
docker model run hf.co/RhinoWithAcape/Cosmos3-Nano-GGUF:Q4_K_M
- LM Studio
- Jan
- vLLM
How to use RhinoWithAcape/Cosmos3-Nano-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "RhinoWithAcape/Cosmos3-Nano-GGUF" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "RhinoWithAcape/Cosmos3-Nano-GGUF", "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" } } ] } ] }'Use Docker
docker model run hf.co/RhinoWithAcape/Cosmos3-Nano-GGUF:Q4_K_M
- Ollama
How to use RhinoWithAcape/Cosmos3-Nano-GGUF with Ollama:
ollama run hf.co/RhinoWithAcape/Cosmos3-Nano-GGUF:Q4_K_M
- Unsloth Studio
How to use RhinoWithAcape/Cosmos3-Nano-GGUF with Unsloth Studio:
Install Unsloth Studio (macOS, Linux, WSL)
curl -fsSL https://unsloth.ai/install.sh | sh # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for RhinoWithAcape/Cosmos3-Nano-GGUF to start chatting
Install Unsloth Studio (Windows)
irm https://unsloth.ai/install.ps1 | iex # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for RhinoWithAcape/Cosmos3-Nano-GGUF to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for RhinoWithAcape/Cosmos3-Nano-GGUF to start chatting
- Pi
How to use RhinoWithAcape/Cosmos3-Nano-GGUF with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf RhinoWithAcape/Cosmos3-Nano-GGUF:Q4_K_M
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": "RhinoWithAcape/Cosmos3-Nano-GGUF:Q4_K_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use RhinoWithAcape/Cosmos3-Nano-GGUF with Docker Model Runner:
docker model run hf.co/RhinoWithAcape/Cosmos3-Nano-GGUF:Q4_K_M
- Lemonade
How to use RhinoWithAcape/Cosmos3-Nano-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull RhinoWithAcape/Cosmos3-Nano-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.Cosmos3-Nano-GGUF-Q4_K_M
List all available models
lemonade list
- Hermes Agent
How to use RhinoWithAcape/Cosmos3-Nano-GGUF with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf RhinoWithAcape/Cosmos3-Nano-GGUF:Q4_K_M
Configure Hermes
# Install Hermes: curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash hermes setup # Point Hermes at the local server: hermes config set model.provider custom hermes config set model.base_url http://127.0.0.1:8080/v1 hermes config set model.default RhinoWithAcape/Cosmos3-Nano-GGUF:Q4_K_M
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use RhinoWithAcape/Cosmos3-Nano-GGUF with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf RhinoWithAcape/Cosmos3-Nano-GGUF:Q4_K_M
Configure OpenClaw
# Install OpenClaw: npm install -g openclaw@latest # Register the local server and set it as the default model: openclaw onboard --non-interactive --mode local \ --auth-choice custom-api-key \ --custom-base-url http://127.0.0.1:8080/v1 \ --custom-model-id "RhinoWithAcape/Cosmos3-Nano-GGUF:Q4_K_M" \ --custom-provider-id llama-cpp \ --custom-compatibility openai \ --custom-text-input \ --accept-risk \ --skip-health
Run OpenClaw
openclaw agent --local --agent main --message "Hello from Hugging Face"
Cosmos3-Nano-GGUF (understanding branch)
The first GGUF of nvidia/Cosmos3-Nano โ the reasoning/VQA core of NVIDIA's omnimodal Physical-AI world model, extracted and converted so it runs anywhere llama.cpp runs (llama.cpp, LM Studio, Ollama, Jan, โฆ).
What this is (and isn't)
Cosmos3-Nano is a joint omnimodal transformer: every layer contains an understanding path (a standard Qwen3-VL-8B-class VLM) and a generation path (MMDiT-style joint attention + parallel _moe_gen MLPs) driving video/audio/action generation through a diffusion stack.
This repo contains the understanding path + vision encoder only, re-keyed to the standard Qwen3VLForConditionalGeneration layout and converted with mainline convert_hf_to_gguf.py:
- โ Image + multi-image understanding, VQA, physical-world reasoning, chat, tool calling (ChatML), 256K context (mrope, interleaved)
- โ Video/audio/action generation โ those weights (
*_moe_gen, joint-attention adds, action/audio/diffusion heads, โ14 GB) are dropped; they require the VAE + scheduler pipeline and cannot run in llama.cpp
Architecture of what you get: 36 layers, 4096 hidden, GQA 32/8, head_dim 128, qk-norm, 262,144 max context โ plus the 27-block deepstack vision encoder (deepstack indexes 8/16/24) as an mmproj.
Files
| File | Quant | Size |
|---|---|---|
Cosmos3-Nano-VLM.Q4_K_M.gguf |
Q4_K_M | ~5.0 GB |
Cosmos3-Nano-VLM.Q5_K_M.gguf |
Q5_K_M | ~5.9 GB |
Cosmos3-Nano-VLM.Q6_K.gguf |
Q6_K | ~6.8 GB |
Cosmos3-Nano-VLM.Q8_0.gguf |
Q8_0 | ~8.8 GB |
Cosmos3-Nano-VLM.bf16.gguf |
bf16 | ~16.5 GB |
mmproj-Cosmos3-Nano-VLM.f16.gguf |
f16 | vision encoder |
Run it
# server with vision
llama-server -m Cosmos3-Nano-VLM.Q4_K_M.gguf \
--mmproj mmproj-Cosmos3-Nano-VLM.f16.gguf -c 32768
# one-shot VQA
llama-mtmd-cli -m Cosmos3-Nano-VLM.Q4_K_M.gguf \
--mmproj mmproj-Cosmos3-Nano-VLM.f16.gguf \
--image photo.jpg -p "What will happen next in this scene?" -c 8192
Always pass an explicit -c; without it the context allocation can eat all VRAM and generation crawls.
Verified (RTX 5070 12GB, Q4_K_M + f16 mmproj, -c 8192): correct grounded scene description plus sensible physical next-event prediction on a held-out image; 213 tok/s prefill, 105 tok/s generation.
Provenance
Extraction is a pure tensor re-keying โ no weights were modified. The understanding path uses diffusers-style attention naming in the source (to_q/to_k/to_v/to_out, norm_q/norm_k); these map 1:1 onto Qwen3-VL's q_proj/k_proj/v_proj/o_proj/q_norm/k_norm. The extraction script is included in this repo (extract_vlm.py) for full reproducibility.
Original model: nvidia/Cosmos3-Nano, released under the OpenMDW-1.1 license, which this repo inherits. All credit for the model itself to the NVIDIA Cosmos team โ see their technical report.
- Downloads last month
- 160
4-bit
Model tree for RhinoWithAcape/Cosmos3-Nano-GGUF
Base model
nvidia/Cosmos3-Nano