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

#3
by infosave - opened

We packaged LFM3-1.7B-Base as single CMF files that run with cortiq, a Rust inference engine with no Python, on Vulkan/DX12, Metal or the CPU.

Files: https://huggingface.co/infosave/LFM3-1.7B-Base-cmf — q8_2f (1.76 GB, wikitext-2 ppl 9.556, the same as bf16) and q4tp (0.93 GB, 9.984).

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

cargo install cortiq-cli
cortiq ppl lfm3-1.7b-base-q8_2f.cmf -f text.txt --tokens 4096
cortiq run lfm3-1.7b-base-q8_2f.cmf --prompt "What is the capital of France?"

(cortiq 0.8.50)

Sign up or log in to comment