← all repositories
Tencent-Hunyuan/HunyuanDiT

A diffusion transformer that actually reads Chinese

A latent diffusion transformer built from scratch to parse fine-grained Chinese and English prompts, and to refine images through multi-turn dialogue.

4.3k stars Jupyter Notebook Image · Video · AudioInference · Serving
HunyuanDiT
Not currently ranked — collecting fresh signals.
star history

What it does Hunyuan-DiT generates images from text using a latent diffusion transformer with a custom text encoder and positional encoding. The repository includes pretrained weights, inference code, and a growing toolkit of adapters—ControlNet, IP-Adapter, and LoRA—plus distilled and TensorRT variants that the authors claim accelerate inference by 50% and 47% on NVIDIA GPUs. It also bundles Hunyuan-Captioner and DialogGen, companion multimodal models that rewrite raw captions into detailed descriptions to keep the main model on track.

The interesting bit Instead of bolting a Chinese tokenizer onto an English-first model, Tencent designed the architecture for bilingual understanding from scratch and built an entire data pipeline to feed it. A neat side effect is multi-turn generation: you can hold a conversation with the model to tweak an image, rather than endlessly retyping prompts.

Key highlights

  • Bilingual text encoder aimed at fine-grained understanding of both English and Chinese prompts
  • Multi-turn text-to-image dialogue: refine or restyle images conversationally instead of rewriting prompts from scratch
  • Distilled and TensorRT variants that the authors claim accelerate inference by 50% and 47% on NVIDIA GPUs, plus a 6GB VRAM inference mode
  • Full training infrastructure released: full-parameter training, LoRA, ControlNet (pose, canny, depth), and IP-Adapter support
  • Integrations with ComfyUI, Diffusers, and Kohya; Docker environments provided for CUDA 11/12

Caveats

  • The promised 0.7B Hunyuan-DiT-S checkpoints and an official WebUI are still on the open-source roadmap, not yet released
  • The “state-of-the-art” claim for Chinese-to-image generation rests on the authors’ own human-evaluation protocol with 50+ professional evaluators, not independent benchmarks
  • Some third-party tooling, such as the Kohya GUI, is community-maintained or marked under official review

Verdict Give it a spin if you need open-source image generation that handles Chinese nuance and long prompts without creative translation errors. Look elsewhere if you are waiting for a lightweight small-variant release or a first-party WebUI.

Frequently asked

What is Tencent-Hunyuan/HunyuanDiT?
A latent diffusion transformer built from scratch to parse fine-grained Chinese and English prompts, and to refine images through multi-turn dialogue.
Is HunyuanDiT open source?
Yes — Tencent-Hunyuan/HunyuanDiT is an open-source project tracked on heatdrop.
What language is HunyuanDiT written in?
Tencent-Hunyuan/HunyuanDiT is primarily written in Jupyter Notebook.
How popular is HunyuanDiT?
Tencent-Hunyuan/HunyuanDiT has 4.3k stars on GitHub.
Where can I find HunyuanDiT?
Tencent-Hunyuan/HunyuanDiT is on GitHub at https://github.com/Tencent-Hunyuan/HunyuanDiT.

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.