SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2410.13229 · 2024

Quamba: A Post-Training Quantization Recipe for Selective State Space Models

arXiv · PDF · Open in the Atlas

Code that ran

10 of 12 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 1 honoured the contract we drafted, 1 violated it and 0 have no contract verdict; 8 failures of our instrument; 2 no recorded run), measured 2026-11-23; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2410.13229.json · badge: /api/ran/2410.13229.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
enyac-group/quamba canonical (classifier label)
classifier basis: census
10 ran · 2 no recorded run
FunctionStatusWhere it lives
fake_quantize_with_type Ran
ran; our contract draft was wrong, not the code
enyac-group/quamba/quamba/datatype_utils.py
pointer only (licence: NOASSERTION) · get_code("f33bb8921075cbcb")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, enyac-group/quamba (NOASSERTION). The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

get_c4 Ran
ran; our contract draft was wrong, not the code
enyac-group/quamba/quamba/data_loaders.py
pointer only (licence: NOASSERTION) · get_code("eb9d2957b3161128")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, enyac-group/quamba (NOASSERTION). The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

get_datatypes Ran
ran; our contract draft was wrong, not the code
enyac-group/quamba/quamba/datatype_utils.py
pointer only (licence: NOASSERTION) · get_code("e454b1111eff4d5c")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, enyac-group/quamba (NOASSERTION). The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

get_pack_factor Ran
ran, honoured the contract we drafted
enyac-group/quamba/quamba/marlin_utils.py
pointer only (licence: NOASSERTION) · get_code("5595a55cc17ecd71")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, enyac-group/quamba (NOASSERTION). The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

get_per_channel_scale Ran
ran; our contract draft was wrong, not the code
enyac-group/quamba/quamba/gptq_utils.py
pointer only (licence: NOASSERTION) · get_code("0445dadcfab62c4d")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, enyac-group/quamba (NOASSERTION). The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

get_type_scales Ran
ran; our contract draft was wrong, not the code
enyac-group/quamba/quamba/datatype_utils.py
pointer only (licence: NOASSERTION) · get_code("130787f1aae9a274")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, enyac-group/quamba (NOASSERTION). The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

get_w4a8_permute_weights Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
enyac-group/quamba/quamba/marlin_utils.py
pointer only (licence: NOASSERTION) · get_code("feae53d10372e4ae")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, enyac-group/quamba (NOASSERTION). The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

is_pow2 Ran
ran, violated the contract we drafted
enyac-group/quamba/quamba/hadamard_utils.py
pointer only (licence: NONE); the stored copy get_code serves, from jingyangxiang/dfrot, is pointer only (licence: NONE) · get_code("e36d941e3a44f9df")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, enyac-group/quamba when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

permute_weights Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
enyac-group/quamba/quamba/marlin_utils.py
pointer only (licence: NOASSERTION) · get_code("9f5fdc371e76fdce")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, enyac-group/quamba (NOASSERTION). The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

quant Ran
ran; our contract draft was wrong, not the code
enyac-group/quamba/quamba/gptq_utils.py
pointer only (licence: NOASSERTION) · get_code("7355789c27de24da")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, enyac-group/quamba (NOASSERTION). The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

get_ptb_new Not yet run
unverified (harvested, no recorded run)
enyac-group/quamba/quamba/data_loaders.py
pointer only (licence: NOASSERTION) · get_code("fbe28cafff31e83e")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, enyac-group/quamba (NOASSERTION). The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

get_wikitext2 Not yet run
unverified (harvested, no recorded run)
enyac-group/quamba/quamba/data_loaders.py
pointer only (licence: NOASSERTION) · get_code("f9f3ddd2d74b2929")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, enyac-group/quamba (NOASSERTION). The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

Also present in other papers' code

Of 12 samples lifted from this paper's linked repositories, 12 carry a function identity and 0 do not. Of the 12 distinct functions with an identity, 3 are also present in other papers whose code we hold (3 with at least one paper dated earlier, 0 the same month, 1 later) and 9 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

FunctionAlso present inEarliest-datedOthers named
is_pow2 3 other papers
2 dated earlier, 1 later
2402.17762 (2024-02)
Massive Activations in Large Language Models
2404.00456 (2024-04)
QuaRot: Outlier-Free 4-Bit Inference in Rotated LLMs
2412.00648 (2024-12)
DFRot: Achieving Outlier-Free and Massive Activation-Free for Rotated LLMs with Refined Rotation
get_c4 1 other paper
1 dated earlier
2310.19102 (2023-10)
Atom: Low-bit Quantization for Efficient and Accurate LLM Serving
get_wikitext2 1 other paper
1 dated earlier
2310.19102 (2023-10)
Atom: Low-bit Quantization for Efficient and Accurate LLM Serving

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-23.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

State Space Models (SSMs) have emerged as an appealing alternative to Transformers for large language models, achieving state-of-the-art accuracy with constant memory complexity which allows for holding longer context lengths than attention-based networks. The superior computational efficiency of SSMs in long sequence modeling positions them favorably over Transformers in many scenarios. However, improving the efficiency of SSMs on request-intensive cloud-serving and resource-limited edge applications is still a formidable task. SSM quantization is a possible solution to this problem, making SSMs more suitable for wide deployment, while still maintaining their accuracy. Quantization is a common technique to reduce the model size and to utilize the low bit-width acceleration features on modern computing units, yet existing quantization techniques are poorly suited for SSMs. Most notably, SSMs have highly sensitive feature maps within the selective scan mechanism (i.e., linear recurrence) and massive outliers in the output activations which are not present in the output of token-mixing in the self-attention modules. To address this issue, we propose a static 8-bit per-tensor SSM quantization method which suppresses the maximum values of the input activations to the selective SSM for finer quantization precision and quantizes the output activations in an outlier-free space with Hadamard transform. Our 8-bit weight-activation quantized Mamba 2.8B SSM benefits from hardware acceleration and achieves a 1.72x lower generation latency on an Nvidia Orin Nano 8G, with only a 0.9% drop in average accuracy on zero-shot tasks. The experiments demonstrate the effectiveness and practical applicability of our approach for deploying SSM-based models of all sizes on both cloud and edge platforms.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2410.13229")
get_code_for_paper("2410.13229")
have("2410.13229")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2410.13229.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2410.13229.svg)](https://syntology.ai/paper/2410.13229)

Connect an agent — have() is free.