Clover in CMF format: runs with cortiq (Rust, Vulkan/CPU, 4-bit and 8-bit files)

#6
by infosave - opened

Hi DiffuSpace team, thanks for releasing Clover!

We added Clover-35B-A3B-Preview to CMF, the single-file format of cortiq (a Rust inference engine: no Python, no PyTorch). Block diffusion runs natively from the file: LowConfidence over 32-token blocks at your threshold, bidirectional block previews, the Gated DeltaNet preview operator, the MoE block coreset, and your response-only penalties and stop / </think> ramps.

Files: https://huggingface.co/infosave/Clover-35B-A3B-Preview-cmf

file size wikitext-2 ppl
clover-35b-a3b-preview-q4tp-v2.cmf (4-bit experts, GPTQ, default) 19.36 GB 16.80
clover-35b-a3b-preview-q4tp.cmf (4-bit experts) 19.38 GB 18.22
clover-35b-a3b-preview-q8_2f.cmf (8-bit) 35.00 GB 15.86

Run:

cargo install cortiq-cli
hf download infosave/Clover-35B-A3B-Preview-cmf clover-35b-a3b-preview-q4tp-v2.cmf --local-dir .
cortiq run clover-35b-a3b-preview-q4tp-v2.cmf --prompt "Write a Python function that merges two sorted lists." --no-think --max-tokens 512

Prebuilt binaries for Linux, macOS and Windows: https://github.com/infosave2007/cmf/releases (0.8.40 or later).

Checked against your PyTorch implementation: identical prompt ids, and 30–32 of 32 rows agree on the top-1 token in the first denoising pass. On an RTX 5090 (Vulkan) the whole model runs on the card in 18.8 GB: a 32-row pass takes 34–36 ms, prose ~26 tok/s at the default 0.95 threshold, code 80–95 tok/s (124–150 at threshold 0.8).

For those asking about Vulkan and 4-bit in #1–#3: a Vulkan GPU with 24 GB+ holds the whole q4tp-v2 file; a smaller card keeps the leading layers on the GPU and runs the rest on the CPU.

Diffuspace org

Thanks, will have to give it a try when everything else is done!

Sign up or log in to comment