---
title: SenseNova-Loop-9B VRAM Needs and How to Run It Locally
url: "https://goremy.ai/blog/articles/sensenova-loop-9b-local-memory-requirements"
author: Luis Chavez-Mattos
editor: Luis Chavez-Mattos
editor_title: Director, Product
published: "2026-11-24T08:40:11.935Z"
updated: "2026-11-24T08:40:11.935Z"
topic: Local AI
description: SenseNova-Loop-9B needs about 15 GiB at 256K context with 4-bit weights and an 8-bit KV cache. Memory table, AWQ and GGUF options, and setup steps.
---

# SenseNova-Loop-9B VRAM Needs and How to Run It Locally

> SenseNova-Loop-9B needs about 15 GiB at 256K context with 4-bit weights and an 8-bit KV cache. Memory table, AWQ and GGUF options, and setup steps.

Edited by Luis Chavez-Mattos, Director, Product · Published 2026-11-24

## How much GPU memory does SenseNova-Loop-9B need?

SenseNova-Loop-9B needs roughly 15 GiB of GPU memory to run a 256K-token context when you use 4-bit weights and an 8-bit KV cache. Drop the KV cache to 4-bit and that falls to about 12 GiB. At shorter contexts it is lower still: about 10 GiB at 64K and 12 GiB at 128K with an 8-bit cache. These are the model authors' estimated minimums, not guarantees, so leave headroom on a real card.

## TL;DR

- **About 15 GiB covers a 256K context** with 4-bit weights and an 8-bit KV cache, according to the model card. A 4-bit cache brings that to about 12 GiB.
- **The 4-bit weights are only about 4.9 GB.** Most of the remaining memory goes to the KV cache, the working memory that grows with the length of your conversation or document.
- **There are three weight options:** full BF16 Safetensors, an official 4-bit AWQ release, and GGUF files in BF16, Q8_0, Q5_K_M and Q4_K_M.
- **It uses custom architecture code**, so you need `trust_remote_code=True` in Transformers, and vLLM and SGLang currently require specific pull-request builds rather than a plain install.
- **The model is open weight under Apache 2.0**, takes text and images, and outputs text.
- **Shorter contexts are cheap.** If you do not need 256K tokens, a single mid-range GPU is a realistic target.

## What do the memory numbers look like at each context length?

The model card gives this table of estimated minimum GPU memory:

| Context length | 8-bit KV cache | 4-bit KV cache |
| --- | ---: | ---: |
| 64K | ~10 GiB | ~9 GiB |
| 128K | ~12 GiB | ~10 GiB |
| 256K | ~15 GiB | ~12 GiB |

Two things to understand about these numbers.

First, the KV cache. When a language model reads your prompt, it stores intermediate results for every token so it does not recompute them each time it writes a new word. That storage is the KV cache. It grows with context length, and it is the main reason long documents eat memory. Storing it in 8 or 4 bits instead of 16 shrinks it, at some potential cost to quality that you should test on your own tasks.

Second, GiB is not GB. A GiB is slightly larger (about 1.07 GB). A card sold as 12 GB may expose about 11.2 GiB, so check what your tool actually reports. As a rough guide, the 4-bit-cache rows at 64K and 128K should fit a 12 GB card on paper, while 256K is a stretch. A 24 GB card gives comfortable room at every row. Your operating system, display, and other programs also use GPU memory, so treat the table as a floor.

## Why does a 9B model need so little memory?

The model reuses its own layers. A normal transformer runs the input through each layer once. SenseNova-Loop-9B has 32 distinct decoder layers, but it runs layers 4 through 27 twice in a row, using the same weights both times. That produces 56 layer executions per forward pass while storing only 32 layers' worth of weights.

The card lists about 9B total parameters and about 14.6B "inference-equivalent" parameters. In plain terms, it does the computational work of a larger model while only storing a 9B model's weights. You pay for the extra compute in speed, not in weight memory.

Two other design choices are relevant:

- **Hybrid attention.** In every group of four layers, three use linear attention and one uses full attention. Full attention is the kind whose cache grows with context, so having fewer of them plausibly helps long-context memory. The card does not break down the savings, so treat that as an explanation, not a measured claim.
- **Two-stream mHC.** Manifold-constrained hyper-connections carry two parallel sets of hidden states through the looped block. This is part of how the model stays stable while looping.

The card also reports that more loops helped in its experiments. Going from one loop to three or four gave the best results on the four tasks tested, and the default is two loops to balance inference cost. You cannot simply raise the loop count on the released checkpoint, though. The card says a compatible inference engine must preserve the checkpoint's exact loop configuration.

## Which weights should you download: BF16, AWQ or GGUF?

The model has three official formats, all on Hugging Face. BF16 is also on ModelScope. The AWQ and GGUF links were added on 2026-11-18, a day after the main release on 2026-11-17.

| Format | What it is | Best for |
| --- | --- | --- |
| BF16 | Full-precision release weights in Safetensors | Transformers on a large GPU, or as the base for your own conversions |
| AWQ | Official 4-bit weights, plus a matching MTP draft model | Serving through vLLM on a smaller GPU |
| GGUF | BF16, Q8_0, Q5_K_M and Q4_K_M files | Local tools that load GGUF files |

Some practical reasoning on the choice:

- **BF16 is large.** At two bytes per parameter, about 9B parameters is roughly 18 GB for weights alone. That is simple arithmetic, not a figure from the card. It will not fit the memory table above.
- **AWQ is the path the card ties to the 15 GiB figure.** The 4-bit weights occupy about 4.9 GB. The card says the vLLM branch supports the published AWQ checkpoint.
- **GGUF gives you a quality ladder.** Q8_0 is the largest and closest to full precision. Q4_K_M is the smallest of the four. Q5_K_M sits between. Start with Q4_K_M if memory is tight and move up if you see quality problems.

One caution on GGUF. This is a custom architecture with looping and mHC, and the card does not say which third-party GGUF runtimes can run it. Before you commit to a tool, check that it supports the `sensenova_loop` architecture, and read the GGUF repository's own notes.

## How do you run SenseNova-Loop-9B with Transformers?

This is the simplest route for a first test, as long as your GPU can hold the BF16 weights. The card's checked Preview environment used Transformers 5.18.0, PyTorch 2.11.0 and CUDA 13.0. Your model directory needs the configuration, tokenizer, chat template, custom model code and all weight shards.

Install a CUDA-compatible PyTorch build first (from pytorch.org), then:

```bash
python -m pip install "transformers==5.18.0" accelerate safetensors
```

Then run this, with `model_id` pointing at your download or the Hugging Face repository ID:

```python
import torch
from transformers import AutoModelForCausalLM, AutoTokenizer

model_id = "/path/to/SenseNova-Loop-9B"
device = "cuda:0"

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={"": device},
).eval()

messages = [{"role": "user", "content": "What is 13 times 7?"}]
prompt = tokenizer.apply_chat_template(
    messages,
    tokenize=False,
    add_generation_prompt=True,
    enable_thinking=True,
)
inputs = tokenizer(prompt, return_tensors="pt").to(device)
with torch.inference_mode():
    outputs = model.generate(
        **inputs,
        max_new_tokens=512,
        do_sample=False,
        use_cache=True,
    )
print(tokenizer.decode(
    outputs[0, inputs.input_ids.shape[1]:],
    skip_special_tokens=True,
))
```

This turns thinking mode on, uses greedy decoding, and caps output at 512 new tokens. Set `enable_thinking` to `False` to switch thinking off. `trust_remote_code=True` tells Transformers to load the custom SenseNova Loop model code, so only use it with a download you trust.

## How do you serve it with vLLM, SGLang or LightLLM?

If you want an OpenAI-style API on your own machine, use an inference engine. The card says its deployment commands are adapted from the Preview and that release engine versions and configurations will be updated, so check the model card for changes before you start.

**vLLM** is the route for the AWQ checkpoint. Build vLLM from the SenseNova Loop branch in vLLM PR #64832:

```bash
git clone https://github.com/vllm-project/vllm.git
cd vllm
git fetch origin pull/64832/head
```

Check out the fetched branch, install it, and follow the model card for the serve command and flags. The AWQ checkpoint is the one the card says this branch supports.

**SGLang** also needs a pull-request build, from SGLang PR #47281:

```bash
git clone https://github.com/sgl-project/sglang.git
cd sglang
git fetch origin pull/47281/head
git checkout -b sensenova-loop FETCH_HEAD
python -m pip install -e ./python

sglang serve --model-path /path/to/SenseNova-Loop-9B
```

**LightLLM** has a Docker example in the card that runs across four GPUs with `--tp 4`. That is a multi-GPU setup and not the low-memory path. Once any of these servers is running, you can send standard chat requests to `/v1/chat/completions`, as the card's LightLLM `curl` example shows.

Because these are pull-request builds, expect rough edges. Pin the versions you test, and do not build a production workflow on them until the changes are merged into official releases.

## Is SenseNova-Loop-9B worth running locally?

It depends on the work. The card says the model targets complex reasoning, coding, tool use and multimodal tasks, and it takes images as well as text. The authors compare it with Qwen3.8-27B, a much larger model: 41.36 versus 44.60 on NL2Repo, and 65.31 versus 65.01 on AIDABench, with both at 36.67 on AutomationBench. These are the vendor's own results, so run your real tasks before trusting them.

Good reasons to try it:

- You want to process documents or images that cannot leave your machine.
- You have one 16 to 24 GB GPU and want long context without renting cloud hardware.
- You want to experiment with a looped architecture, which is still a new idea.

Reasons to wait: if you need a one-line install, stable engine support, or a guarantee that a specific GGUF tool works, the current pull-request setup may cost you time.

## Can you build an app on top of a model you host yourself?

A local model is only a chat box until something uses it. A practical next step is a small internal tool in front of it, such as a request form that sends documents to your model, or a dashboard that tracks results. [Remy](https://goremy.ai) builds and deploys full-stack apps from a plain-English description, and it can reach local models over a secure tunnel, so a model on your own hardware can sit behind an app with sign-in, a database and a live URL. Whether a given model works that way depends on how you serve it, so test your setup first. A subscription costs $99 per month, with AI usage billed at cost.

## Frequently Asked Questions

### Can SenseNova-Loop-9B run on a 12 GB GPU?

Possibly, at shorter contexts. The card's estimates are about 9 GiB at 64K and 10 GiB at 128K with a 4-bit KV cache. A 12 GB card may report about 11.2 GiB, and system overhead takes some of that. The 256K setting at about 12 GiB is unlikely to fit.

### Does the model really use 56 layers if it only stores 32?

Yes. It stores 32 distinct decoder layers but runs layers 4 through 27 twice with shared weights, giving 56 layer executions per forward pass. Memory for weights follows the 32 stored layers, while compute follows the 56 executions.

### Is SenseNova-Loop-9B free to use commercially?

The model card displays an Apache 2.0 license badge linked to the project's GitHub license file. Apache 2.0 is generally permissive, but read the license text in the repository and check the weights' own repository for any additional terms before shipping a product.

### What is the difference between the Preview and the release?

The main release came out on 2026-11-17, with the AWQ and GGUF links added on 2026-11-18. The body does not give Preview-versus-release benchmark comparisons, and the default is two loops.
