Instructions to use RoundRobin237/SenseNova-Loop-9B-Heretic-GSQ-RCO-IQ2 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 RoundRobin237/SenseNova-Loop-9B-Heretic-GSQ-RCO-IQ2 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 RoundRobin237/SenseNova-Loop-9B-Heretic-GSQ-RCO-IQ2:IQ2_M # Run inference directly in the terminal: llama cli -hf RoundRobin237/SenseNova-Loop-9B-Heretic-GSQ-RCO-IQ2:IQ2_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf RoundRobin237/SenseNova-Loop-9B-Heretic-GSQ-RCO-IQ2:IQ2_M # Run inference directly in the terminal: llama cli -hf RoundRobin237/SenseNova-Loop-9B-Heretic-GSQ-RCO-IQ2:IQ2_M
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 RoundRobin237/SenseNova-Loop-9B-Heretic-GSQ-RCO-IQ2:IQ2_M # Run inference directly in the terminal: ./build/bin/llama cli -hf RoundRobin237/SenseNova-Loop-9B-Heretic-GSQ-RCO-IQ2:IQ2_M
Use Docker
docker model run hf.co/RoundRobin237/SenseNova-Loop-9B-Heretic-GSQ-RCO-IQ2:IQ2_M
- Llama new
- LM Studio
- Jan
- vLLM
How to use RoundRobin237/SenseNova-Loop-9B-Heretic-GSQ-RCO-IQ2 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "RoundRobin237/SenseNova-Loop-9B-Heretic-GSQ-RCO-IQ2" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "RoundRobin237/SenseNova-Loop-9B-Heretic-GSQ-RCO-IQ2", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }'Use Docker
docker model run hf.co/RoundRobin237/SenseNova-Loop-9B-Heretic-GSQ-RCO-IQ2:IQ2_M
- Ollama
How to use RoundRobin237/SenseNova-Loop-9B-Heretic-GSQ-RCO-IQ2 with Ollama:
ollama run hf.co/RoundRobin237/SenseNova-Loop-9B-Heretic-GSQ-RCO-IQ2:IQ2_M
- Unsloth Desktop
- Pi
How to use RoundRobin237/SenseNova-Loop-9B-Heretic-GSQ-RCO-IQ2 with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf RoundRobin237/SenseNova-Loop-9B-Heretic-GSQ-RCO-IQ2:IQ2_M
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": "RoundRobin237/SenseNova-Loop-9B-Heretic-GSQ-RCO-IQ2:IQ2_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use RoundRobin237/SenseNova-Loop-9B-Heretic-GSQ-RCO-IQ2 with Docker Model Runner:
docker model run hf.co/RoundRobin237/SenseNova-Loop-9B-Heretic-GSQ-RCO-IQ2:IQ2_M
- Lemonade
How to use RoundRobin237/SenseNova-Loop-9B-Heretic-GSQ-RCO-IQ2 with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull RoundRobin237/SenseNova-Loop-9B-Heretic-GSQ-RCO-IQ2:IQ2_M
Run and chat with the model
lemonade run user.SenseNova-Loop-9B-Heretic-GSQ-RCO-IQ2-IQ2_M
List all available models
lemonade list
- Hermes Agent
How to use RoundRobin237/SenseNova-Loop-9B-Heretic-GSQ-RCO-IQ2 with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf RoundRobin237/SenseNova-Loop-9B-Heretic-GSQ-RCO-IQ2:IQ2_M
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 RoundRobin237/SenseNova-Loop-9B-Heretic-GSQ-RCO-IQ2:IQ2_M
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use RoundRobin237/SenseNova-Loop-9B-Heretic-GSQ-RCO-IQ2 with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf RoundRobin237/SenseNova-Loop-9B-Heretic-GSQ-RCO-IQ2:IQ2_M
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 "RoundRobin237/SenseNova-Loop-9B-Heretic-GSQ-RCO-IQ2:IQ2_M" \ --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-Heretic-GSQ-RCO IQ2
This GGUF release applies Heretic ARA and GSQ RCO mixed-precision quantization to SenseNova-Loop-9B. The main model is 3.23 GB and was verified with a 128K context window in llama.cpp on Windows.
Original model
SenseNova-Loop-9B is SenseNova's multimodal model for text generation from text and images. It stores 32 decoder layers and executes 56 layer visits per forward pass by reusing layers 4โ27. Its decoder combines hybrid attention with two-stream manifold-constrained hyper-connections (mHC). The official source supports up to 512K tokens. This release preserves the loop, mHC and rotary position configuration and has been tested at 128K. Official architecture and model description
Heretic ARA and refusal rate
Heretic Arbitrary-Rank Ablation (ARA) was applied to the official BF16 weights. Input and output activations from both visits of each shared layer were collected for the same physical weight. The selected adapter was merged into 24 attention and MLP output projection tensors across layers 15โ26. The source vision encoder, mHC routers and MTP checkpoint were preserved through the BF16 merge.
| Evaluation | Official BF16 | Heretic BF16 |
|---|---|---|
| Heretic KeywordRate matches on 100 evaluation prompts | 100/100 | 4/100 |
| First-token KL divergence on 100 separate prompts | 0.0000 | 0.0735 |
The refusal count uses Heretic's keyword scorer on the first 100 examples of the harmful_behaviors test split with a 100-token response limit and thinking disabled. KL compares first-token distributions to the official BF16 reference using the first 100 examples of the harmless_alpaca test split. These scores apply to the BF16 checkpoints. The IQ2 artifact was evaluated separately for context length and response generation.
Candidate 26 of 30 was selected for lowest KL divergence among trials within five percentage points of the best refusal score at KL โค 0.15. The selected parameters and exact changed-tensor names are recorded in the allocation manifest.
GSQ RCO mixed precision
Activation calibration was run on the merged Heretic BF16 model using 20 chunks of 512 tokens. The calibration corpus included English prose, Python code and Korean text.
- GSQ profiled IQ2_XS, IQ2_S and IQ3_S on 48 sampled rows of each eligible tensor. For each block, it compared native GGML codebook encodings using the calibrated input importance and a softened version, refit their FP16 scales, and used Gumbel-Softmax to select an encoding under an activation-weighted reconstruction loss.
- RCO allocated tensor formats under a 2.80 bits-per-weight budget with a discrete refinement step. The allocation loss gave repeated layers double the weight to account for two visits. The selected formats were applied to the full tensors.
- The GGUF stores 75.2% of its parameters in IQ2 formats. Average storage is 2.7997 bits per weight, including quantization scales. The separate vision projector is excluded from this average.
| Format | Tensors | Role |
|---|---|---|
| IQ2_XS | 157 | Decoder weights |
| IQ2_S | 42 | Decoder weights |
| IQ3_S | 1 | One decoder tensor |
| Q3_K | 1 | Token embeddings |
| Q4_K | 9 | Output head and eight MTP matrices |
| F32 | 280 | mHC routing, normalization and other source FP32 tensors, including seven MTP tensors |
The allocation uses AutoGSQ-RCO and the runtime's native GGML IQ codebooks.
Verified 128K context
The model and vision projector were loaded in the SenseNova llama.cpp build on Windows with an RTX 5090 Laptop GPU, one inference slot and Q8_0 K and V caches. The configured context window was 131,072 tokens. The model processed 131,008 input tokens in full and generated the six tokens that recovered the exact marker near the start of the prompt. Validation record
llama-server -m SenseNova-Loop-9B-Heretic-GSQ-RCO-IQ2_M.gguf --mmproj mmproj-SenseNova-Loop-9B-F16.gguf --parallel 1 -c 131072 -ngl 99 -b 1024 -ub 512 -fa on -ctk q8_0 -ctv q8_0 --jinja --no-context-shift
Files
The Hub lists the model as IQ2_M, matching the GGUF header. The main weights use the GSQ RCO mixed-precision allocation described above. The original filename remains available and has the same SHA-256 as the IQ2_M download. Download either filename once.
| File | Contents |
|---|---|
| SenseNova-Loop-9B-Heretic-GSQ-RCO-IQ2_M.gguf | 3.23 GB main model with embedded MTP draft weights |
| mmproj-SenseNova-Loop-9B-F16.gguf | 0.92 GB F16 vision projector |
| Allocation manifest | Per-tensor formats, calibration records and Heretic provenance |
| 128K verification | Actual prompt length, output, cache configuration and timings |
Distributed under the source model's Apache 2.0 license. This derivative release changes the official weights through Heretic ARA and mixed-precision quantization.
- Downloads last month
- 649
2-bit
Model tree for RoundRobin237/SenseNova-Loop-9B-Heretic-GSQ-RCO-IQ2
Base model
sensenova/SenseNova-Loop-9B