Views
No views yet
cortiq.| variant | size | expert planes | folder |
|---|---|---|---|
q2tp | 112 GB | 2-bit gate/up, 4-bit down | parts-q2tp-v3/ |
q4tp | 158 GB | 4-bit throughout | parts-q4tp/ |
parts-q2tp-v2 is superseded by -v3: same trunk byte for byte, the
draft stack requantized for speculative decode.)cargo install cortiq-cli # or a prebuilt binary: github.com/infosave2007/cmf/releases1huggingface-cli download infosave/DeepSeek-V4-Flash-0731-cmf \
2 --include 'parts-q2tp-v3/part_*' --local-dir .
3cat parts-q2tp-v3/part_* > dsv4-flash-q2tp.cmf
4
5# speculative-decode routing tally — keep it next to the model file
6huggingface-cli download infosave/DeepSeek-V4-Flash-0731-cmf \
7 dsv4-flash-q2tp.cmf.dspark.tsv --local-dir ..dspark.tsv sidecar tells the draft which experts to keep in VRAM.
Without it everything still runs; speculative acceptance is just lower.1# one-shot
2cortiq run dsv4-flash-q2tp.cmf \
3 --prompt $'<|begin▁of▁sentence|><|User|>What is 2 + 2? Answer with just the number.<|Assistant|></think>' \
4 --max-tokens 8
5
6# server (OpenAI-compatible)
7cortiq serve dsv4-flash-q2tp.cmf --port 8080
8
9# benchmark (greedy, the numbers below)
10cortiq bench dsv4-flash-q2tp.cmf --core --tokens 128</think>. For reasoning mode end with
<think> instead. Without BOS the output is noise; that is
out-of-distribution input, not a broken model.<|begin▁of▁sentence|><|User|>your question<|Assistant|></think>--temperature 0.6 --rep-penalty 1.0. Measured
head to head on a ~6000-token three.js scene: that setting produced a
complete page that ran on the first try with zero console errors. The
default repetition penalty (1.1) is harmful for code — it penalizes the
repeats code is made of (identifiers, digits): at low temperature the
model argues itself into the token cap, at high it writes a tutorial
with placeholders instead of a file. Greedy is close but left a handful
of one-character typos.cortiq bench --core --tokens 128, q2tp, one RTX PRO 6000 Blackwell,
cortiq 0.5.46, no environment variables. The VRAM budget is auto-detected;
the smaller points below were measured on the same card by capping it with
CMF_GPU_VRAM_MB to what a card of that size would auto-detect.| VRAM | tok/s | mode |
|---|---|---|
| 96 GB | 40.2 | speculative decode, 63% acceptance |
| 64 GB | 6.9 | GPU walk, cold experts from mmap |
| 32 GB | 3.9 | GPU walk |
| 16 GB | 3.2 | GPU walk |
| CPU only (48 cores) | 2.7 | host |
1cortiq ppl dsv4-flash-q2tp.cmf --file docs/ppl_nat.txt --tokens 128
2# PPL = 4.578cortiq ppl pins the strict kernels itself;
generation uses the fast ones.)q2tp: it reasons and writes like q4tp but is
weaker at arithmetic (2+2 can come out wrong; q4tp answers 4). Do not
restrict routing with CMF_MOE_MASK — generation degrades within a few
dozen tokens.