Update README.md
Browse files
README.md
CHANGED
|
@@ -1,3 +1,65 @@
|
|
| 1 |
-
---
|
| 2 |
-
license: apache-2.0
|
| 3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: apache-2.0
|
| 3 |
+
language:
|
| 4 |
+
- en
|
| 5 |
+
- zh
|
| 6 |
+
pipeline_tag: text-to-image
|
| 7 |
+
library_name: diffusers
|
| 8 |
+
tags:
|
| 9 |
+
- diffusers
|
| 10 |
+
- comfyui
|
| 11 |
+
- quantization
|
| 12 |
+
- quant
|
| 13 |
+
- fp8
|
| 14 |
+
---
|
| 15 |
+
|
| 16 |
+
<h1> This is a quantization of Tongyi-MAI/Z-Image-Turbo to FP8_E5M2 and FP8_E4M3FN </h1>
|
| 17 |
+
|
| 18 |
+
| Precision | Image 1 | Image 2 |
|
| 19 |
+
|-----------|---------|---------|
|
| 20 |
+
| bf16 | <img src="https://cdn-uploads.huggingface.co/production/uploads/63473b59e5c0717e6737b872/urBHqJrWreaZ0cXc4dvUN.png" width="50%"> | <img src="https://cdn-uploads.huggingface.co/production/uploads/63473b59e5c0717e6737b872/3TXwtKh7SIkOUI8ZmkQJa.png" width="50%"> |
|
| 21 |
+
| fp8_e4m3fn | <img src="https://cdn-uploads.huggingface.co/production/uploads/63473b59e5c0717e6737b872/h-uoIK9GqHwYzCwaFjais.png" width="50%"> | <img src="https://cdn-uploads.huggingface.co/production/uploads/63473b59e5c0717e6737b872/tIr-8lkIcASLL7owsMKxn.png" width="50%"> |
|
| 22 |
+
|
| 23 |
+
|
| 24 |
+
<h1 align="center">⚡️- Image<br><sub><sup>An Efficient Image Generation Foundation Model with Single-Stream Diffusion Transformer</sup></sub></h1>
|
| 25 |
+
|
| 26 |
+
<div align="center">
|
| 27 |
+
|
| 28 |
+
[](https://tongyi-mai.github.io/Z-Image-homepage/) 
|
| 29 |
+
[](https://github.com/Tongyi-MAI/Z-Image) 
|
| 30 |
+
[](https://huggingface.co/Tongyi-MAI/Z-Image-Turbo) 
|
| 31 |
+
[](https://huggingface.co/spaces/Tongyi-MAI/Z-Image-Turbo) 
|
| 32 |
+
[](https://www.modelscope.cn/models/Tongyi-MAI/Z-Image-Turbo) 
|
| 33 |
+
[](https://www.modelscope.cn/aigc/imageGeneration?tab=advanced&versionId=469191&modelType=Checkpoint&sdVersion=Z_IMAGE_TURBO&modelUrl=modelscope%253A%252F%252FTongyi-MAI%252FZ-Image-Turbo%253Frevision%253Dmaster%7D%7BOnline) 
|
| 34 |
+
[](assets/Z-Image-Gallery.pdf) 
|
| 35 |
+
[](https://modelscope.cn/studios/Tongyi-MAI/Z-Image-Gallery/summary) 
|
| 36 |
+
<a href="http://github.com/Tongyi-MAI/Z-Image/blob/main/Z_Image_Report.pdf" target="_blank"><img src="https://img.shields.io/badge/Report-b5212f.svg?logo=arxiv" height="21px"></a>
|
| 37 |
+
|
| 38 |
+
|
| 39 |
+
Welcome to the official repository for the Z-Image(造相)project!
|
| 40 |
+
|
| 41 |
+
</div>
|
| 42 |
+
|
| 43 |
+
|
| 44 |
+
|
| 45 |
+
## ✨ Z-Image
|
| 46 |
+
|
| 47 |
+
Z-Image is a powerful and highly efficient image generation model with **6B** parameters. It is currently has three variants:
|
| 48 |
+
|
| 49 |
+
- 🚀 **Z-Image-Turbo** – A distilled version of Z-Image that matches or exceeds leading competitors with only **8 NFEs** (Number of Function Evaluations). It offers **⚡️sub-second inference latency⚡️** on enterprise-grade H800 GPUs and fits comfortably within **16G VRAM consumer devices**. It excels in photorealistic image generation, bilingual text rendering (English & Chinese), and robust instruction adherence.
|
| 50 |
+
|
| 51 |
+
- 🧱 **Z-Image-Base** – The non-distilled foundation model. By releasing this checkpoint, we aim to unlock the full potential for community-driven fine-tuning and custom development.
|
| 52 |
+
|
| 53 |
+
- ✍️ **Z-Image-Edit** – A variant fine-tuned on Z-Image specifically for image editing tasks. It supports creative image-to-image generation with impressive instruction-following capabilities, allowing for precise edits based on natural language prompts.
|
| 54 |
+
|
| 55 |
+
### 📥 Model Zoo
|
| 56 |
+
|
| 57 |
+
| Model | Hugging Face | ModelScope |
|
| 58 |
+
| :--- |:--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|:----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
| 59 |
+
| **Z-Image-Turbo** | [](https://huggingface.co/Tongyi-MAI/Z-Image-Turbo) <br> [](https://huggingface.co/spaces/Tongyi-MAI/Z-Image-Turbo) | [](https://www.modelscope.cn/models/Tongyi-MAI/Z-Image-Turbo) <br> [](https://www.modelscope.cn/aigc/imageGeneration?tab=advanced&versionId=469191&modelType=Checkpoint&sdVersion=Z_IMAGE_TURBO&modelUrl=modelscope%3A%2F%2FTongyi-MAI%2FZ-Image-Turbo%3Frevision%3Dmaster) |
|
| 60 |
+
| **Z-Image-Base** | *To be released* | *To be released* |
|
| 61 |
+
| **Z-Image-Edit** | *To be released* | *To be released* |
|
| 62 |
+
|
| 63 |
+
|
| 64 |
+
|
| 65 |
+
|