alt.freeweights.image / Z-Image-Turbo-FP8
From: unsloth <huggingface.co/unsloth>Newsgroups: alt.freeweights.imageSubject:

Z-Image-Turbo-FP8

Date: 2026-11-15Commit: a8c25b2Signed: 2DC28CC7B26A283B ✓

Text to image model. Safetensors weights, 41.1 GB in all. Published by unsloth under Apache-2.0.

image41.1GBZ-Image-Turbo-FP8safetensorspermissive
FactsParamsnot statedSize41.1 GBFormatssafetensorsTasktext to imageLicenseApache-2.0From sourcepermissive
$ fw get unsloth/Z-Image-Turbo-FP8
# manifest sha256 5a74c39b4be8… · 41.1 GB · 15 files
$ fw verify ./Z-Image-Turbo-FP8 unsloth/Z-Image-Turbo-FP8
From sourceHosted (signed)unsloth/Z-Image-Turbo-FP8Last check: 2026-11-15 02:28 UTC

Get help: custom fine-tune or private deploy. We review your setup before we quote.

Fine-tune of Z-Image-Turbo.

Works with

Overview

Size
41.1 GB
Weights
24.1 GB (safetensors)
Parameters
not stated
Formats
safetensors
Task
text to image
License
Apache-2.0 (permissive)
Files
15, each with a sha256
Publisher
unsloth
Added
2026-11-15
Section
alt.freeweights.image
Lineage

Original release from the publisher.

Base model: Tongyi-MAI/Z-Image-Turbo

Where these bytes come from
Publisher at the pinned commit→You

Sources are tried in order. A file counts only when its size and sha256 match the manifest. Sources are checked when you ask for them, not on a timer.

Sources
BadgeHostLast checkResult
From sourcehuggingface.co2026-11-15 02:28 UTCpassed

Model card

From the publisher at commit a8c25b2. Shown as plain text with links; images open at the publisher.

This is an FP8 / INT8 quantized version of Z-Image-Turbo.

  • Optimized for efficient inference with reduced memory footprint. Same-seed LPIPS vs the bf16 model (lower is better): 0.181 INT8, 0.130 FP8.

https://github.com/unslothai/unsloth/ https://discord.gg/unsloth https://docs.unsloth.ai/


Samples#

Prompt: "cute sloth typing on a computer"

| INT8 | INT8

| Image: image | Image: image

| FP8 | FP8

| Image: image | Image: image


⚡️- Image#

An Efficient Image Generation Foundation Model with Single-Stream Diffusion Transformer

Official Site&#160; GitHub&#160; Hugging Face&#160; Hugging Face&#160; Hugging Face&#160; ModelScope Model&#160; ModelScope Space&#160; Art Gallery PDF&#160; Web Art Gallery&#160; https://arxiv.org/abs/2511.22699

Welcome to the official repository for the Z-Image(造相)project!

✨ Z-Image#

Z-Image is a powerful and highly efficient image generation model family with 6B parameters. Currently there are four variants:

  • 🚀 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.
  • 🎨 Z-Image – The foundation model behind Z-Image-Turbo. Z-Image focuses on high-quality generation, rich aesthetics, strong diversity, and controllability, well-suited for creative generation, fine-tuning, and downstream development. It supports a wide range of artistic styles, effective negative prompting, and high diversity across identities, poses, compositions, and layouts.
  • 🧱 Z-Image-Omni-Base – The versatile foundation model capable of both generation and editing tasks. By releasing this checkpoint, we aim to unlock the full potential for community-driven fine-tuning and custom development, providing the most "raw" and diverse starting point for the open-source community.
  • ✍️ 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.
📥 Model Zoo#
ModelPre-TrainingSFTRLStepCFGTaskVisual QualityDiversityFine-TunabilityHugging FaceModelScope
Z-Image-Omni-Base✅❌❌50✅Gen. / EditingMediumHighEasyTo be releasedTo be released
Z-Image✅✅❌50✅Gen.HighMediumEasyHugging Face

Hugging Face Space | ModelScope Model ModelScope Space | | Z-Image-Turbo | ✅ | ✅ | ✅ | 8 | ❌ | Gen. | Very High | Low | N/A | Hugging Face Hugging Face Space | ModelScope Model ModelScope Space |

| Z-Image-Edit | ✅ | ✅ | ❌ | 50 | ✅ | Editing | High | Medium | Easy | To be released | To be released | | To be released |

🖼️ Showcase#

📸 Photorealistic Quality: Z-Image-Turbo delivers strong photorealistic image generation while maintaining excellent aesthetic quality.

Image: Showcase of Z-Image on Photo-realistic image Generation

📖 Accurate Bilingual Text Rendering: Z-Image-Turbo excels at accurately rendering complex Chinese and English text.

Image: Showcase of Z-Image on Bilingual Text Rendering

💡 Prompt Enhancing & Reasoning: Prompt Enhancer empowers the model with reasoning capabilities, enabling it to transcend surface-level descriptions and tap into underlying world knowledge.

Image: reasoning.jpg

🧠 Creative Image Editing: Z-Image-Edit shows a strong understanding of bilingual editing instructions, enabling imaginative and flexible image transformations.

Image: Showcase of Z-Image-Edit on Image Editing

🏗️ Model Architecture#

We adopt a Scalable Single-Stream DiT (S3-DiT) architecture. In this setup, text, visual semantic tokens, and image VAE tokens are concatenated at the sequence level to serve as a unified input stream, maximizing parameter efficiency compared to dual-stream approaches.

Image: Architecture of Z-Image and Z-Image-Edit

📈 Performance#

According to the Elo-based Human Preference Evaluation (on Alibaba AI Arena), Z-Image-Turbo shows highly competitive performance against other leading models, while achieving state-of-the-art results among open-source models.

Z-Image Elo Rating on AI Arena Click to view the full leaderboard

🚀 Quick Start#

Install the latest version of diffusers, use the following command:

Click here for details for why you need to install diffusers from source

We have submitted two pull requests (#12703 and #12715) to the 🤗 diffusers repository to add support for Z-Image. Both PRs have been merged into the latest official diffusers release. Therefore, you need to install diffusers from source for the latest features and Z-Image support.

pip install git+https://github.com/huggingface/diffusers
import torch
from diffusers import ZImagePipeline

# 1. Load the pipeline
# Use bfloat16 for optimal performance on supported GPUs
pipe = ZImagePipeline.from_pretrained(
    "Tongyi-MAI/Z-Image-Turbo",
    torch_dtype=torch.bfloat16,
    low_cpu_mem_usage=False,
)
pipe.to("cuda")

# [Optional] Attention Backend
# Diffusers uses SDPA by default. Switch to Flash Attention for better efficiency if supported:
# pipe.transformer.set_attention_backend("flash")    # Enable Flash-Attention-2
# pipe.transformer.set_attention_backend("_flash_3") # Enable Flash-Attention-3

# [Optional] Model Compilation
# Compiling the DiT model accelerates inference, but the first run will take longer to compile.
# pipe.transformer.compile()

# [Optional] CPU Offloading
# Enable CPU offloading for memory-constrained devices.
# pipe.enable_model_cpu_offload()

prompt = "Young Chinese woman in red Hanfu, intricate embroidery. Impeccable makeup, red floral forehead pattern. Elaborate high bun, golden phoenix headdress, red flowers, beads. Holds round folding fan with lady, trees, bird. Neon lightning-bolt lamp (⚡️), bright yellow glow, above extended left palm. Soft-lit outdoor night background, silhouetted tiered pagoda (西安大雁塔), blurred colorful distant lights."

# 2. Generate Image
image = pipe(
    prompt=prompt,
    height=1024,
    width=1024,
    num_inference_steps=9,  # This actually results in 8 DiT forwards
    guidance_scale=0.0,     # Guidance should be 0 for the Turbo models
    generator=torch.Generator("cuda").manual_seed(42),
).images[0]

image.save("example.png")

🔬 Decoupled-DMD: The Acceleration Magic Behind Z-Image#

arXiv

Decoupled-DMD is the core few-step distillation algorithm that empowers the 8-step Z-Image model.

Our core insight in Decoupled-DMD is that the success of existing DMD (Distributaion Matching Distillation) methods is the result of two independent, collaborating mechanisms:

  • CFG Augmentation (CA): The primary engine 🚀 driving the distillation process, a factor largely overlooked in previous work.
  • Distribution Matching (DM): Acts more as a regularizer ⚖️, ensuring the stability and quality of the generated output.

By recognizing and decoupling these two mechanisms, we were able to study and optimize them in isolation. This ultimately motivated us to develop an improved distillation process that significantly enhances the performance of few-step generation.

Image: Diagram of Decoupled-DMD

🤖 DMDR: Fusing DMD with Reinforcement Learning#

arXiv

Building upon the strong foundation of Decoupled-DMD, our 8-step Z-Image model has already demonstrated exceptional capabilities. To achieve further improvements in terms of semantic alignment, aesthetic quality, and structural coherence—while producing images with richer high-frequency details—we present DMDR.

Our core insight behind DMDR is that Reinforcement Learning (RL) and Distribution Matching Distillation (DMD) can be synergistically integrated during the post-training of few-step models. We demonstrate that:

  • RL Unlocks the Performance of DMD 🚀
  • DMD Effectively Regularizes RL ⚖️

Image: Diagram of DMDR

⏬ Download#

pip install -U huggingface_hub
HF_XET_HIGH_PERFORMANCE=1 hf download Tongyi-MAI/Z-Image-Turbo

📜 Citation#

If you find our work useful in your research, please consider citing:

@article{team2025zimage,
  title={Z-Image: An Efficient Image Generation Foundation Model with Single-Stream Diffusion Transformer},
  author={Z-Image Team},
  journal={arXiv preprint arXiv:2511.22699},
  year={2025}
}

@article{liu2025decoupled,
  title={Decoupled DMD: CFG Augmentation as the Spear, Distribution Matching as the Shield},
  author={Dongyang Liu and Peng Gao and David Liu and Ruoyi Du and Zhen Li and Qilong Wu and Xin Jin and Sihan Cao and Shifeng Zhang and Hongsheng Li and Steven Hoi},
  journal={arXiv preprint arXiv:2511.22677},
  year={2025}
}

@article{jiang2025distribution,
  title={Distribution Matching Distillation Meets Reinforcement Learning},
  author={Jiang, Dengyang and Liu, Dongyang and Wang, Zanyi and Wu, Qilong and Jin, Xin and Liu, David and Li, Zhen and Wang, Mengmeng and Gao, Peng and Yang, Harry},
  journal={arXiv preprint arXiv:2511.13649},
  year={2025}
}

Quantized transformer checkpoints (this repo)#

This repo adds pre-quantized diffusion transformer checkpoints for Tongyi-MAI/Z-Image-Turbo, built with torchao dynamic activation quantization from the dense bf16 transformer. The official model card above is unchanged from the source repo.

Files:

  • Z-Image-Turbo-INT8.pt (6.3 GB)
  • Z-Image-Turbo-FP8.pt (6.3 GB)

Details:

  • int8: Int8DynamicActivationInt8WeightConfig (per-token activation, per-channel weight, torch._int_mm).
  • fp8: Float8DynamicActivationFloat8WeightConfig with PerRow granularity (e4m3, torch._scaled_mm). The loader must floor the dynamic activation scale (activation_value_lb=1e-12 on torchao 0.13+) so all-zero activation token rows cannot produce a zero scale.
  • Loading a checkpoint is bit-identical to quantizing the dense bf16 transformer on the fly; the checkpoint skips the dense load and quantize step.
  • Validated against same-seed dense bf16 renders (SSIM, LPIPS-vgg, CLIP delta, non-finite and black-frame checks) on torch 2.12.1 and torchao 0.17.

Samples#

Prompt: "cute sloth typing on a computer" (1024x1024, family default steps/guidance, seeds 0-2).

int8

Image: image Image: image Image: image

fp8

Image: image Image: image Image: image


Pre-cast fp8 text encoder (this repo)#

Z-Image-Turbo-text_encoder-FP8.pt (4.4 GB) is the pipeline's text encoder (Qwen3ForCausalLM, Qwen3-4B, the text_encoder subfolder of Tongyi-MAI/Z-Image-Turbo) with the layerwise fp8 storage cast Unsloth Studio applies at load time, saved pre-cast:

  • Loading it is bit-identical to downloading the dense encoder and casting on load (verified tensor for tensor: 399 tensors, 252 cast to fp8 storage; the tied lm_head/embedding stays dense).
  • Cuts the text-encoder download from 8.0 GB to 4.4 GB.
  • Plain-tensor state dict: loads with torch.load(weights_only=True). Metadata records scheme fp8, component text_encoder, base Tongyi-MAI/Z-Image-Turbo.

Files

15 files · 41.1 GBWeights 24.1 GB (safetensors). Sizes and sha256 from the signed manifest.
Hide all 15 files with their sha256
FileSizesha256
.gitattributes1.85 KB62ee6e240d15eede8b926f44fdfccf5f60da2d64628a3b5af5b2a638e86ecd37
README.md17.6 KBcbce0fdb3fd49ca413abf10632d3187ebabba82aa1711b36c65ff8cc03dada2f
Z-Image-Turbo-FP8.pt6.29 GBe75649ed4dc3b6ab98e49150e664db01169230aa4c170088c7bece7556ad6592
Z-Image-Turbo-FP8.safetensors6.29 GBf074a5d993c24f05c77a09e2e6b963f70a38ea6cfe62460068cde04d16552324
Z-Image-Turbo-INT8-ConvRot.safetensors6.29 GB11fd89e5ae094d0804c9d6ee862a6b9073cd73d41a139ee6f082c0b156c30eb5
Z-Image-Turbo-INT8.pt6.29 GB47fa7e439ee77f217be8fad7b4da00c513803dd80fd8ccfc766fc6965bde22c7
Z-Image-Turbo-INT8.safetensors6.29 GB4a674ce1fc9d822f3bd2bf4fd64ab17fb49b37f8b82800b510a8938b59d5468d
Z-Image-Turbo-text_encoder-FP8.pt4.41 GB1fe17ee32813d0aeb75b5916520dfb9bbcfa3293187d1e4351c904e76ab3204e
Z-Image-Turbo-text_encoder-FP8.safetensors5.19 GBdb8287d4d3ec6c52be44877b8d86f8a404834bf2313c8fe17844d1994770845a
samples/fp8_1.png1.39 MB58032b14085bac27a6393aa6d7f6718896d81b45bd17d08ee63bdbe61eab1a93
samples/fp8_2.png1.25 MB4b07be469e77e6d080a7124b77994d26460af9907bde828c2848a9365a243bdb
samples/fp8_3.png1.31 MB288b04edb3db2dd84e304bd47a191eef56fbd254884cc6af9675aa24cec78a21
samples/int8_1.png1.38 MB7f33e6b5805ae0251b7ffb7445a5b05b28bc085b6b049dd8d807c6d12549c6f6
samples/int8_2.png1.22 MB81293ec804793067ca184556461c5592c3fb0dd1b009abf0b123e84129ed13c5
samples/int8_3.png1.36 MB5235fb51dcbda4d3ceb9a1c8021d42757cb7475126697ba5f220f73fc04bbb66
VersionsEach time the pinned upstream commit or file list changed in this repo. Newest first.
Upstream commitDateContents
a8c25b2dd9 pinned now2026-11-15 02:28 UTC15 files · 41.1 GB

Use it

$ fw get unsloth/Z-Image-Turbo-FP8
# manifest sha256 5a74c39b4be8… · 41.1 GB · 15 files
$ fw verify ./Z-Image-Turbo-FP8 unsloth/Z-Image-Turbo-FP8
fw.pyChecks the signature and every sha256, tries each source in order, resumes.
$ python3 fw.py get https://freeweights.allternit.com/manifests/unsloth/Z-Image-Turbo-FP8.json --dir ./Z-Image-Turbo-FP8 $ python3 fw.py verify ./Z-Image-Turbo-FP8 ./unsloth__Z-Image-Turbo-FP8.json
hfThe Hugging Face CLI with one setting. Same repo id.
$ HF_ENDPOINT=https://freeweights.allternit.com hf download unsloth/Z-Image-Turbo-FP8 --revision a8c25b2dd9bf175840a3875c1f466281a61d20f2 --local-dir ./Z-Image-Turbo-FP8
Packaged for ComfyUI. Most image, video and music models run in ComfyUI . Check the publisher's page for the workflow. Freeweights does not host it.

License

Name
Apache License 2.0
Id
Apache-2.0
Class
Permissive
Redistribution
yes
Listing
Hosted (signed)
Decided
License as declared by the publisher. No person read it. 2026-11-15
Text in
README.md
Text sha256
cbce0fdb3fd49ca413abf10632d3187ebabba82aa1711b36c65ff8cc03dada2f
Terms gate
No extra terms beyond the license.

Read the license text

Licenses are checked against the license table. A custom license passes only after a person reads it.

Provenance

From: unsloth <huggingface.co/unsloth>Newsgroups: alt.freeweights.imageSubject: Z-Image-Turbo-FP8Date: 2026-11-15Commit: a8c25b2Signed: 2DC28CC7B26A283B ✓
Upstream
unsloth/Z-Image-Turbo-FP8
Pinned commit
a8c25b2dd9bf175840a3875c1f466281a61d20f2
Manifest
Z-Image-Turbo-FP8.json · .minisig
Manifest sha256
5a74c39b4be8ea8dd9d0178fbe68c3a62c6a2d78df25031458fef8933d9129d0
Signature
minisign, Ed25519, key 2DC28CC7B26A283B
Created
2026-11-15 02:28 UTC
Generator
freeweights-manifest/0.1.0
Takedowns
None.

How to verify

$ curl -O https://freeweights.allternit.com/manifests/unsloth/Z-Image-Turbo-FP8.json $ curl -O https://freeweights.allternit.com/manifests/unsloth/Z-Image-Turbo-FP8.json.minisig $ minisign -Vm Z-Image-Turbo-FP8.json -P RWQ7KGqyx4zCLXtUFOqvfv8L3g+8fpKJ1FsuxPyOYMF+4KufbUxKq1Oq $ shasum -a 256 <file> # compare with the Files tab

A manifest whose signature fails must be rejected. A file whose size or sha256 does not match must be discarded. Verify a download

Model tree

Parent

Tongyi-MAI/Z-Image-Turbo · this model is a finetune of it

No model in the catalog names this one as its parent.

Get it
Download
$ HF_ENDPOINT=https://freeweights.allternit.com hf download unsloth/Z-Image-Turbo-FP8
Open in Freeweights Studio

Pull, verify and run it in the Allternit app on Desktop, web or phone.

Signed manifest
minisign, key 2DC28CC7B26A283B. Z-Image-Turbo-FP8.json. Provenance. Takedown history: none.
From: Comfy-Org <huggingface.co/Comfy-Org>Subject: Boogu-Image
From: Comfy-Org <huggingface.co/Comfy-Org>Subject: Chroma1-HD
From: lodestones <huggingface.co/lodestones>Subject: Chroma1-HD
From: Comfy-Org <huggingface.co/Comfy-Org>Subject: Chroma1-Radiance
From: Comfy-Org <huggingface.co/Comfy-Org>Subject: ERNIE-Image
From: baidu <huggingface.co/baidu>Subject: ERNIE-Image