Diffusion Transformers (DiTs) can generate high-quality images and videos, but generating each sample requires multiple costly DiT forward passes. Two common ways to accelerate DiT sampling are step distillation, which reduces the number of sampling steps, and caching, which skips some DiT evaluations by reusing a tensor computed at an earlier step. Most caching methods decide in advance which tensor to reuse. After distillation, adjacent sampling steps are farther apart. Reusing a tensor across this larger gap introduces more error, so choosing what to cache becomes especially important. We therefore introduce AutoTarget, a method that chooses the cached tensor for a given model, solver, and reuse schedule. AutoTarget uses a small set of runs without cache reuse to measure the error caused by reusing each candidate tensor, then selects the candidate with the lowest error. We also analyze how an error at one reuse step affects the final sample. For Euler sampling, we identify cache targets that produce the same trajectory and show why a stored solver update may not. Experiments on distilled image and video DiTs show that the best cache target changes with the model, image resolution, and solver. AutoTarget reduces DiT evaluations and retained cache storage. Generation quality remains close to the corresponding uncached run. On the tested PixArt-LCM and FLUX.1-schnell settings, its calibration ranking matches the ranking from held-out cached runs. To help others reproduce the method, we provide its core implementation on GitHub at https://github.com/wali1024-offical/AutoTarget.
Figures & tables
Figure 1: Examples generated by AutoTarget with FLUX.1-schnell.
Figure 2: A DiT sampling step. AutoTarget compares the outputs passed to the solver, rather than internal features.
Figure 3: Cache-target selection across configurations. Risks are normalized by the row minimum; held-out columns report top-1 wins and PSNR gains over the runner-up.
Figure 4: AutoTarget calibrates cache targets on uncached runs and reuses the accepted target on new prompts.
Method
Efficiency
Image Quality
Paired-output Fidelity
Retained cache
Latency (s) ↓
Overall ↑
Cache-only ↑
ImageReward ↑
CLIP ↑
PSNR (dB) ↑
SSIM ↑
MiB ↓
FLUX.1-dev step-budget reference
FLUX.1-dev (50 steps)
17.92
1.00 ×
N/A
0.985
32.187
∞
1.0000
0.00
FLUX.1-dev (25 steps)
9.31
1.93 ×
N/A
0.967
32.041
29.431
0.7315
0.00
FLUX.1-dev (20 steps)
8.14
2.20 ×
N/A
0.946
30.912
29.037
0.6991
0.00
FLUX.1-dev (17 steps)
6.71
2.67 ×
N/A
0.912
29.308
28.795
0.6723
0.00
Table 1: Text-to-image results. Overall speedup is relative to 50-step FLUX.1-dev; cache-only speedup is relative to each uncached few-step model. Fidelity uses paired 50-step FLUX.1-dev outputs for FLUX and paired uncached four-step outputs for PixArt-LCM.
Method
Latency (s) ↓
Overall ↑
Cache-only ↑
VBench Semantic ↑
VBench Quality ↑
VBench Total ↑
HunyuanVideo (50 steps)
1136.2
1.00 ×
N/A
72.4
80.5
78.9
HunyuanVideo (CFG-distilled, 20 steps)
231.5
4.91 ×
1.000 ×
63.2
78.6
75.5
TeaCache ( l=0.15 )
234.8
4.84 ×
0.986 ×
64.5
79.3
76.3
DiCache
302.8
3.75 ×
0.765 ×
58.8
75.6
72.2
TaylorSeer ( N=3 , O=1 )
265.0
4.29 ×
0.874 ×
64.3
79.4
76.4
HiCache
260.5
4.36 ×
0.889 ×
64.9
79.6
76.7
Table 2: HunyuanVideo results. Overall and cache-only speedups are relative to the 50-step and uncached CFG-distilled 20-step models, respectively.
Appendix figures & tables9 assets
Supplementary material from the paper’s appendix.
Appendix
Figure 5: Calibration and held-out cached-run rankings agree in the verified settings. The fixed rule γ≥1.10 abstains on shifted LTX-Video.
Figure 6: For PixArt-LCM and FLUX.1-schnell, calibration selects denoised/clean and velocity, respectively. Each wins on all 20 held-out prompts; bars and bands show paired 95% bootstrap intervals.
Rank
Candidate target
Calibration risk
Risk / selected
1
velocity
0.005963
1.000
2
denoised residual
0.008601
1.442
3
denoised/clean
0.010180
1.707
4
ϵ
0.017475
2.931
Appendix
Table 3: PixArt-LCM 5122 calibration errors for the controlled setting in Figure 3 . Each value is the mean squared decoded RGB error over four prompts and one reuse step. Velocity has the lowest error. The ratio of the second-lowest error to the lowest is γ=1.442 .
Configuration
Prompts
Calls
Cached PSNR
Anchor-only PSNR
Cached − anchor-only
Default three-step PSNR
FLUX.1-schnell, Euler
50
3
32.575
32.577
−0.001 [-0.004, 0.001]
N/A
PixArt-LCM
50
3
23.930
23.914
+0.016 [0.013, 0.019]
17.502
Appendix
Table 4: Reduced-step controls with the same number of DiT evaluations. “Anchor-only” runs the solver only at the steps that refresh the cache. “Default three-step” uses the standard three-step schedule from the LCM pipeline. Brackets show paired 95% bootstrap confidence intervals over prompts.
Method
Threshold
FCE
Aggregate PSNR
SSIM
Latency (s)
AutoTarget
N/A
3.000
22.952
0.777
0.123
TeaCache
0.10
4.000
exact
1.000
0.157
TeaCache
0.30
4.000
exact
1.000
0.158
TeaCache
0.55
3.000
6.988
0.053
0.121
TeaCache
0.80
3.000
5.766
0.037
0.122
DiCache
0.10
4.000
exact
1.000
0.157
Appendix
Table 5: PixArt-LCM baseline sweep on 50 paired prompts. Aggregate PSNR uses mean RGB MSE and remains finite when some outputs are exact. FCE is the mean number of full DiT evaluations.
Solver
Selected
Ranking
ϵ PSNR
clean PSNR
velocity PSNR
Finite clean
DDIM
ϵ
ϵ>v>clean
14.154
non-finite
13.998
0/20
DPM-Solver++ (order 2)
ϵ
ϵ>clean>v
18.145
17.936
17.760
20/20
Appendix
Table 6: Solver comparison on the same PixArt-XL model at 10242 . Both solvers use 20 steps, the same 20 prompts and paired seeds, and ten full DiT evaluations at the same even-numbered steps. The table reports candidates even when they produce non-finite values.
Figure 7: HunyuanVideo speed, fidelity, and retained-cache size on 20 matched prompts. The selected native target retains 288 KiB; cache size excludes temporary runtime memory.
Figure 8: Velocity gives higher fidelity to the exact output than reusing the next latent. The paired CLIPScore differences are inconclusive and do not follow the PSNR gains.
Figure 9: PixArt-LCM target fidelity on 200 DrawBench prompts (left) and selection stability from 32 calibration runs with 1,000 sampled subsets per set size (right).
College of Electronics and Information Engineering, Shenzhen University · School of Artificial Intelligence, Shenzhen University · College of Computer Science and Software Engineering, Shenzhen University