Top AI Repos — open-source AI, indexed and scored
Top AI Repos tracks AI repositories on GitHub and answers two different questions about each one: is it moving right now, and would you bet a product on it.
Top AI Repos tracks AI repositories on GitHub and answers two different questions about each one: is it moving right now, and would you bet a product on it.
[ECCV 2024] HiDiffusion: Increases the resolution and speed of your diffusion model by only adding a single line of code!
| Date | Stars |
|---|---|
| 2026-07-31 | 840 |
| 2026-08-03 | 840 |
| 2026-08-27 | 841 |
| 2026-09-04 | 840 |
| 2026-09-20 | 840 |
Today
— stars today
This week
— stars this week
This month
— stars this month
Momentum
0.0
growth rate 0.00%/day
<!-- # 💡 HiDiffusion -->
<div align="center">
<img src="assets/hidiffusion_logo.jpg" height=120>
</div>
### <div align="center">💡 HiDiffusion: Unlocking Higher-Resolution Creativity and Efficiency in Pretrained Diffusion Models</div>
<div align="center"><a href="https://scholar.google.com/citations?hl=zh-CN&user=QFowS4cAAAAJ">Shen Zhang</a>, Zhaowei Chen, Zhenyu Zhao, Yuhao Chen, Yao Tang, <a href="https://jiajunvision.github.io/">Jiajun Liang</a></div>
<br>
<div align="center">
<a href="https://hidiffusion.github.io/"><img src="https://img.shields.io/static/v1?label=Project%20Page&message=Github&color=blue&logo=github-pages"></a>  
<a href="https://link.springer.com/chapter/10.1007/978-3-031-72983-6_9"><img src="https://img.shields.io/static/v1?label=Paper&message=ECCV&color=yellow"></a>  
<a href="https://arxiv.org/abs/2311.17528"><img src="https://img.shields.io/static/v1?label=Paper&message=Arxiv&color=red&logo=arxiv"></a>  
<a href="https://colab.research.google.com/drive/1EiBn9lSnPZTU4cikRRaBBexs429M-qty?usp=sharing"><img src="https://img.shields.io/static/v1?label=Demo&message=Colab&color=purple&logo=googlecolab"></a>  
<a href="https://openbayes.com/console/public/tutorials/SaPYcYCaWSA"><img src="https://img.shields.io/static/v1?label=Demo&message=OpenBayes&color=green"></a>  
</div>
<div align="center">
<img src="assets/image_gallery.jpg" width="800" ></img>
<br>
<em>
(Select HiDiffusion samples for various diffusion models, resolutions, and aspect ratios.)
</em>
</div>
<br>
## 👉 Why HiDiffusion
- A **training-free method that increases the resolution and speed of pretrained diffusion models.**
- Designed as a **plug-and-play implementation**. It can be integrated into diffusion pipelines by **only adding a single line of code**!
- Supports various tasks, including **text-to-image, image-to-image, inpainting**.
<div align="center">
<img src="assets/quality_efficiency.jpg" width="800" ></img>
<br>
<em>
(Faster, and better image details.)
</em>
</div>
<br>
<div align="center">
<img src="assets/various_task.jpg" width="800" ></img>
<br>
<em>
(2K results of ControlNet and inpainting tasks.)
</em>
</div>
<br>
## 🔥 Update
- 2024.8.15 - 💥 [Diffusers](https://github.com/huggingface/diffusers) documentation has added HiDiffusion, see [here](https://huggingface.co/docs/diffusers/community_projects). Thank Diffusers team!
- 2024.7.3 - 💥 Accepted by ECCV 2024!
- 2024.6.19 - 💥 Integrated into [OpenBayes](https://openbayes.com/), see the [demo](https://openbayes.com/console/public/tutorials/SaPYcYCaWSA). Thank OpenBayes team!
- 2024.6.16 - 💥 Support PyTorch 2.X.
- 2024.6.16 - 💥 Fix non-square generation issue. Now HiDiffusion supports more image sizes and aspect ratios.
- 2024.5.7 - 💥 Support image-to-image task, see [here](#image-to-image-generation).
- 2024.4.16 - 💥 Release source code.
## 📢 Supported Models
- ✅ [Stable Diffusion XL](https://huggingface.co/papers/2307.01952)
- ✅ [Stable Diffusion XL Turbo](https://huggingface.co/stabilityai/sdxl-turbo)
- ✅ [Stable Diffusion v2](https://huggingface.co/stabilityai/stable-diffusion-2-1)
- ✅ [Stable Diffusion v1](https://huggingface.co/runwayml/stable-diffusion-v1-5)
**Note**: HiDiffusion also supports the downstream diffusion models based on these repositories, such as [Ghibli-Diffusion](https://huggingface.co/nitrosocke/Ghibli-Diffusion), [Playground](https://huggingface.co/playgroundai/playground-v2-1024px-aesthetic), etc.
## 💣 Supported Tasks
- ✅ Text-to-image
- ✅ ControlNet, including text-to-image, image-to-image
- ✅ Inpainting
## 🔎 Main Requirements
This repository is tested on
* Python==3.8
* torch>=1.13.1
* diffusers>=0.25.0
* transformers
* accelerate
* xformers
## 🔑 Install HiDiffusion
After installing the packages in the [main requirements](#-main-requirements), install HiDiffusion:
```shell
pip3 install hidiffusion
```
### Installing from souExcerpt of 18,424 characters
Read on GitHub19
1
1
Would you bet a product on this? Bounded 0–100 and slow moving.
matched fp:3ae399a8075450ae, desc:diffusion model