Instructions to use wepiqx/SenseNova-Loop-9B-MERNIK-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use wepiqx/SenseNova-Loop-9B-MERNIK-GGUF with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf wepiqx/SenseNova-Loop-9B-MERNIK-GGUF # Run inference directly in the terminal: llama cli -hf wepiqx/SenseNova-Loop-9B-MERNIK-GGUF
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf wepiqx/SenseNova-Loop-9B-MERNIK-GGUF # Run inference directly in the terminal: llama cli -hf wepiqx/SenseNova-Loop-9B-MERNIK-GGUF
Build from source code
git clone https://github.com/ggml-org/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-app # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama serve -hf wepiqx/SenseNova-Loop-9B-MERNIK-GGUF # Run inference directly in the terminal: ./build/bin/llama cli -hf wepiqx/SenseNova-Loop-9B-MERNIK-GGUF
Use Docker
docker model run hf.co/wepiqx/SenseNova-Loop-9B-MERNIK-GGUF
- Llama new
- LM Studio
- Jan
- vLLM
How to use wepiqx/SenseNova-Loop-9B-MERNIK-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "wepiqx/SenseNova-Loop-9B-MERNIK-GGUF" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "wepiqx/SenseNova-Loop-9B-MERNIK-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/wepiqx/SenseNova-Loop-9B-MERNIK-GGUF
- Ollama
How to use wepiqx/SenseNova-Loop-9B-MERNIK-GGUF with Ollama:
ollama run hf.co/wepiqx/SenseNova-Loop-9B-MERNIK-GGUF
- Unsloth Desktop
- Pi
How to use wepiqx/SenseNova-Loop-9B-MERNIK-GGUF with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf wepiqx/SenseNova-Loop-9B-MERNIK-GGUF
Configure the model in Pi
# Install Pi: npm install -g @earendil-works/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:9931/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "wepiqx/SenseNova-Loop-9B-MERNIK-GGUF" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use wepiqx/SenseNova-Loop-9B-MERNIK-GGUF with Docker Model Runner:
docker model run hf.co/wepiqx/SenseNova-Loop-9B-MERNIK-GGUF
- Lemonade
How to use wepiqx/SenseNova-Loop-9B-MERNIK-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull wepiqx/SenseNova-Loop-9B-MERNIK-GGUF
Run and chat with the model
lemonade run user.SenseNova-Loop-9B-MERNIK-GGUF-{{QUANT_TAG}}List all available models
lemonade list
- Hermes Agent
How to use wepiqx/SenseNova-Loop-9B-MERNIK-GGUF with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf wepiqx/SenseNova-Loop-9B-MERNIK-GGUF
Configure Hermes
# Install Hermes: curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash hermes setup # Point Hermes at the local server: hermes config set model.provider custom hermes config set model.base_url http://127.0.0.1:9931/v1 hermes config set model.default wepiqx/SenseNova-Loop-9B-MERNIK-GGUF
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use wepiqx/SenseNova-Loop-9B-MERNIK-GGUF with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf wepiqx/SenseNova-Loop-9B-MERNIK-GGUF
Configure OpenClaw
# Install OpenClaw: npm install -g openclaw@latest # Register the local server and set it as the default model: openclaw onboard --non-interactive --mode local \ --auth-choice custom-api-key \ --custom-base-url http://127.0.0.1:9931/v1 \ --custom-model-id "wepiqx/SenseNova-Loop-9B-MERNIK-GGUF" \ --custom-provider-id llama-cpp \ --custom-compatibility openai \ --custom-text-input \ --accept-risk \ --skip-health
Run OpenClaw
openclaw agent --local --agent main --message "Hello from Hugging Face"
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.
- Downloads last month
- 569
We're not able to determine the quantization variants.
Model tree for wepiqx/SenseNova-Loop-9B-MERNIK-GGUF
Base model
sensenova/SenseNova-Loop-9B