Instructions to use drbaph/Z-Image-fp8 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use drbaph/Z-Image-fp8 with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("drbaph/Z-Image-fp8", dtype=torch.bfloat16, device_map="cuda") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps
- Draw Things
- DiffusionBee
Update README.md
Browse files
README.md
CHANGED
|
@@ -22,6 +22,18 @@ This is the **fp8_e4m3fn** and **fp8_e5m2** quantized version of the Z-Image mod
|
|
| 22 |
- `fp8_e5m2-scaled`
|
| 23 |
- `fp8_e5m2`
|
| 24 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 25 |
**Benefits:**
|
| 26 |
- Reduced memory footprint (~50% VRAM savings)
|
| 27 |
- Faster inference times
|
|
|
|
| 22 |
- `fp8_e5m2-scaled`
|
| 23 |
- `fp8_e5m2`
|
| 24 |
|
| 25 |
+
## 📸 Example Outputs
|
| 26 |
+
|
| 27 |
+
<div align="center">
|
| 28 |
+
|
| 29 |
+

|
| 30 |
+
*BF16 / fp8-e4m3fn* ```An Asian woman is seated in a commanding, symmetrical pose on a stark, matte white architectural block, viewed from a distinct low angle looking upward, which elongates her silhouette against the background. She is attired in a structured, high-fashion suit constructed from heavy, lustrous silk brocade in a rich emerald green, embossed with a complex, swirling floral texture that catches the studio illumination. The jacket features sharp, exaggerated shoulder pads and wide lapels, tapering slightly at the waist, while the matching trousers are cut with an extremely wide leg, draping in thick, vertical folds that obscure the shape of her lower limbs. Her legs are positioned wide apart, knees angled outward well beyond the width of her shoulders, creating a distinct triangular negative space between her inner thighs. Her hands rest deliberately on the front upper edge of the white cube, located centrally between her legs, with palms flat against the surface and long, slender fingers draping slightly over the rim. Her head is tilted slightly downward to maintain direct eye contact with the low-positioned camera, her expression stoic and poised, featuring subtle contouring makeup and a satin-finish berry lipstick. Her straight black hair is parted precisely in the center and slicked back tightly, falling in a clean line down her back. The lighting is crisp and directional, casting a defined shadow behind her on the seamless, pale grey background while accentuating the weave of the fabric and the sharp, geometric corners of the seating block.``` seed: ```539314584494176``` Steps: 30 CFG: 4 Euler
|
| 31 |
+
|
| 32 |
+

|
| 33 |
+
*BF16 / fp8-e4m3fn-scaled* ```An Asian woman is seated in a commanding, symmetrical pose on a stark, matte white architectural block, viewed from a distinct low angle looking upward, which elongates her silhouette against the background. She is attired in a structured, high-fashion suit constructed from heavy, lustrous silk brocade in a rich emerald green, embossed with a complex, swirling floral texture that catches the studio illumination. The jacket features sharp, exaggerated shoulder pads and wide lapels, tapering slightly at the waist, while the matching trousers are cut with an extremely wide leg, draping in thick, vertical folds that obscure the shape of her lower limbs. Her legs are positioned wide apart, knees angled outward well beyond the width of her shoulders, creating a distinct triangular negative space between her inner thighs. Her hands rest deliberately on the front upper edge of the white cube, located centrally between her legs, with palms flat against the surface and long, slender fingers draping slightly over the rim. Her head is tilted slightly downward to maintain direct eye contact with the low-positioned camera, her expression stoic and poised, featuring subtle contouring makeup and a satin-finish berry lipstick. Her straight black hair is parted precisely in the center and slicked back tightly, falling in a clean line down her back. The lighting is crisp and directional, casting a defined shadow behind her on the seamless, pale grey background while accentuating the weave of the fabric and the sharp, geometric corners of the seating block.``` seed: ```539314584494176``` Steps: 30 CFG: 4 Euler
|
| 34 |
+
|
| 35 |
+
</div>
|
| 36 |
+
|
| 37 |
**Benefits:**
|
| 38 |
- Reduced memory footprint (~50% VRAM savings)
|
| 39 |
- Faster inference times
|