SenseNova-Loop-9B-QSA-GGUF

GGUF files of SenseNova-Loop-9B with trained QSA indexers added to the official GGUF files. Every tensor and metadata field of the official file is copied byte for byte. Seventy FP32 indexer tensors are added as blk.<execution>.indexer.* in execution order; the q_norm, k_norm and k_block_norm weights are stored as 1 + w. The metadata records four indexer heads, a key width of 128, an indexer RoPE width of 64, a block of 4 tokens, a budget of 2048 tokens, the rotary table's dtype and the indexer SHA-256.

SenseNova-Loop-9B executes 32 distinct decoder layers 56 times. QSA adds one separately trained indexer to each of the 14 full-attention executions. An indexer scores 4-token blocks; the runtime takes the best 512 complete blocks (2048 tokens) together with the current causal block.

Files

File Bytes SHA-256
BF16-qsa.gguf 18,566,736,576 9d745360346d88ca568f5ca7654c754a105a052ac2871a6414f820ff83a2b3db
Q8_0-qsa.gguf 9,945,475,776 72107a8d3be8b7ca4ed829ea3a0ee1fe5b89f49a3264ea57dd72bbc4d0a765b3
Q5_K_M-qsa.gguf 6,815,328,960 13d86283cdbbef9147d46fdd81675b870ebd7da4930f98f51f34b083f6c8b099
Q4_K_M-qsa.gguf 5,965,458,112 2446cec39015603a224c81a0e75a85e36fba84bd45a006891f52b0ca3a70c4c6
c326a7f8eb158472f39f2a03ced329b2663a8b4abc2c3415aa00f262bdff5c8d.twx 924,736 192fb4d1e1181b950aa72c7fd5c784fdc94da0eb67967f1852c7c959cb35d9ac

Each file was generated twice and the two copies of the same quantization (or Twindex fit with OMP_NUM_THREADS=1 OPENBLAS_NUM_THREADS=1) compared byte for byte. The hashes above were checked against the Hub's LFS metadata and against files fetched from this repository. The GGUF export script (sensenova_qsa_export.py) and Twindex calibration script (twindex_fit.py) are available at https://github.com/MistVVK/llm-weight-tools (0BSD).

Checks

  • The original tensors were compared byte for byte. The 70 added tensors and the new metadata were checked independently.
  • Index selection was compared with the reference records at 896 positions (14 executions ร— 64). Five positions in executions 15, 23, 31 and 47 selected one block more and one block less. Score relative RMS was 4.640e-6 to 4.457e-5. With the reference queries and keys, or with the reference CPU rotary values, all 896 positions matched. One-ulp differences between the device and CPU pow were measured: 13 of 32 final inverse frequencies differ by at most 2 ulp. The five differences were accepted as a known limit; the pow difference was not established as their sole cause.
  • With attention cell width 2, split 1, chunk 64, per-cell off, merge prefetch off, prompt attention off, MMQ off and BLAS on, QSA and dense gave bit-identical logits at chunk 0 and 128: 248,320 logits, 993,280 bytes.
  • With Q4_K_M, three text cases and one synthetic image case gave the same token IDs as the previously checked engine result, for QSA and dense at chunk 0 and 128.
  • On a 128-token case, --spec 0 and --spec 3 produced identical output bytes; 66 of 120 drafts were accepted (55.0%). Speculative decoding is off by default.
  • Twindex calibration (c326a7f8eb158472f39f2a03ced329b2663a8b4abc2c3415aa00f262bdff5c8d.twx, 14 QSA executions, D = 128 -> 64, Hadamard-equilibrated query-metric PCA, reg = 1e-6, mean query-metric PCA variance explained 98.21%): held-out attention-mass@1280 with Q4_K_M was 99.53% (fp16/int8) and 99.44% (nvfp4) at 128K, and 99.97% (fp16/int8) and 99.96% (nvfp4) at 64K. On AMD Radeon RX 9060 XT (build/free, nvfp4 vs native QSA), qsa_scan_bench --twindex 25 (nq = 1) reached 1.41x at 128K (1.886 -> 1.338 ms) and 1.84x at 262K (3.185 -> 1.729 ms); live 262K QSA scan dropped from 3.729 to 2.954 ms with +410 MiB free VRAM and 128K 128-row KL mean_KL = 0.003066 (97.66% top-1 match). Generated twice and verified byte-identical.

Use with XeStrata

XeStrata's setup offers these files as the sensenova-loop-qsa family. It uses a pinned revision and checks each file's size and SHA-256.

The XeStrata engine is available at https://github.com/MistVVK/XeStrata.

./setup.sh --family sensenova-loop-qsa --model Q4_K_M

The four choices are BF16, Q8_0, Q5_K_M and Q4_K_M.

Pictures use the official mmproj-SenseNova-Loop-9B-F16.gguf. XESTRATA_SENSENOVA_QSA_DENSE=1 selects dense attention on the same file; --spec 3 opts into speculative decoding; XESTRATA_TWINDEX=1 enables optional Twindex compressed index offloading with the .twx fit file.

License and attribution

  • Base model, GGUF weights and tokenizer: SenseNova-Loop-9B by SenseNova, Apache-2.0. https://huggingface.co/sensenova/SenseNova-Loop-9B and https://huggingface.co/sensenova/SenseNova-Loop-9B-GGUF.
  • QSA method: Qwen's QSA research and the research/qsa/ code of higa2515/Qwen3.8-27B-QSA-BF16, Apache-2.0, with training code by kuraneko1. The indexer weights here were trained for SenseNova-Loop-9B from the dense attention of the BF16 reference model, using fineweb-edu sample-10BT (ODC-By 1.0) as training data. They are not copies of the 27B-QSA indexers.
  • Twindex method: arXiv:2611.25078 ("Twindex: Index Cache Offloading with Coarse-to-Fine Selection for Long-Context Sparse-Attention Serving").
  • Engine code: XeStrata, LGPL-3.0-or-later. The weights keep the base model's Apache-2.0 license.
  • Export and calibration scripts: sensenova_qsa_export.py and twindex_fit.py in MistVVK/llm-weight-tools, 0BSD.
  • This is an unofficial conversion.

Citation

Cite the original SenseNova-Loop release, the QSA research repository and the Twindex paper (arXiv:2611.25078) when using these files.

Downloads last month
529
GGUF
Model size
9B params
Architecture
sensenova_loop
Hardware compatibility
Log In to add your hardware

4-bit

5-bit

8-bit

16-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Paper for MistVVK/SenseNova-Loop-9B-QSA-GGUF