Single-file CMF build for local inference (Rust, GPU/CPU)

#2
by infosave - opened

We packaged this model as single CMF files that run with cortiq, a Rust inference engine with no Python: the OneVision encoder at native screenshot resolution (Qwen2-VL preprocessing, 3-axis RoPE), the merger and Qwen3-4B, on Vulkan/DX12/Metal or CPU; cortiq serve gives an OpenAI-compatible endpoint with image parts and the model's tool calls.

Files: https://huggingface.co/infosave/Mage-VL-Cowork-cmf — q8_2f (5.1 GB, greedy output identical to Transformers float32) and q4tp (3.0 GB).

On an NVIDIA A40 the q8_2f file decodes 67 tok/s (q4tp 90 tok/s) and encodes a 2206×1048 screenshot (2277 tokens) in 4.8 s; on an Apple M4 (Metal) q4tp decodes 36 tok/s.

cargo install cortiq-cli
cortiq run mage-vl-cowork-q8_2f.cmf --image screen.png --prompt "Task: open the Downloads folder." --max-tokens 1024

(cortiq 0.8.51)

Sign up or log in to comment