Yulun Zhang, Ruobing Xie, Haotong Qin, Xingwu Sun, Xianglong Yan, Chengzhu Bao, Zhiteng Li, Tianao Zhang, Kaicheng Yang
13 of 24 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; 2 honoured the contract we drafted, 1 violated it and 0 have no contract verdict; 10 failures of our instrument; 11 no recorded run), measured 2026-11-23; 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/2510.03267.json · badge: /api/ran/2510.03267.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.
| Repository | Role | Ran |
|---|---|---|
| XIANGLONGYAN/PT2-LLM | canonical (classifier label) classifier basis: census |
13 ran · 11 no recorded run |
| Function | Status | Where it lives |
|---|---|---|
| add_common_args | Ran ran; our contract draft was wrong, not the code |
XIANGLONGYAN/PT2-LLM/pt2_llm/eval_utils.py code served (permissive licence) · get_code("86b2b0edb3228d3b") How it ranRan in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned ArgumentParser. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.
|
| atq | Ran ran; our contract draft was wrong, not the code |
XIANGLONGYAN/PT2-LLM/pt2_llm/quantizer.py code served (permissive licence) · get_code("3012b28251a8b320") How it ranRan in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned Tensor, ndim 2, dtype family float, shape (2, 4) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.
|
| cluster_based_perm | Ran ran; our contract draft was wrong, not the code |
XIANGLONGYAN/PT2-LLM/pt2_llm/gptq.py code served (permissive licence) · get_code("dab5f3ef2b72c0dc") How it ranRan in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned Tensor, ndim 1, dtype family int, shape (3,) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.
|
| cluster_based_perm | Ran ran; our contract draft was wrong, not the code |
XIANGLONGYAN/PT2-LLM/pt2_llm/gptq_ssr.py code served (permissive licence) · get_code("290494739e1414f0") How it ranRan in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned Tensor, ndim 1, dtype family int, shape (3,) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.
|
| count_ternary_patterns | Ran ran; our contract draft was wrong, not the code |
XIANGLONGYAN/PT2-LLM/pt2_llm/gptq.py code served (permissive licence) · get_code("d861ac5b9a252b36") How it ranRan in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned Counter. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.
|
| find_layers | Ran ran; our contract draft was wrong, not the code |
XIANGLONGYAN/PT2-LLM/pt2_llm/model_utils.py pointer only (licence: Apache-2.0); the stored copy get_code serves, from squeezeailab/kvquant, is pointer only (licence: NONE) · get_code("a9e7f2cdf016b88b") How it ranThe body of this sample is withheld: this paper's link allows the body inline (Apache-2.0), but get_code serves the stored copy, first harvested from squeezeailab/kvquant, and GitHub detected no licence in that repository 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. |
| llama_eval | Ran ran, honoured the contract we drafted |
XIANGLONGYAN/PT2-LLM/pt2_llm/eval_ppl.py code served (permissive licence) · get_code("7823347a3a40550c") How it ranRan in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned float, ndim 0, dtype family float, shape () as a later run recorded it. The image it ran in was not recorded. The code mentions cuda, and the harness aliases cuda to the CPU for every sample; whether this run needed that is not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.
|
| qwen_eval | Ran ran, honoured the contract we drafted |
XIANGLONGYAN/PT2-LLM/pt2_llm/eval_ppl.py code served (permissive licence) · get_code("7cb1e73581e2b09c") How it ranRan in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned float, ndim 0, dtype family float, shape () as a later run recorded it. The image it ran in was not recorded. The code mentions cuda, and the harness aliases cuda to the CPU for every sample; whether this run needed that is not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.
|
| setup_logger | Ran ran; our contract draft was wrong, not the code |
XIANGLONGYAN/PT2-LLM/quantize.py code served (permissive licence) · get_code("b50e1058ea310be4") How it ranRan in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned RootLogger. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.
|
| ternary_init | Ran ran; our contract draft was wrong, not the code |
XIANGLONGYAN/PT2-LLM/pt2_llm/quantizer.py code served (permissive licence) · get_code("9ef9b159a0d540b7") How it ranRan in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned tuple. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.
|
| ternary_init_only | Ran ran; our contract draft was wrong, not the code |
XIANGLONGYAN/PT2-LLM/pt2_llm/quantizer.py code served (permissive licence) · get_code("a63bf3bef780168d") How it ranRan in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned Tensor, ndim 2, dtype family float, shape (2, 4) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.
|
| ternary_pattern_to_id | Ran ran, violated the contract we drafted |
XIANGLONGYAN/PT2-LLM/pt2_llm/gptq.py code served (permissive licence) · get_code("9516b5796ab3b949") How it ranRan in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned int, ndim 0, dtype family int, shape () as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.
|
| topk_similar_columns | Ran ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT) |
XIANGLONGYAN/PT2-LLM/pt2_llm/gptq_ssr.py code served (permissive licence) · get_code("55b80284fff862b9") How it ranRan in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned Tensor, ndim 1, dtype family int, shape (3,) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.
|
| cleanup_memory | Not yet run unverified (harvested, no recorded run) |
XIANGLONGYAN/PT2-LLM/pt2_llm/model_utils.py code served (permissive licence) · get_code("a8119d4e31042017") How it ranno invocation recorded. |
| cluster_based_perm_balanced | Not yet run unverified (harvested, no recorded run) |
XIANGLONGYAN/PT2-LLM/pt2_llm/gptq_ssr.py code served (permissive licence) · get_code("00150b858dfafe07") How it ranno invocation recorded. |
| eval_ppl | Not yet run unverified (harvested, no recorded run) |
XIANGLONGYAN/PT2-LLM/run_ppl_eval.py code served (permissive licence) · get_code("f044b684b951e585") How it ranno invocation recorded. |
| get_model | Not yet run unverified (harvested, no recorded run) |
XIANGLONGYAN/PT2-LLM/quantize.py code served (permissive licence) · get_code("75fa5d245db56957") How it ranno invocation recorded. |
| get_ppl_eval_loaders | Not yet run unverified (harvested, no recorded run) |
XIANGLONGYAN/PT2-LLM/run_ppl_eval.py code served (permissive licence) · get_code("88e150118e4e25e0") How it ranno invocation recorded. |
| get_ppl_eval_loaders_original | Not yet run unverified (harvested, no recorded run) |
XIANGLONGYAN/PT2-LLM/run_ppl_eval.py code served (permissive licence) · get_code("9e96f484accf8fe8") How it ranno invocation recorded. |
| get_ptb | Not yet run unverified (harvested, no recorded run) |
XIANGLONGYAN/PT2-LLM/pt2_llm/data.py code served (permissive licence) · get_code("1b0736b420b42de6") How it ranno invocation recorded. |
| get_tokenizer | Not yet run unverified (harvested, no recorded run) |
XIANGLONGYAN/PT2-LLM/pt2_llm/data.py code served (permissive licence) · get_code("9b51f71e770bd399") How it ranno invocation recorded. |
| get_wikitext2 | Not yet run unverified (harvested, no recorded run) |
XIANGLONGYAN/PT2-LLM/pt2_llm/data.py code served (permissive licence) · get_code("bc9148e3beb23d8f") How it ranno invocation recorded. |
| load_quant | Not yet run unverified (harvested, no recorded run) |
XIANGLONGYAN/PT2-LLM/pt2_llm/eval_utils.py code served (permissive licence) · get_code("9fa0c8cd09b878ff") How it ranno invocation recorded. |
| opt_eval | Not yet run unverified (harvested, no recorded run) |
XIANGLONGYAN/PT2-LLM/pt2_llm/eval_ppl.py code served (permissive licence) · get_code("576d385291767a99") How it ranno invocation recorded. |
Of 24 samples lifted from this paper's linked repositories, 24 carry a function identity and 0 do not. Of the 24 distinct functions with an identity, 1 are also present in other papers whose code we hold (1 with at least one paper dated earlier, 0 the same month, 1 later) and 23 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.
| Function | Also present in | Earliest-dated | Others named |
|---|---|---|---|
| find_layers | 27 other papers 24 dated earlier, 1 later, 1 same year, order not determinable, 1 undated |
2203.13474 (2022-03) CodeGen: An Open Large Language Model for Code with Multi-Turn Program Synthesis |
2023.emnlp-main.892 (2023 (year only)) Z-FOLD: A Frustratingly Easy Post-Training Quantization Scheme for LLMs 2307.09288 (2023-07) Llama 2: Open Foundation and Fine-Tuned Chat Models and 24 more not named here |
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.
Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.
Large Language Models (LLMs) have shown impressive capabilities across diverse tasks, but their large memory and compute demands hinder deployment. Ternarization has gained attention as a promising compression technique, delivering substantial size reduction and high computational efficiency. However, its potential in the post-training quantization (PTQ) setting remains underexplored, due to the challenge of training-free parameter optimization and the quantization difficulty posed by outliers and dispersed weights. To address these issues, we propose PT 2 -LLM, a post-training ternarization framework tailored for LLMs. At its core is an Asymmetric Ternary Quantizer equipped with a two-stage refinement pipeline: (1) Iterative Ternary Fitting (ITF), which alternates between optimal ternary grid construction and flexible rounding to minimize quantization error, and (2) Activation-aware Grid Alignment (AGA), which further refines the ternary grid to better match full-precision outputs. In addition, we propose a plug-and-play Structural Similarity-based Reordering (SSR) strategy that leverages inter-column structural similarity to ease quantization and mitigate outlier effects, further enhancing overall performance. Extensive experiments demonstrate that PT 2 -LLM delivers competitive performance against state-of-the-art (SOTA) 2-bit PTQ methods with lower memory cost, while also accelerating both prefill and decoding to achieve end-to-end speedup. The code and models will be available at https://github.com/XIANGLONGYAN/PT2-LLM.
The same record, over MCP at https://syntology.ai/mcp:
get_harvested_code_for_paper("2510.03267")
get_code_for_paper("2510.03267")
have("2510.03267")
The run record, dated, one paper per request, free:
curl https://syntology.ai/api/ran/2510.03267.json
A badge for a README (the split and the date, never a ratio):
[](https://syntology.ai/paper/2510.03267)
Connect an agent — have() is free.