Single-file CMF build for local inference (Rust; Vulkan, Metal, CPU)

#14
by infosave - opened

We packaged LFM3-1.7B as single CMF files that run with cortiq, a Rust inference engine with no Python: short convolutions, full and sliding-window attention and the per-head gates on Vulkan/DX12, Metal or the CPU, with thinking, tool calling and an OpenAI-compatible server.

Files: https://huggingface.co/infosave/LFM3-1.7B-cmf โ€” q8_2f (1.76 GB, wikitext-2 ppl 13.14 vs 13.10 for bf16) and q4tp (0.93 GB).

Decoding runs at 166 tok/s (q8_2f) / 231 tok/s (q4tp) on an NVIDIA A40 and 84 tok/s (q4tp) on an Apple M4.

cargo install cortiq-cli
cortiq run lfm3-1.7b-q8_2f.cmf --prompt "Write a Python function that merges two sorted lists." --max-tokens 2048

(cortiq 0.8.50)

Sign up or log in to comment