Cosmos3 Policy - LIBERO (GGUF for vla.cpp)
GGUF conversion of lerobot/Cosmos3-Edge-Policy-LIBERO
for inference with vla.cpp, a lightweight
C++ inference engine for Vision-Language-Action models built on top of
llama.cpp.
Cosmos3 Policy is a world-action model: a 28-layer Mixture-of-Transformers backbone (Nemotron 3 Dense, an
understanding stream over the prompt and a generation stream over video patches and actions) denoises 4 latent
video frames and a 16-step action chunk together, conditioned on the Wan2.2 VAE latent of the current frame, with
30 UniPC steps. The GGUF holds what inference needs: the VAE encoder, both streams of the backbone, the LIBERO
domain's action projections, the latent statistics, the action quantiles and the tokenizer (bf16 GEMM weights,
f32 norms). It was made with scripts/convert_cosmos3_policy_to_gguf.py.
Usage
Build vla.cpp, then:
# two views, in this order: third person, wrist; --libero decodes the rot6d chunk to LIBERO commands
./build/vla-cli --ckpt cosmos3-policy-libero-bf16.gguf --image third_person.png --image wrist.png \
--text "turn on the stove" --libero --pretty
# or serve it (CUDA build) and drive LIBERO
./build-cuda/vla-server --bind tcp://*:5566 cosmos3-policy-libero-bf16.gguf
python eval/client/run_sim_client_direct.py --arch cosmos3_policy --n-action-steps 16 \
--gguf cosmos3-policy-libero-bf16.gguf --tokenizer <checkpoint dir>/tokenizer \
--task libero_spatial --task-id 0 --n-episodes 10 --vla-addr tcp://localhost:5566
The instruction must be ASCII. On the same views, tokens and noise the engine agrees with lerobot's policy run in bf16 to a scaled error of 2e-3 to 2e-2 on the action chunk. One chunk takes 4.3 s on an RTX 3060.
License
Weights follow the upstream license of
lerobot/Cosmos3-Edge-Policy-LIBERO
(OpenMDW-1.1, see LICENSE and NOTICE). The vla.cpp conversion tooling and inference engine are MIT-licensed.