SenseNova-Loop-9B — MERNIK GGUF
Update 2026-11-18: MTP safetensors became available while the no-MTP v5.3.1 files were being prepared. Plans changed: the published artifact is a single MTP-enabled water-fill build. Sorry for the delay and the moving target.
Status:
5300-v5.3.1-MTP-wf.ggufis published. The no-MTP greedy/water-fill candidates below are withdrawn and were not uploaded; their measurements are kept only as comparison data.
A text-only GGUF quantization of
sensenova/SenseNova-Loop-9B,
built with the MERNIK allocator. MERNIK spends the 5300 MiB budget per tensor
group instead of applying one flat recipe to the whole model.
This is not a stock llama.cpp file. SenseNova-Loop uses the
sensenova_loop architecture (looped decoder + mHC residual routing), which
requires a patched llama.cpp. Stock builds fail with:
unknown model architecture: 'sensenova_loop'
Files
| File | Size | SHA-256 | Status |
|---|---|---|---|
5300-v5.3.1-MTP-wf.gguf (MTP) | 5,567,516,064 B / 5310 MiB | 07062923f8e12d473de38633efebef18906dcb461217e48524bb48d0f0894624 | published |
5300-v5.3.1.gguf (no MTP) | 5,564,156,352 B / 5306 MiB | 785297870f37caf733d9705604a61789ff3d89caf004c5afa31481985d1a78be | withdrawn |
5300-v5.3.1-wf.gguf (no MTP) | 5,568,217,536 B / 5310 MiB | d01feca1de579f20cf91c659c5d83888a9af882cdecf7837d37f2cd819e5eabc | withdrawn |
SenseNova-Loop-9B-MERNIK-5300-SSMF32.gguf | 5,567,431,104 B / 5310 MiB | e233c6d514851acb10f46e31afca9b482e6ea5f536baba1f7f48d4cd8769803e | preparing |
SenseNova-Loop-9B-Q4_K_M.gguf | 5,628,723,360 B / 5368 MiB | 875e72972b763a06f179c9f2907279a6d7fe0998d9a839d38121345ac779b50e | preparing |
The published file uses the experimental Gnom v5.3.1 5-layer ling_moe head
with the water-fill allocator (α=2.4) and includes MTP (538 tensors). The
no-MTP rows are kept only to document the measurements that motivated the
switch. The v5-Gnom file remains listed because its allocation is the baseline
for those comparisons.
The Q4_K_M file is a stock-recipe control: 218 Q4_K + 32 Q6_K + 273 F32 tensors at 5.02 BPW. It does not use MERNIK's allocation and may be less stable on long generations. Use the MERNIK file for quality; the Q4_K_M file is for comparison.
At a glance
| Base model | sensenova/SenseNova-Loop-9B |
| Architecture | sensenova_loop |
| Parameters | ~9B text |
| Tensors | 538 (523 base + 15 MTP) |
| Quant | MERNIK 5300 MiB target, 4.83 BPW |
| MTP | included in the published build; withdrawn no-MTP candidates had none |
| Vision tower | not included (text-only) |
| Context | 262,144 native; YaRN factor 2.0 to 524,288 |
| Recommended runtime | authors' sensenova_loop fork (our fork optional) |
KLD and PPL
The table includes the published MTP build plus no-MTP comparison data: all
other release rows were measured on 523-tensor builds before the MTP
safetensors became available. The release Q8_0 reference has base PPL
17.3619 ± 0.1628; KLD is computed against its full-corpus logits.
| Checkpoint / build | PPL | KLD mean | KLD median | KLD max | RMS Δp | Same top-p |
|---|---|---|---|---|---|---|
| Preview Q4_K_M | 20.6058 | 0.167036 | 0.033350 | 29.973368 | 9.707% | 86.461% |
| Preview MERNIK 5300 | 18.7856 | 0.122821 | 0.022206 | 29.421997 | 8.370% | 88.627% |
| Release Q4_K_M | 16.6646 | 0.232049 | 0.053313 | 32.588943 | 10.775% | 83.498% |
| Release MERNIK 5300 (v5 Gnom) | 16.4063 | 0.175622 | 0.035807 | 32.092632 | 9.406% | 86.060% |
| Release MERNIK 5300 v5.3.1 (greedy) | 16.3291 | 0.173820 | 0.035771 | 29.802231 | 9.375% | 86.069% |
| Release MERNIK 5300 v5.3.1 waterfill (no MTP) | 16.3452 | 0.164873 | 0.032986 | 29.852724 | 9.106% | 86.499% |
| Release MERNIK 5300 v5.3.1 waterfill (MTP, published) | 16.3688 | 0.176215 | 0.036321 | 30.295275 | 9.329% | 85.966% |
Reference: Q8 logits, full wiki.test.raw (290 chunks), context 1024. The
no-waterfill rows used batch/ubatch 128; both waterfill rows used
batch/ubatch 512 with the same context, seed and 290 chunks, so they are not
bit-for-bit protocol-identical with the older rows. PPL is taken from the KLD
run's Mean PPL(Q) for both waterfill rows; standalone PPL runs agreed to four
decimals on the no-MTP candidates. PPL is a canary; KLD is the fidelity column.
The published MTP build is ~6.9% worse on KLD mean than the withdrawn no-MTP
waterfill: MTP is quantized into the same 5300 MiB budget, leaving roughly
5120 MiB for the base path, and llama-perplexity ignores the MTP tensors
during scoring. This is expected and not a regression of the allocator.
Preview and release rows are different checkpoints and must not be mixed.
Versus stock Q4_K_M
The published build is both smaller and much closer to the Q8 reference than the stock Q4_K_M control:
| Metric | Stock Q4_K_M | 5300-v5.3.1-MTP-wf.gguf | Change |
|---|---|---|---|
| File | 5368 MiB, 5.02 BPW | 5310 MiB, 4.83 BPW | −58 MiB |
| PPL | 16.6646 | 16.3688 | −0.296 (−1.8%) |
| KLD mean | 0.232049 | 0.176215 | −0.0558 (−24.1%) |
| KLD median | 0.053313 | 0.036321 | −0.0170 (−31.9%) |
| KLD max | 32.588943 | 30.295275 | −2.294 (−7.0%) |
| RMS Δp | 10.775% | 9.329% | −1.446 p.p. |
| Same top-p | 83.498% | 85.966% | +2.468 p.p. |
Allocation
MERNIK allocates the 5300 MiB budget by tensor class. The three no-MTP columns share the 523-tensor release graph; the published MTP build has 538 tensors:
| Type | v5 Gnom | v5.3.1 greedy | v5.3.1 waterfill | v5.3.1 waterfill + MTP | What |
|---|---|---|---|---|---|
| F32 | 321 / 40.0 MiB | 313 / 36.0 MiB | 321 / 40.0 MiB | 328 / 40.1 MiB | norms, mHC, SSM params |
| F16 | — | — | — | 1 / 64.0 MiB | MTP eh_proj |
| Q4_K | 178 / 3132.0 MiB | 177 / 3307.5 MiB | 162 / 3042.0 MiB | 193 / 3694.5 MiB | attention, most FFN, MTP base |
| Q5_K | 10 / 1575.8 MiB | 5 / 1410.8 MiB | 20 / 1905.8 MiB | 10 / 1421.8 MiB | embeddings, selected FFN |
| Q6_K | 14 / 551.3 MiB | 12 / 329.1 MiB | 14 / 209.9 MiB | 6 / 78.7 MiB | FFN tail |
| Q8_0 | — | 16 / 215.5 MiB | 6 / 102.0 MiB | — | highest-priority groups |
| Total | 523 / 5299 MiB | 523 / 5296 MiB | 523 / 5300 MiB | 538 / 5299 MiB | 5310 / 5306 / 5310 / 5310 MiB file |
The MTP tensors cost ~176.6 MiB after allocation, not their 465 MiB BF16
source size, so the base path still gets roughly 5120 MiB. The F32 count is an
allocator outcome, not a fixed pin: the greedy allocator can drag forced-F32
ssm_alpha/ssm_beta tensors out of a tied group when that group upgrades,
while water-fill keeps pins fixed. That is why greedy v5.3.1 has 313 F32
tensors and both water-fill builds have more.
Use MERNIK if you need to re-quantize this model. A generic recipe is not equivalent and can degrade the recurrent path.
Relation to Preview
Historically, the first release BF16 export dropped MTP: 523 tensors instead of 538. That was the source of all withdrawn no-MTP files and the comparison data below. The newly released MTP safetensors restore the 538-tensor graph.
The freed MTP budget was redirected into the FFN tail rather than left idle:
| Type (523 shared tensors) | Preview | Release |
|---|---|---|
| F32 | 321 | 321 |
| Q4_K | 191 | 178 |
| Q5_K | 7 | 10 |
| Q6_K | 4 | 14 |
The upgrades are concentrated in ffn_gate / ffn_up of the loop tail
(blk.22/25/26/27 and blk.54 to Q6_K; blk.19/23/55 to Q5_K). The only
downgrade is blk.18.ssm_out.weight Q5_K → Q4_K.
Runtime
Use the authors' fork:
GuideboardLabs/llama.cpp-sensenova-loop.
It is sufficient for this file — you do not need our fork for inference.
git clone https://github.com/GuideboardLabs/llama.cpp-sensenova-loop
cd llama.cpp-sensenova-loop
Our fork (wepiqx/llama.cpp-sensenova-loop)
is optional and only adds local converter/MTP work; it is not required for
normal generation with this release.
CUDA
cmake -B build \
-DGGML_CUDA=ON \
-DGGML_VULKAN=OFF \
-DCMAKE_BUILD_TYPE=Release
cmake --build build --target llama-server -j"$(nproc)"
Vulkan
cmake -B build-vulkan \
-DGGML_CUDA=OFF \
-DGGML_VULKAN=ON \
-DCMAKE_BUILD_TYPE=Release
cmake --build build-vulkan --target llama-server -j"$(nproc)"
Choose one backend. The published build has an MTP block; the withdrawn no-MTP candidates described above had none and should not be used.
Usage
MERNIK build (CUDA):
./build/bin/llama-server \
-m 5300-v5.3.1-MTP-wf.gguf \
--spec-type draft-mtp --spec-draft-n-max 2 \
--jinja -ngl 99 --port 28082 \
--temp 1.0 --top-k 20 --min-p 0.0 --top-p 0.95
For Vulkan use ./build-vulkan/bin/llama-server with the same arguments.
For the Q4_K_M control, substitute -m SenseNova-Loop-9B-Q4_K_M.gguf.
Recommended starting point: temp 1.0, top-k 20, top-p 0.95, min-p 0.0. Sampling has a strong effect on this model — behavior can differ noticeably with temperature, top-k, top-p and min-p. Treat these values as a starting point and experiment for your task.
Status
The earlier v5-Gnom MERNIK build passed a generation smoke test: 523/523 tensors load, the server starts and generates at roughly 16 t/s on a GTX 1070. The published MTP build has full PPL/KLD measurements (see above) but no separate generation smoke test yet; the withdrawn no-MTP candidates likewise had measurements only. HumanEval has not been run for any release build. This is a build card, not a benchmark verdict.
Provenance and caveats
- Base weights: release BF16 GGUF, converted from
sensenova/SenseNova-Loop-9B. The withdrawn no-MTP files used a source withmtp_num_hidden_layers = 0; the published build uses the newly released MTP safetensors and has 538 tensors. - Calibration/sidecars: Preview-generation calibration-v6 imatrix. The
published build and the no-MTP comparison builds use a Gnom v5.3.1 5-layer
ling_moenetpred (128/128 tied group coverage), retrained with per-fold target standardization; water-fill uses α=2.4. A release-specific RL-reasoning imatrix was tested in dry run only and is not used. - Tokenizer: the Preview tokenizer JSON was reused at build time. Vocabulary and added tokens match the release; the upstream pre-tokenizer config differs.
- Vision tower: dropped (text-only build).
- Preview PPL/KLD numbers do not apply to this release checkpoint.
Compatibility
- Authors'
sensenova_loopfork: supported and recommended. - Our fork: optional; not required for inference.
- Stock
llama.cpp(ggml-org): not supported. - LM Studio / Ollama: not supported until they ship SenseNova-Loop.
- Re-quantization: use MERNIK; generic recipes can damage the precision- sensitive tensors.
Credits and license
- Base model: SenseNova, Apache License 2.0.
- Quantization and allocation:
wepiqx. - Gnom v5.3.1 experimental importance head: https://huggingface.co/wepiqx/MERNIK-gnom
- Architecture support:
llama.cppSenseNova-Loop fork (GuideboardLabs).
Apache License 2.0. See the base model card and the upstream license for the original weights.