Downloads · 30 days
49
13% of all-time downloads
mingyi456/Z-Image-DF11-ComfyUI
Z-Image-DF11-ComfyUI is a text-to-image model from mingyi456. Use it when you need an image from a text prompt. It is set up for diffusion-single-file. The card lists the license as apache-2.0.
For more information (including how to compress models yourself), check out https://huggingface.co/DFloat11 and https://github.com/LeanModels/DFloat11
Downloads · 30 days
49
13% of all-time downloads
All-time downloads
375
Public
Repo size
8.4 GB
Likes
5
Public
Click a slice to open those files.
.safetensors8.4 GB · 100%
From the Hugging Face model README
For more information (including how to compress models yourself), check out https://huggingface.co/DFloat11 and https://github.com/LeanModels/DFloat11
Feel free to request for other models for compression as well, although models whose architecture I am unfamiliar with might be slightly tricky for me.
Install my own fork of the DF11 ComfyUI custom node: https://github.com/mingyi456/ComfyUI-DFloat11-Extended. After installing the DF11 custom node, use the provided workflow json, or simply replace the "Load Diffusion Model" node of an existing workflow with the "Load Diffusion Model" node. If you run into any issues, feel free to leave a comment. The workflow is also embedded in the below png image.

diffusersRefer to this model instead.
This is the pattern_dict for compressing Z-Image-based models in ComfyUI:
pattern_dict_comfyui = {
r"noise_refiner\.\d+": (
"attention.qkv",
"attention.out",
"feed_forward.w1",
"feed_forward.w2",
"feed_forward.w3",
"adaLN_modulation.0"
),
r"context_refiner\.\d+": (
"attention.qkv",
"attention.out",
"feed_forward.w1",
"feed_forward.w2",
"feed_forward.w3",
),
r"layers\.\d+": (
"attention.qkv",
"attention.out",
"feed_forward.w1",
"feed_forward.w2",
"feed_forward.w3",
"adaLN_modulation.0"
)
}