Update README.md
Browse files
README.md
CHANGED
|
@@ -13,18 +13,15 @@ tags:
|
|
| 13 |
pipeline_tag: text-to-image
|
| 14 |
extra_gated_eu_disallowed: true
|
| 15 |
---
|
| 16 |
-
|
| 17 |
-
<p align="center">
|
| 18 |
<img src="https://cdn-uploads.huggingface.co/production/uploads/63473b59e5c0717e6737b872/5DZez8C7TeFwRn3FcKDix.png" alt="HunyuanImage-2.1 Banner" />
|
| 19 |
-
</
|
|
|
|
|
|
|
| 20 |
|
| 21 |
-
<div align="center">
|
| 22 |
|
| 23 |
-
# **HunyuanImage-2.1**
|
| 24 |
-
### An Efficient Diffusion Model for High-Resolution (2K) Text-to-Image Generation
|
| 25 |
|
| 26 |
</div>
|
| 27 |
-
|
| 28 |
<div align="center">
|
| 29 |
<a href="https://github.com/Tencent-Hunyuan/HunyuanImage-2.1" target="_blank"><img src="https://img.shields.io/badge/Code-black.svg?logo=github" height="22px"></a>
|
| 30 |
<a href="https://huggingface.co/spaces/tencent/HunyuanImage-2.1" target="_blank">
|
|
@@ -41,33 +38,27 @@ extra_gated_eu_disallowed: true
|
|
| 41 |
> When using **HunyuanImage-2.1** with the **quantized encoder** + **quantized base model**,
|
| 42 |
> the VRAM usage on an **NVIDIA RTX 5090** typically ranges between **26 GB and 30 GB** with average
|
| 43 |
> 16 second inference time depending on resolution, batch size, and prompt complexity.
|
|
|
|
| 44 |
|
| 45 |
β **Important Note:**
|
| 46 |
-
The **refiner**
|
| 47 |
-
|
| 48 |
|
| 49 |
---
|
| 50 |
|
| 51 |
<p align="center">
|
| 52 |
<img src="https://cdn-uploads.huggingface.co/production/uploads/63473b59e5c0717e6737b872/auZ_xmiKPw0QdBYUrTLn-.png" alt="Image1"/>
|
| 53 |
</p>
|
| 54 |
-
|
| 55 |
<p align="center">
|
| 56 |
<img src="https://cdn-uploads.huggingface.co/production/uploads/63473b59e5c0717e6737b872/qod1zCPWjzOZSNcOWx49-.png" alt="Image2"/>
|
| 57 |
</p>
|
| 58 |
|
| 59 |
-
|
| 60 |

|
| 61 |
-
|
| 62 |

|
| 63 |
-
|
| 64 |
---
|
| 65 |
-
|
| 66 |
## **Download Quantized Model (FP8 e4m3fn)**
|
| 67 |
[**Download hunyuanimage2.1_fp8_e4m3fn.safetensors**](https://huggingface.co/drbaph/HunyuanImage-2.1_fp8/blob/main/hunyuanimage2.1_fp8_e4m3fn.safetensors)
|
| 68 |
-
|
| 69 |
---
|
| 70 |
-
|
| 71 |
### **Workflow Notes**
|
| 72 |
- **Model:** HunyuanImage-2.1
|
| 73 |
- **Mode:** Quantized Encoder + Quantized Base Model
|
|
@@ -75,11 +66,10 @@ Currently, **only the base model** is supported.
|
|
| 75 |
- **Resolution Tested:** 2K (2048Γ2048)
|
| 76 |
- **Frameworks:** ComfyUI & Diffusers
|
| 77 |
- **Optimisations** Works with Patch Sage Attention + Lazycache / TeaCache β
|
| 78 |
-
- **
|
|
|
|
| 79 |
- **License:** [tencent-hunyuan-community](https://github.com/Tencent-Hunyuan/HunyuanImage-2.1/blob/master/LICENSE)
|
| 80 |
-
|
| 81 |
---
|
| 82 |
-
|
| 83 |
<p align="center">
|
| 84 |
π **Optimized for High-Resolution, Memory-Efficient Text-to-Image Generation**
|
| 85 |
-
</p>
|
|
|
|
| 13 |
pipeline_tag: text-to-image
|
| 14 |
extra_gated_eu_disallowed: true
|
| 15 |
---
|
| 16 |
+
<div align="center">
|
|
|
|
| 17 |
<img src="https://cdn-uploads.huggingface.co/production/uploads/63473b59e5c0717e6737b872/5DZez8C7TeFwRn3FcKDix.png" alt="HunyuanImage-2.1 Banner" />
|
| 18 |
+
<h1> HunyuanImage-2.1 fp8 e4m3fn </h1>
|
| 19 |
+
<h2>An Efficient Diffusion Model for High-Resolution (2K) Text-to-Image Generation</h2>
|
| 20 |
+
</div>
|
| 21 |
|
|
|
|
| 22 |
|
|
|
|
|
|
|
| 23 |
|
| 24 |
</div>
|
|
|
|
| 25 |
<div align="center">
|
| 26 |
<a href="https://github.com/Tencent-Hunyuan/HunyuanImage-2.1" target="_blank"><img src="https://img.shields.io/badge/Code-black.svg?logo=github" height="22px"></a>
|
| 27 |
<a href="https://huggingface.co/spaces/tencent/HunyuanImage-2.1" target="_blank">
|
|
|
|
| 38 |
> When using **HunyuanImage-2.1** with the **quantized encoder** + **quantized base model**,
|
| 39 |
> the VRAM usage on an **NVIDIA RTX 5090** typically ranges between **26 GB and 30 GB** with average
|
| 40 |
> 16 second inference time depending on resolution, batch size, and prompt complexity.
|
| 41 |
+
> **Reports that it works on 16gb VRAM GPU's**
|
| 42 |
|
| 43 |
β **Important Note:**
|
| 44 |
+
The **refiner** is still not implemented and is **not ready for use in ComfyUI**.
|
| 45 |
+
However, the **distilled model now works in ComfyUI** with recommended settings of **8 steps / 1.5-2.5 CFG**.
|
| 46 |
|
| 47 |
---
|
| 48 |
|
| 49 |
<p align="center">
|
| 50 |
<img src="https://cdn-uploads.huggingface.co/production/uploads/63473b59e5c0717e6737b872/auZ_xmiKPw0QdBYUrTLn-.png" alt="Image1"/>
|
| 51 |
</p>
|
|
|
|
| 52 |
<p align="center">
|
| 53 |
<img src="https://cdn-uploads.huggingface.co/production/uploads/63473b59e5c0717e6737b872/qod1zCPWjzOZSNcOWx49-.png" alt="Image2"/>
|
| 54 |
</p>
|
| 55 |
|
|
|
|
| 56 |

|
|
|
|
| 57 |

|
|
|
|
| 58 |
---
|
|
|
|
| 59 |
## **Download Quantized Model (FP8 e4m3fn)**
|
| 60 |
[**Download hunyuanimage2.1_fp8_e4m3fn.safetensors**](https://huggingface.co/drbaph/HunyuanImage-2.1_fp8/blob/main/hunyuanimage2.1_fp8_e4m3fn.safetensors)
|
|
|
|
| 61 |
---
|
|
|
|
| 62 |
### **Workflow Notes**
|
| 63 |
- **Model:** HunyuanImage-2.1
|
| 64 |
- **Mode:** Quantized Encoder + Quantized Base Model
|
|
|
|
| 66 |
- **Resolution Tested:** 2K (2048Γ2048)
|
| 67 |
- **Frameworks:** ComfyUI & Diffusers
|
| 68 |
- **Optimisations** Works with Patch Sage Attention + Lazycache / TeaCache β
|
| 69 |
+
- **Distilled Model:** β
Now works in ComfyUI with **8 steps / 1.5-2.5 CFG**
|
| 70 |
+
- **Refiner:** β Still not implemented, **not available in ComfyUI**
|
| 71 |
- **License:** [tencent-hunyuan-community](https://github.com/Tencent-Hunyuan/HunyuanImage-2.1/blob/master/LICENSE)
|
|
|
|
| 72 |
---
|
|
|
|
| 73 |
<p align="center">
|
| 74 |
π **Optimized for High-Resolution, Memory-Efficient Text-to-Image Generation**
|
| 75 |
+
</p>
|