ATH-MaaS / TeEFusion

huggingface.co
Total runs: 20
24-hour runs: 1
7-day runs: 2
30-day runs: 12
Model's Last Updated: July 30 2025
text-to-image

Introduction of TeEFusion

Model Details of TeEFusion

TeEFusion: Blending Text Embeddings to Distill Classifier-Free Guidance (ICCV 2025)

📝 Paper • 💻 Github

TeEFusion is a simple yet powerful distillation method that fuses classifier-free guidance directly into text embeddings, enabling student models to mimic complex teacher sampling strategies with a single forward pass—achieving up to 6× faster inference without sacrificing image quality .

The overview of TeEFusion
The overview of TeEFusion

🚀 Key Features
  • Embed-Level Guidance Fusion .
    Incorporates guidance magnitude w by linearly combining conditional and null prompt embeddings, eliminating the need for two forward passes .

  • Test-Time Sampling Agnostic .
    Distills from complex teacher sampling strategy (Euler + CFG, Z-Sampling + CFG, W2SD + CFG) into a simple student that uses standard Euler sampling .

  • Parameter-Free .
    No extra network modules beyond the pretrained model’s encoder and decoder.


📦 Installation
git clone https://github.com/AIDC-AI/TeEFusion.git
cd TeEFusion
pip install -r requirements.txt

🛠️ Quick Start
import torch
from pipelines.sd3_teefusion_pipeline import TeEFusionSD3Pipeline

pipe = TeEFusionSD3Pipeline.from_pretrained(
  "AIDC-AI/TeEFusion",
  torch_dtype=torch.bfloat16,
  trust_remote_code=True
)
pipe.to("cuda")


images = pipe(
  prompt=["A serene mountain lake at sunset"],
  num_inference_steps=50,
  guidance_scale=5,
  seed=0
)

for i, img in enumerate(images):
  img.save(f"output_{i}.png")

📚 Citation

If you find TeEFusion helpful, please cite our ICCV 2025 paper:

@inproceedings{fu2025teefusion,
  title={{TeEFusion}: Blending Text Embeddings to Distill Classifier-Free Guidance},
  author={Fu, Minghao and Wang, Guo-Hua and Chen, Xiaohao and Chen, Qing-Guo and Xu, Zhao and Luo, Weihua and Zhang, Kaifu},
  booktitle={the IEEE/CVF International Conference on Computer Vision (ICCV)},
  year={2025}
}
🙏 Acknowledgments

The code is built upon Diffusers and Transformers .

📄 License

This project is licensed under the Attribution-NonCommercial 4.0 International License (SPDX-License-Identifier: CC-BY-NC-4.0).

🚨 Disclaimer

We used compliance checking algorithms during the training process, to ensure the compliance of the trained model to the best of our ability. Due to complex data and the diversity of language model usage scenarios, we cannot guarantee that the model is completely free of copyright issues or improper content. If you believe anything infringes on your rights or generates improper content, please contact us, and we will promptly address the matter.

Runs of ATH-MaaS TeEFusion on huggingface.co

20
Total runs
1
24-hour runs
1
3-day runs
2
7-day runs
12
30-day runs

More Information About TeEFusion huggingface.co Model

More TeEFusion license Visit here:

https://choosealicense.com/licenses/cc-by-nc-4.0

TeEFusion huggingface.co

TeEFusion huggingface.co is an AI model on huggingface.co that provides TeEFusion's model effect (), which can be used instantly with this ATH-MaaS TeEFusion model. huggingface.co supports a free trial of the TeEFusion model, and also provides paid use of the TeEFusion. Support call TeEFusion model through api, including Node.js, Python, http.

ATH-MaaS TeEFusion online free

TeEFusion huggingface.co is an online trial and call api platform, which integrates TeEFusion's modeling effects, including api services, and provides a free online trial of TeEFusion, you can try TeEFusion online for free by clicking the link below.

ATH-MaaS TeEFusion online free url in huggingface.co:

https://huggingface.co/ATH-MaaS/TeEFusion

TeEFusion install

TeEFusion is an open source model from GitHub that offers a free installation service, and any user can find TeEFusion on GitHub to install. At the same time, huggingface.co provides the effect of TeEFusion install, users can directly use TeEFusion installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

TeEFusion install url in huggingface.co:

https://huggingface.co/ATH-MaaS/TeEFusion

Url of TeEFusion

TeEFusion huggingface.co Url

Provider of TeEFusion huggingface.co

ATH-MaaS
ORGANIZATIONS

Other API from ATH-MaaS

huggingface.co

Total runs: 198.6K
Run Growth: 50.8K
Growth Rate: 25.58%
Updated:August 28 2026
huggingface.co

Total runs: 13.6K
Run Growth: -40.3K
Growth Rate: -299.84%
Updated:August 15 2025
huggingface.co

Total runs: 8.8K
Run Growth: -4.4K
Growth Rate: -49.85%
Updated:August 15 2025
huggingface.co

Total runs: 4.4K
Run Growth: -4.7K
Growth Rate: -100.34%
Updated:February 13 2026
huggingface.co

Total runs: 3.9K
Run Growth: -642
Growth Rate: -16.62%
Updated:February 13 2026
huggingface.co

Total runs: 3.3K
Run Growth: 2.6K
Growth Rate: 78.15%
Updated:August 15 2025
huggingface.co

Total runs: 981
Run Growth: 373
Growth Rate: 38.26%
Updated:July 03 2025
huggingface.co

Total runs: 659
Run Growth: 16
Growth Rate: 2.44%
Updated:November 23 2024
huggingface.co

Total runs: 448
Run Growth: -425
Growth Rate: -95.72%
Updated:August 15 2025
huggingface.co

Total runs: 407
Run Growth: 317
Growth Rate: 78.86%
Updated:August 15 2025
huggingface.co

Total runs: 247
Run Growth: 99
Growth Rate: 40.24%
Updated:August 15 2025
huggingface.co

Total runs: 182
Run Growth: -338
Growth Rate: -184.70%
Updated:June 09 2026
huggingface.co

Total runs: 25
Run Growth: -6
Growth Rate: -26.09%
Updated:November 21 2024
huggingface.co

Total runs: 22
Run Growth: -2
Growth Rate: -9.09%
Updated:November 21 2024
huggingface.co

Total runs: 16
Run Growth: 2
Growth Rate: 13.33%
Updated:May 29 2025
huggingface.co

Total runs: 7
Run Growth: 2
Growth Rate: 28.57%
Updated:November 14 2024
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:December 19 2025