Skip to content
XiaoLiu1237Public

About

code for TACache

Resources

Stars

5 stars

Watchers

0 watching

Forks

Latest commit

 

History

73 Commits

Folders and files

Repository files navigation

🏆 [NeurIPS 2026] Accelerating Rectified Flow Models via Trajectory-Aware Caching

Xiao Liu, Kai Liu, Naiyang Guan, Hongliang Lu, Zhixin Wang, Zhikai Chen, Renjing Pei, Yulun Zhang*

Downloads Visitors GitHub Stars

🔥 News

  • 2026-11-08: The code is released.
  • 2026-09-24: TACache is accepted at NeurIPS 2026.

🧩 Pipeline

TACache pipeline

🔗 Contents

  1. Codes
  2. Data Preparation
  3. Testing
  4. Results
  5. Citation
  6. Acknowledgements

💻 Codes

tacache/       shared algorithm and calibration
Wan2.1/        Wan sampling and model integration
models/        checkpoint directory
eval/          video quality evaluation

🗂️ Data Preparation

🔨 Testing

See REPRODUCE.md for environment setup, checkpoints, datasets, and calibration, inference, and evaluation commands. After setting up the environment and checkpoint, run a quickstart:

bash scripts/quickstart.sh "A small boat sailing on a calm lake."

🔎 Results

🎬 Wan2.1 · Text to video

Scene Original model TACache
Snow fox Snow fox - original Snow fox - tacache
At the edge of the sea At the edge of the sea - original At the edge of the sea - tacache

Prompts and settings.

🖼️ BAGEL + TACache · Text to image

Golden-hour portrait Alpine retreat
Golden-hour portrait generated by BAGEL with TACache Alpine retreat generated by BAGEL with TACache
A world in a teacup Whale above the clouds
A world in a teacup generated by BAGEL with TACache Whale above the clouds generated by BAGEL with TACache

📊 Quantitative results

Table 1: Text-to-image quality and efficiency on BAGEL and FLUX.1-dev

Table 2: Text-to-video quality and efficiency on Wan2.1-1.3B

📎 Citation

@inproceedings{liu2026acceleratingrectifiedflowmodels,
  title={Accelerating Rectified Flow Models via Trajectory-Aware Caching},
  author={Xiao Liu and Kai Liu and Naiyang Guan and Hongliang Lu and Zhixin Wang and Zhikai Chen and Renjing Pei and Yulun Zhang},
  booktitle={Advances in Neural Information Processing Systems},
  year={2026},
  url={https://openreview.net/forum?id=ZFDg4T5AAg}
}

💡 Acknowledgements

We thank the authors of Wan2.1 for their open-source implementation.

Our code is released under the Apache 2.0 License. The upstream Wan license is retained in Wan2.1/LICENSE.txt.

About

code for TACache

Resources

Stars

5 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages