SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2605.21325 · 2026

Fast and Stable Triangular Inversion for Delta-Rule Linear Transformers

Aleksandros Sobczyk, Jiawei Zhuang, Gioele Gottardo, Christos Matzoros, Mirko De, Vita Skogh, Anastasios Zouzias

arXiv · PDF · Open in the Atlas

Code that ran

15 of 28 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, 0 violated it and 1 has no contract verdict; 13 failures of our instrument; 13 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/2605.21325.json · badge: /api/ran/2605.21325.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
huawei-csl/megagdn-pto canonical (classifier label)
classifier basis: census
6 ran · 3 no recorded run
huawei-csl/pto-kernels canonical (classifier label)
classifier basis: census
6 ran · 3 no recorded run
huawei-csl/gdn-tri-inverse canonical (classifier label)
classifier basis: census
3 ran · 7 no recorded run
FunctionStatusWhere it lives
bind_triton Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
huawei-csl/megagdn-pto/vllm_patch/chunk_kda_pto.py
pointer only (licence: NONE) · get_code("3be586d513227377")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, huawei-csl/megagdn-pto 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.

chunk_gated_delta_rule_native Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
huawei-csl/gdn-tri-inverse/src/gdn_tri_inverse/triton_chunk_gdn/fla/chunk.py
pointer only (licence: BSD-3-Clause-Clear) · get_code("8c58a327ad934418")
How it ran

The body of this sample is withheld: BSD-3-Clause-Clear, as GitHub detects it on this paper's repository, huawei-csl/gdn-tri-inverse, is not in the permissive set Syntology serves inline. 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.

chunk_kda_pto Ran
ran on a synthesized input
huawei-csl/megagdn-pto/vllm_patch/chunk_kda_pto.py
pointer only (licence: NONE) · get_code("88c21f1f458ccf5c")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, huawei-csl/megagdn-pto 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.

compile_kernel Ran
ran; our contract draft was wrong, not the code
huawei-csl/pto-kernels/.skills/testing-pto-kernels/reference/pto_demo_utils.py
pointer only (licence: BSD-3-Clause-Clear) · get_code("49cd9155190e49b2")
How it ran

The body of this sample is withheld: BSD-3-Clause-Clear, as GitHub detects it on this paper's repository, huawei-csl/pto-kernels, is not in the permissive set Syntology serves inline. 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_tp_context Ran
ran; our contract draft was wrong, not the code
huawei-csl/megagdn-pto/docker/overrides/model_runner_v1.py
pointer only (licence: NONE) · get_code("179b4ecb6419827a")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, huawei-csl/megagdn-pto 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.

inv_tril_inplace Ran
ran; our contract draft was wrong, not the code
huawei-csl/gdn-tri-inverse/src/gdn_tri_inverse/triton_chunk_gdn/fla/chunk.py
pointer only (licence: BSD-3-Clause-Clear) · get_code("65c98279ed930932")
How it ran

The body of this sample is withheld: BSD-3-Clause-Clear, as GitHub detects it on this paper's repository, huawei-csl/gdn-tri-inverse, is not in the permissive set Syntology serves inline. 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.

npu_from_cpu Ran
ran; our contract draft was wrong, not the code
huawei-csl/pto-kernels/.skills/testing-pto-kernels/reference/dynamic_multi_core/a5/run_kernel_ctypes.py
pointer only (licence: BSD-3-Clause-Clear) · get_code("29854c7c42411c2b")
How it ran

The body of this sample is withheld: BSD-3-Clause-Clear, as GitHub detects it on this paper's repository, huawei-csl/pto-kernels, is not in the permissive set Syntology serves inline. 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.

npu_tensor Ran
ran; our contract draft was wrong, not the code
huawei-csl/pto-kernels/.skills/testing-pto-kernels/reference/dynamic_multi_core/a5/run_kernel_pybind.py
pointer only (licence: BSD-3-Clause-Clear) · get_code("43739c7f7a9f008f")
How it ran

The body of this sample is withheld: BSD-3-Clause-Clear, as GitHub detects it on this paper's repository, huawei-csl/pto-kernels, is not in the permissive set Syntology serves inline. 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.

summarize Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
huawei-csl/pto-kernels/.skills/testing-pto-kernels/reference/dynamic_multi_core/a2a3/benchmark.py
pointer only (licence: BSD-3-Clause-Clear) · get_code("7140e33bf7bef21f")
How it ran

The body of this sample is withheld: BSD-3-Clause-Clear, as GitHub detects it on this paper's repository, huawei-csl/pto-kernels, is not in the permissive set Syntology serves inline. 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.

tensor_ptr Ran
ran; our contract draft was wrong, not the code
huawei-csl/pto-kernels/.skills/testing-pto-kernels/reference/pto_demo_utils.py
pointer only (licence: BSD-3-Clause-Clear) · get_code("6c19edb11fb6754c")
How it ran

The body of this sample is withheld: BSD-3-Clause-Clear, as GitHub detects it on this paper's repository, huawei-csl/pto-kernels, is not in the permissive set Syntology serves inline. 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.

total_chunks Ran
ran; our contract draft was wrong, not the code
huawei-csl/megagdn-pto/megagdn_pto/kernel_libs.py
pointer only (licence: NONE) · get_code("e4e5891b8b4488b1")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, huawei-csl/megagdn-pto 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.

transpose_beta Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
huawei-csl/megagdn-pto/megagdn_pto/kernel_libs.py
pointer only (licence: NONE) · get_code("33a4536ecf79ed25")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, huawei-csl/megagdn-pto 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.

transpose_gates Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
huawei-csl/megagdn-pto/megagdn_pto/kernel_libs.py
pointer only (licence: NONE) · get_code("e0779707b00e56f4")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, huawei-csl/megagdn-pto 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.

tri_inv_qwen3_next_default Ran
ran; our contract draft was wrong, not the code
huawei-csl/gdn-tri-inverse/src/gdn_tri_inverse/linalg.py
pointer only (licence: BSD-3-Clause-Clear) · get_code("27aa399aa0968a73")
How it ran

The body of this sample is withheld: BSD-3-Clause-Clear, as GitHub detects it on this paper's repository, huawei-csl/gdn-tri-inverse, is not in the permissive set Syntology serves inline. 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.

workspace Ran
ran, honoured the contract we drafted
huawei-csl/pto-kernels/.skills/testing-pto-kernels/reference/dynamic_multi_core/a2a3/run_mix_ctypes.py
pointer only (licence: BSD-3-Clause-Clear) · get_code("bf1d857bd30bc516")
How it ran

The body of this sample is withheld: BSD-3-Clause-Clear, as GitHub detects it on this paper's repository, huawei-csl/pto-kernels, is not in the permissive set Syntology serves inline. 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.

add_reference_to_path Not yet run
unverified (harvested, no recorded run)
huawei-csl/pto-kernels/.skills/testing-pto-kernels/reference/pto_demo_utils.py
pointer only (licence: BSD-3-Clause-Clear) · get_code("b26eb7a5b59d8e1f")
How it ran

The body of this sample is withheld: BSD-3-Clause-Clear, as GitHub detects it on this paper's repository, huawei-csl/pto-kernels, is not in the permissive set Syntology serves inline. 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.

build_kernel Not yet run
unverified (harvested, no recorded run)
huawei-csl/pto-kernels/.skills/testing-pto-kernels/reference/dynamic_multi_core/a2a3/run_kernel_pybind.py
pointer only (licence: BSD-3-Clause-Clear) · get_code("bcc14bcd0eec3750")
How it ran

The body of this sample is withheld: BSD-3-Clause-Clear, as GitHub detects it on this paper's repository, huawei-csl/pto-kernels, is not in the permissive set Syntology serves inline. 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.

compile_chunk_kernel Not yet run
unverified (harvested, no recorded run)
huawei-csl/megagdn-pto/megagdn_pto/compile.py
pointer only (licence: NONE) · get_code("1a65bd82810630c4")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, huawei-csl/megagdn-pto 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. No invocation recorded.

compile_tri_inverse Not yet run
unverified (harvested, no recorded run)
huawei-csl/megagdn-pto/megagdn_pto/compile.py
pointer only (licence: NONE) · get_code("8991055d8785b3a2")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, huawei-csl/megagdn-pto 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. No invocation recorded.

event_bench Not yet run
unverified (harvested, no recorded run)
huawei-csl/pto-kernels/.skills/testing-pto-kernels/reference/dynamic_multi_core/a2a3/benchmark.py
pointer only (licence: BSD-3-Clause-Clear) · get_code("b0bfd6df1362ea99")
How it ran

The body of this sample is withheld: BSD-3-Clause-Clear, as GitHub detects it on this paper's repository, huawei-csl/pto-kernels, is not in the permissive set Syntology serves inline. 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.

fast_inv_tril Not yet run
unverified (harvested, no recorded run)
huawei-csl/gdn-tri-inverse/src/gdn_tri_inverse/triton_chunk_gdn/fla/chunk.py
pointer only (licence: BSD-3-Clause-Clear) · get_code("3872a6d7e9a842a6")
How it ran

The body of this sample is withheld: BSD-3-Clause-Clear, as GitHub detects it on this paper's repository, huawei-csl/gdn-tri-inverse, is not in the permissive set Syntology serves inline. 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.

recurrent_gated_delta_rule_ref Not yet run
unverified (harvested, no recorded run)
huawei-csl/gdn-tri-inverse/src/gdn_tri_inverse/core.py
pointer only (licence: BSD-3-Clause-Clear) · get_code("94a3d31751316112")
How it ran

The body of this sample is withheld: BSD-3-Clause-Clear, as GitHub detects it on this paper's repository, huawei-csl/gdn-tri-inverse, is not in the permissive set Syntology serves inline. 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.

ref_chunk_cumsum Not yet run
unverified (harvested, no recorded run)
huawei-csl/gdn-tri-inverse/src/gdn_tri_inverse/tilelang_chunk_gdn/opt_gdn_chunk_cumsum.py
pointer only (licence: BSD-3-Clause-Clear) · get_code("1902ecb472db2fcc")
How it ran

The body of this sample is withheld: BSD-3-Clause-Clear, as GitHub detects it on this paper's repository, huawei-csl/gdn-tri-inverse, is not in the permissive set Syntology serves inline. 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.

ref_chunk_h Not yet run
unverified (harvested, no recorded run)
huawei-csl/gdn-tri-inverse/src/gdn_tri_inverse/tilelang_chunk_gdn/opt_gdn_chunk_h.py
pointer only (licence: BSD-3-Clause-Clear) · get_code("2996cf978e93d4a1")
How it ran

The body of this sample is withheld: BSD-3-Clause-Clear, as GitHub detects it on this paper's repository, huawei-csl/gdn-tri-inverse, is not in the permissive set Syntology serves inline. 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.

ref_chunk_o Not yet run
unverified (harvested, no recorded run)
huawei-csl/gdn-tri-inverse/src/gdn_tri_inverse/tilelang_chunk_gdn/opt_gdn_chunk_o.py
pointer only (licence: BSD-3-Clause-Clear) · get_code("7136a894cedf2d88")
How it ran

The body of this sample is withheld: BSD-3-Clause-Clear, as GitHub detects it on this paper's repository, huawei-csl/gdn-tri-inverse, is not in the permissive set Syntology serves inline. 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.

ref_seq_gdn Not yet run
unverified (harvested, no recorded run)
huawei-csl/gdn-tri-inverse/src/gdn_tri_inverse/tilelang_chunk_gdn/opt_gdn_full.py
pointer only (licence: BSD-3-Clause-Clear) · get_code("f3d36efe796d3c18")
How it ran

The body of this sample is withheld: BSD-3-Clause-Clear, as GitHub detects it on this paper's repository, huawei-csl/gdn-tri-inverse, is not in the permissive set Syntology serves inline. 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.

ref_wy_fast Not yet run
unverified (harvested, no recorded run)
huawei-csl/gdn-tri-inverse/src/gdn_tri_inverse/tilelang_chunk_gdn/opt_gdn_wy_fast.py
pointer only (licence: BSD-3-Clause-Clear) · get_code("18bceabcfb10e5ac")
How it ran

The body of this sample is withheld: BSD-3-Clause-Clear, as GitHub detects it on this paper's repository, huawei-csl/gdn-tri-inverse, is not in the permissive set Syntology serves inline. 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.

staged_separate_launch Not yet run
unverified (harvested, no recorded run)
huawei-csl/megagdn-pto/benchmarks/kernel/bench_pto_pipeline_latency.py
pointer only (licence: NONE) · get_code("04b68677ccfb33a0")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, huawei-csl/megagdn-pto 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. No invocation recorded.

Also present in other papers' code

Of 28 samples lifted from this paper's linked repositories, 28 carry a function identity and 0 do not. Of the 28 distinct functions with an identity, 0 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 0 later) and 28 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.

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

Linear attention has emerged as a cornerstone for efficient long-context architectures, as evidenced by its integration into state-of-the-art open-source models including Qwen3.5/3.6, Kimi Linear, and RWKV-7. Models that incorporate linear attention layers with the so-called Delta-Rule involve the inversion of triangular matrices as a core sub-routine. This operation often forms a performance bottleneck, and, due to its high-sensitivity to numerical errors, it can significantly deteriorate end-to-end model accuracy if it is not carefully implemented. This work provides a systematic analysis of both direct and iterative triangular inversion algorithms, targeting methods that are rich in matrix products, and, therefore, have the potential to efficiently utilize modern hardware. To that end, our analysis covers a broad spectrum of mathematical and practical aspects, with a heavy focus on numerical stability, computational complexity, and, ultimately, hardware efficiency and practical considerations. We provide a rigorous experimental evaluation to verify these properties in practical scenarios, and in low-precision floating-point representations, highlighting the strengths and limitations of each method. Performance benchmarks on NPUs reveal up to 4.3× speed-up against the state-of-the-art implementations of SGLang for triangular matrix inversion, leading to significant performance improvements on the entire layer level, while maintaining full end-to-end model accuracy.

For agents

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

get_harvested_code_for_paper("2605.21325")
get_code_for_paper("2605.21325")
have("2605.21325")

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

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

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

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

Connect an agent — have() is free.