Downloads · 30 days
0
marcorez8/Z-image-aka-Base-nvfp4
Z-image-aka-Base-nvfp4 is a machine learning model from marcorez8. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
NVFP4 (4-bit NormalFloat) quantized versions of Tongyi-MAI/Z-Image Base model for ComfyUI.
Downloads · 30 days
0
Access
Public
Updated Jan 28, 2026
Repo size
24.1 GB
Likes
27
Public
Click a slice to open those files.
.safetensors24.1 GB · 100%
From the Hugging Face model README
NVFP4 (4-bit NormalFloat) quantized versions of Tongyi-MAI/Z-Image Base model for ComfyUI.
These quantizations offer different trade-offs between quality and file size, allowing you to choose the best option for your hardware and quality requirements.
| Variant | NVFP4 Layers | What stays in BF16 | Size | Quality |
|---|---|---|---|---|
| Ultra | 60 | Attention + layers 0-4 & 25-29 | ~8.0 GB | ⭐⭐⭐⭐⭐ |
| Quality | 90 | All attention (qkv, out) | ~6.5 GB | ⭐⭐⭐ |
| Mixed | 180 | Refiners, embedders, final layer | ~4.5 GB | ⭐ |
| Full | 204 | Only critical embedders | ~3.5 GB | ⭐ |
Original BF16 model size: 12.3 GB
The key insight is that attention layers (qkv, out) are much more sensitive to quantization than feed_forward layers (w1, w2, w3).
Each quantized layer contains:
{layer}.weight: uint8 (2 FP4 values packed per byte){layer}.weight_scale: float8_e4m3fn, 2D (per-block scale, 16-element blocks){layer}.weight_scale_2: float32, scalar (per-tensor scale){layer}.input_scale: float32, scalar (activation scale)⚠️ NVFP4 requires specific hardware and software!
cu130) - older versions do not support NVFP4Model: z-image-base-nvfp4_[variant].safetensors
Steps: 28-50
CFG Scale: 3.0-5.0
⚠️ Note: This is Z-Image Base, not Turbo. Use 28-50 steps with CFG guidance, not 8 steps like Turbo.
Z-Image Base is a 6B parameter diffusion transformer based on the NextDiT architecture:
Please refer to the original model's license at Tongyi-MAI/Z-Image.