FastFit is a diffusion-based framework optimized for high-speed, multi-reference virtual try-on. It enables simultaneous try-on of multiple fashion items—such as tops, bottoms, dresses, shoes, and bags—on a single person. The framework leverages reference KV caching during inference to significantly accelerate generation.
Updates
2025/08/29: 📄 We release the arXiv paper of FastFit!
2025/08/04: 🚀 Our gradio demo is online with Chinese & English support! The code of the demo is also released in app.py.
2025/07/03: 🎉 We release the weights of FastFit-MR and FastFit-SR model on Hugging Face!
2025/06/24: 👕 We release DressCode-MR dataset with 28K+ Multi-reference virtual try-on Samples on Hugging Face!
DressCode-MR Dataset
DressCode-MR Dataset
DressCode-MR is constructed based on the DressCode dataset with 28K+ Multi-reference virtual try-on Samples.
Multi-reference Samples: Each sample comprises a person's image paired with a set of compatible clothing and accessory items: tops, bottoms, dresses, shoes, and bags.
Large Scale: Contains a total of 28,179 high-quality multi-reference samples with 25,779 for training and 2,400 for testing.
DressCode-MR is released under the exact same license as the original DressCode dataset. Therefore, before requesting access to DressCode-MR dataset, you must complete the following steps:
Apply and be granted a license to use the DressCode dataset.
Use your educational/academic email address (e.g., one ending in .edu, .ac, etc.) to request access to DressCode-MR on Hugging Face. (Any requests from non-academic email addresses will be rejected.)
Installation
powershell
1conda create -n fastfit python=3.10
2conda activate fastfit
3pip install -r requirements.txt
4pip install easy-dwpose --no-dependencies # to resolve the version conflict56# if error occurs for av, try:7conda install -c conda-forge av
ComfyUI Workflow
ComfyUI Workflow
Clone the FastFit repository into your ComfyUI/custom_nodes/ directory.
1cd FastFit
2pip install -r requirements.txt
3pip install easy-dwpose --no-dependencies # to resolve the version conflict45# if error occurs for av, try:6conda install -c conda-forge av
--gt_folder: The directory path containing the ground truth images.
--pred_folder: The directory path containing the generated (predicted) images from the inference step.
--paired: Include this flag to evaluate results from the paired setting. Omit this flag for the unpaired setting.
Citation
bibtex
1@misc{chong2025fastfitacceleratingmultireferencevirtual,
2 title={FastFit: Accelerating Multi-Reference Virtual Try-On via Cacheable Diffusion Models},
3 author={Zheng Chong and Yanwei Lei and Shiyue Zhang and Zhuandi He and Zhen Wang and Xujie Zhang and Xiao Dong and Yiling Wu and Dongmei Jiang and Xiaodan Liang},
4 year={2025},
5 eprint={2508.20586},
6 archivePrefix={arXiv},
7 primaryClass={cs.CV},
8 url={https://arxiv.org/abs/2508.20586},
9}
All weights, parameters, and code related to FastFit are governed by the FastFit Non-Commercial License. For commercial collaboration, please contact LavieAI.