Views
No views yet
1git clone https://github.com/ZanChat/fast-bagel.git
2cd fast-bagel
3# Install dependencies, e.g., pip install -r requirements.txthuggingface_hub installed.inference_ds.py script to perform text-guided image editing.1CUDA_VISIBLE_DEVICES=0 python inference_ds.py \
2 --model_dir zanchat-ai/fast-bagel \
3 --num_timesteps=50 \
4 --time_shift=4--model_dir: The Hugging Face repository ID (zanchat-ai/fast-bagel).--num_timesteps: Number of inference steps. 50 steps are recommended for high-quality results (vs. 100 for the original BAGEL). Use fewer steps (e.g., 20-30) for faster previews.--time_shift: A parameter for the solver schedule. 4 is a good default.| Edit Type | Speed-Up Factor | Inference Time vs. BAGEL/Flux |
|---|---|---|
| Lightweight Editing | 3x–5x | ~40% |
| Universal Editing | 2x | ~50% |
| Metric | Improvement vs. BAGEL |
|---|---|
| Local Detail Score | +1.60% |
| Overall Edit Score | +0.53% |

1@article{liu2025-fast-bagel,
2 title = {LGCC: Enhancing Flow Matching Based Text-Guided Image Editing with Local Gaussian Coupling and Context Consistency},
3 author = {Fangbing Liu and Pengfei Duan and Wen Li and Yi He},
4 journal = {arXiv preprint arXiv:2511.01894},
5 year = {2025}
6}1@article{deng2025bagel,
2 title = {Emerging Properties in Unified Multimodal Pretraining},
3 author = {Deng, Chaorui and Zhu, Deyao and Li, Kunchang and Gou, Chenhui and Li, Feng and Wang, Zeyu and Zhong, Shu and Yu, Weihao and Nie, Xiaonan and Song, Ziang and Shi, Guang and Fan, Haoqi},
4 journal = {arXiv preprint arXiv:2505.14683},
5 year = {2025}
6}