SenseNova-Loop-9B: the loop architecture that runs 32 layers 56 times with 9B parameters

A model can get "deeper" in two ways: add more parameters, or do more computation with the same parameters. Almost every model today takes the first road: more weights, more memory, more VRAM. SenseNova-Loop-9B tries the second. Start from 9 billion parameters and, instead of stopping at a single forward pass, run the same block of layers multiple times. The result is a model that executes 56 layer passes on every inference while storing only 32 sets of weights. It's the difference between owning a car and renting one: here you're not buying more mileage, you're buying more engine revolutions on the same cylinders.
How the loop works
The starting point is a 32-layer multimodal decoder. The first four layers (0–3) run once. Then comes the looped block: layers 4–27 share the same weights and are executed twice in sequence — the output of the first pass becomes the input of the second. Mathematically it's a composed function: if B is the block and h its input, the computation is B(B(h)). Layers 28–31 and the output head close the pass.
The count is simple to verify: 4 initial layers + 24 layers repeated twice (48 executions) + 4 final layers = 56 layer executions per inference, with only 32 distinct sets of weights stored. The 24 layers in the block are the weight-shared ones; the other 8 are standard "passes."
This is not a numerical trick: it's an architectural choice. Computational depth extends without extending memory. For a practical reader the consequence is concrete: the same hardware that runs a 9B model in BF16 runs this one too, because the weights you must hold in VRAM stay those of a 9B model.
The two-stream mHC
The second ingredient is mHC (manifold-constrained hyper-connections). Inside the looped block, instead of a single residual stream running through the layers, the model carries two residual streams of hidden states in parallel. Each layer reads from the streams, applies attention or feed-forward, and writes its output back into the residual state. The mappings that mix information between the two streams are constrained with a Sinkhorn normalization (20 internal iterations, separate from the two loop passes).
In practice the two streams are two tracks of state traveling in parallel; repeated row and column normalization keeps the mixing under control. It's an addition that makes the loop stable and useful: without it, re-running the same weights tends to make the signal diverge or "wash out."
Hybrid attention
The decoder interleaves linear attention and full attention in a repeating four-layer pattern: three linear-attention layers followed by one full-attention layer. The loop boundaries align with complete four-layer groups, so both passes preserve the same attention pattern. It's the same family of optimizations (linear attention, GQA) you see in other modern models, but here aligned to the loop passes.
The numbers, laid out
Everything that matters to you is in this table, taken from the model card.
| Spec | Value |
|---|---|
| Distinct parameters | ~9B (≈14.6B "inference-equivalent") |
| Distinct decoder layers | 32 |
| Layer executions per pass | 56 |
| Looped block | layers [4, 28), run 2 times, shared weights |
| mHC residual streams | 2 |
| Context length | 512K tokens |
| Weight precision | BF16 (mHC routing in FP32) |
| Weights at 4-bit | ~4.9 GB |
The line to understand is "56 executions for 32 weights." It means the model does almost twice the compute of a 32-layer single-pass model, with the same memory as a 9B model. The "14.6B equivalent" is the team's way of describing the compute actually performed: 32 distinct layers working as 56.
Where it fits and how fast
The practical question is: on what hardware does it run, and what context does it hold? With 4-bit weights (what you need for inference), the weights take ~4.9 GB. The rest depends on the KV cache. The card reports minimum GPU memory by context length and KV-cache precision.
| Context length | 8-bit KV cache | 4-bit KV cache |
|---|---|---|
| 64K tokens | ~10 GiB | ~9 GiB |
| 128K tokens | ~12 GiB | ~10 GiB |
| 256K tokens | ~15 GiB | ~12 GiB |
The reading matters: at 64K context you need ~10 GiB of VRAM with an 8-bit KV cache, or ~9 GiB with a 4-bit one. We're talking mid-range 12–16 GB card numbers: an RTX 4070 Ti Super or 5070 Ti with 16 GB holds 128K with a 4-bit KV cache. The 256K (~12–15 GiB) still fits a 16 GB card but gets tight. To use the full 512K window you need 32 GB or more, or offload to system RAM, with speed scaling down accordingly.
The key takeaway: the loop doesn't make you pay for the 56 layers in VRAM. It only costs you the 32 distinct weights, plus the KV cache. The extra depth is "free" in memory and costs only compute time.
How it performs: the benchmarks
The team compared the model against Qwen3.8-27B, a model with nearly three times the parameters. On two of the three benchmarks cited, SenseNova-Loop-9B wins or ties a model more than three times larger.
| Benchmark | SenseNova-Loop-9B | Qwen3.8-27B |
|---|---|---|
| AIDABench (data analysis) | 65.31 | 65.01 |
| AutomationBench (agents) | 36.67 | 36.67 |
| NL2Repo | 41.36 | 44.60 |
| BIRD | 72.34 | — |
On agentic and data-analysis tasks it holds its own against a 27B: 65.31 vs 65.01 on AIDABench, a tie on AutomationBench. On NL2Repo it loses 3.24 points. The jump from the Preview version is sharp: GAIA rises from 37.86 to 69.90, Terminal-Bench 2.1 from 40.45 to 59.55.
There's also a figure on loop depth. Holding the data fixed and varying only the number of passes (from 1 to 4), performance climbs: AIDABench-QA improves 6.42% relative at 3 loops, LiveCodeBench V6 8.10% at 4. Moving from 2 to 4 loops adds +1.04 points on LiveCodeBench and +1.35 on AIDABench data visualization. More engine revolutions, more capability, at constant weights. The team uses 2 loops by default to balance speed and quality, but the field is open to deeper looping.
How to run it
The model is multimodal (it takes text and images, generates text) and the license is Apache-2.0, so you can do with it whatever you want, including commercial use. Four forms of weights are in circulation:
- BF16 (Safetensors) — the "full" version, needs more VRAM.
- AWQ 4-bit — the official quantization, built for inference on a single GPU.
- GGUF (BF16, Q8_0, Q5_K_M, Q4_K_M) — the format that keeps weights on your hardware, with support in llama.cpp and the tools that read it.
For the command-line path, the model's example uses Transformers 5.18.0 and PyTorch 2.11.0. Loading is standard, with trust_remote_code=True because the sensenova_loop architecture has custom code:
import torch
from transformers import AutoModelForCausalLM, AutoTokenizer
model_id = "/path/to/SenseNova-Loop-9B"
tokenizer = AutoTokenizer.from_pretrained(model_id, trust_remote_code=True)
model = AutoModelForCausalLM.from_pretrained(
model_id, trust_remote_code=True,
dtype=torch.bfloat16, device_map={"": "cuda:0"},
).eval()
To serve the 4-bit AWQ checkpoint on a single GPU with vLLM, the command is vllm serve sensenova/SenseNova-Loop-9B-AWQ --served-model-name sensenova_loop --dtype bfloat16. If it doesn't work: trust_remote_code=True is mandatory (the architecture is custom), and the AWQ checkpoint must be served with the vLLM build that includes SenseNova Loop support; the BF16 version requires parallelism across multiple GPUs. The model also supports MTP speculative decoding to gain speed.
And the limits?
The team is honest about what isn't ready yet, and it's worth reading before setting expectations:
- Following complex instructions: with many tool definitions or simultaneous constraints, the model can misunderstand or miss requirements.
- Coding and general agentic tasks: quality can be uneven; some errors correct themselves with extra steps, but long, complex tasks stay fragile.
- Complex web generation: sites with 3D scenes and rich animations may not complete in a single turn; sometimes two or three refinement rounds are needed.
In short: it's a 9B model that does twice the compute on the same hardware, and that on agentic and analysis tasks holds a 27B. It's not the definitive model for long, multi-constraint tasks, but the loop + mHC combination is a concrete direction: more depth without more memory, and the numbers show the trade-off is worth it when VRAM is the bottleneck.
Sources
- Sensenova/SenseNova-Loop-9B: model card on Hugging Face: https://huggingface.co/sensenova/SenseNova-Loop-9B
- GGUF weights for local inference: https://huggingface.co/sensenova/SenseNova-Loop-9B-GGUF
- AWQ 4-bit quantized weights: https://huggingface.co/sensenova/SenseNova-Loop-9B-AWQ
Article generated with AI
Enjoyed this article?
Subscribe to the newsletter for new tutorials and guides.
Related Articles

GR00T N1.7: the foundation model for humanoid robots, and how it runs locally
NVIDIA ships GR00T N1.7 in General Availability: an open 3B VLA with 4 variants, inference on a 16 GB GPU and fine-tuning from 40 GB. Requirements, numbers and the 5-step flow.

llama.cpp v0.9.0: FP8 E4M3, a fast unified KV cache, and the engine of the local server
The whole-model FP8 E4M3 quant, fast prefill on the unified KV cache across multiple sequences, and the ggml 0.29.0 core: what actually changes under the hood of the local server.

