SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2410.05317 · ICLR · 2025

Accelerating Diffusion Transformers with Token-wise Feature Caching

Ting Liu, Linfeng Zhang, Chang Zou, Xuyang Liu, Siteng Huang

arXiv · PDF · Open in the Atlas

Code that ran

10 of 13 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; 5 honoured the contract we drafted, 1 violated it and 0 have no contract verdict; 4 failures of our instrument; 3 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.05317.json · badge: /api/ran/2410.05317.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
Shenyi-Z/ToCa marked official in Papers with Code
Papers with Code archive
5 ran · 2 no recorded run
shenyi-z/duca community
Papers with Code archive
5 ran · 1 no recorded run
FunctionStatusWhere it lives
attn_score Ran
ran, honoured the contract we drafted
Shenyi-Z/ToCa/PixArt-alpha-ToCa/diffusion/model/cache_functions/cache_cutfresh.py
pointer only (licence: GPL-3.0) · get_code("4e293dc87bdfee20")
How it ran

The body of this sample is withheld: GPL-3.0, as GitHub detects it on this paper's repository, Shenyi-Z/ToCa, 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.

attn_score Ran
ran, honoured the contract we drafted
shenyi-z/duca/DuCa-DiT/cache_functions/cache_cutfresh.py
pointer only (licence: GPL-3.0) · get_code("346c3a66a40712b8")
How it ran

The body of this sample is withheld: GPL-3.0, as GitHub detects it on this paper's repository, shenyi-z/duca, 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.

fresh_ratio_scheduler Ran
ran, honoured the contract we drafted
Shenyi-Z/ToCa/PixArt-alpha-ToCa/diffusion/model/cache_functions/cache_cutfresh.py
pointer only (licence: GPL-3.0) · get_code("197ebe37931d403b")
How it ran

The body of this sample is withheld: GPL-3.0, as GitHub detects it on this paper's repository, Shenyi-Z/ToCa, 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.

fresh_ratio_scheduler Ran
ran, honoured the contract we drafted
shenyi-z/duca/DuCa-DiT/cache_functions/cache_cutfresh.py
pointer only (licence: GPL-3.0) · get_code("7cae5e5028551bec")
How it ran

The body of this sample is withheld: GPL-3.0, as GitHub detects it on this paper's repository, shenyi-z/duca, 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.

kv_norm_score Ran
ran, honoured the contract we drafted
shenyi-z/duca/DuCa-DiT/cache_functions/cache_cutfresh.py
pointer only (licence: GPL-3.0) · get_code("ab83bffc3af507ee")
How it ran

The body of this sample is withheld: GPL-3.0, as GitHub detects it on this paper's repository, shenyi-z/duca, 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.

local_selection_with_bonus Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
Shenyi-Z/ToCa/PixArt-alpha-ToCa/diffusion/model/cache_functions/cache_cutfresh.py
pointer only (licence: GPL-3.0) · get_code("bd60c5aeb25295c0")
How it ran

The body of this sample is withheld: GPL-3.0, as GitHub detects it on this paper's repository, Shenyi-Z/ToCa, 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.

local_selection_with_bonus Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
shenyi-z/duca/DuCa-DiT/cache_functions/cache_cutfresh.py
pointer only (licence: GPL-3.0) · get_code("baf40c4c9808e3cd")
How it ran

The body of this sample is withheld: GPL-3.0, as GitHub detects it on this paper's repository, shenyi-z/duca, 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.

norm_score Ran
ran, violated the contract we drafted
Shenyi-Z/ToCa/PixArt-alpha-ToCa/diffusion/model/cache_functions/cache_cutfresh.py
pointer only (licence: GPL-3.0) · get_code("a2f810a673cf074a")
How it ran

The body of this sample is withheld: GPL-3.0, as GitHub detects it on this paper's repository, Shenyi-Z/ToCa, 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.

score_evaluate Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
shenyi-z/duca/DuCa-DiT/cache_functions/cache_cutfresh.py
pointer only (licence: GPL-3.0) · get_code("9d8e492d65747dec")
How it ran

The body of this sample is withheld: GPL-3.0, as GitHub detects it on this paper's repository, shenyi-z/duca, 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.

similarity_score Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
Shenyi-Z/ToCa/PixArt-alpha-ToCa/diffusion/model/cache_functions/cache_cutfresh.py
pointer only (licence: GPL-3.0) · get_code("195ca5d843403029")
How it ran

The body of this sample is withheld: GPL-3.0, as GitHub detects it on this paper's repository, Shenyi-Z/ToCa, 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.

cache_cutfresh Not yet run
unverified (harvested, no recorded run)
Shenyi-Z/ToCa/PixArt-alpha-ToCa/diffusion/model/cache_functions/cache_cutfresh.py
pointer only (licence: GPL-3.0) · get_code("bac2e25d384c61d9")
How it ran

The body of this sample is withheld: GPL-3.0, as GitHub detects it on this paper's repository, Shenyi-Z/ToCa, 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.

cache_cutfresh Not yet run
unverified (harvested, no recorded run)
shenyi-z/duca/DuCa-DiT/cache_functions/cache_cutfresh.py
pointer only (licence: GPL-3.0) · get_code("329975da8dd67e51")
How it ran

The body of this sample is withheld: GPL-3.0, as GitHub detects it on this paper's repository, shenyi-z/duca, 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.

score_evaluate Not yet run
unverified (harvested, no recorded run)
Shenyi-Z/ToCa/PixArt-alpha-ToCa/diffusion/model/cache_functions/cache_cutfresh.py
pointer only (licence: GPL-3.0) · get_code("135b93cfa6587819")
How it ran

The body of this sample is withheld: GPL-3.0, as GitHub detects it on this paper's repository, Shenyi-Z/ToCa, 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.

Also present in other papers' code

Of 13 samples lifted from this paper's linked repositories, 13 carry a function identity and 0 do not. Of the 12 distinct functions with an identity, 6 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 6 later) and 6 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
norm_score
brick of this paper's assembly: helper
2 other papers
2 later · 1 only as an assembly brick
2503.06923 (2025-03)
From Reusing to Forecasting: Accelerating Diffusion Models with TaylorSeers
2503.10270 (2025-03)
EEdit: Rethinking the Spatial and Temporal Redundancy for Efficient Image Editing
similarity_score
brick of this paper's assembly: helper
2 other papers
2 later · 1 only as an assembly brick
2503.06923 (2025-03)
From Reusing to Forecasting: Accelerating Diffusion Models with TaylorSeers
2503.10270 (2025-03)
EEdit: Rethinking the Spatial and Temporal Redundancy for Efficient Image Editing
attn_score
brick of this paper's assembly: helper
1 other paper
1 later · 1 only as an assembly brick
2503.06923 (2025-03)
From Reusing to Forecasting: Accelerating Diffusion Models with TaylorSeers
kv_norm_score
brick of this paper's assembly: helper
1 other paper
1 later · 1 only as an assembly brick
2503.06923 (2025-03)
From Reusing to Forecasting: Accelerating Diffusion Models with TaylorSeers
local_selection_with_bonus
brick of this paper's assembly: helper
1 other paper
1 later
2503.06923 (2025-03)
From Reusing to Forecasting: Accelerating Diffusion Models with TaylorSeers
score_evaluate
brick of this paper's assembly: helper
1 other paper
1 later
2503.06923 (2025-03)
From Reusing to Forecasting: Accelerating Diffusion Models with TaylorSeers

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

Diffusion transformers have shown significant effectiveness in both image and video synthesis at the expense of huge computation costs. To address this problem, feature caching methods have been introduced to accelerate diffusion transformers by caching the features in previous timesteps and reusing them in the following timesteps. However, previous caching methods ignore that different tokens exhibit different sensitivities to feature caching, and feature caching on some tokens may lead to 10× more destruction to the overall generation quality compared with other tokens. In this paper, we introduce token-wise feature caching, allowing us to adaptively select the most suitable tokens for caching, and further enable us to apply different caching ratios to neural layers in different types and depths. Extensive experiments on PixArt-α, OpenSora, and DiT demonstrate our effectiveness in both image and video generation with no requirements for training. For instance, 2.36× and 1.93× acceleration are achieved on OpenSora and PixArt-α with almost no drop in generation quality.

For agents

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

get_harvested_code_for_paper("2410.05317")
get_code_for_paper("2410.05317")
have("2410.05317")

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

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

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

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

Connect an agent — have() is free.