Quantization for Z-Image-SDNQ-uint4-svd-r32

Z-Image-SDNQ-uint4-svd-r32 is a compressed version of the Tongyi-MAI/Z-Image text-to-image model that uses 4-bit quantization to significantly reduce file size. The model generates images from text prompts while maintaining most of the quality of the original, larger version. It uses a technique called SDNQ with SVD decomposition to shrink the model footprint.
Developer Abrahamm3r created this release to make high-quality image generation accessible on consumer greade hardware. The original Z-Image model required substantial storage space, but this quantized version reduces that requirement significantly. This opens up possibilities for users who want to run capable image models locally without enterprise-grade equipment.
Model Size: 3.48GB & VRAM GPU: Size may vary
Key Technical Specifications
- 4-bit weight quantization reduces storage needs by 75%.
- SVD rank 32 decomposition helps preserve image quality.
- Int8 matrix multiplication for efficient computation.
- Supports multiple aspect ratios including square, landscape, and portrait modes.
- Generation speed of roughly 5-10 seconds per image.
Creators working with limited hardware resources can run this model on standard gaming GPUs. The reduced size means faster downloads and lower disk usage, making it practical for users who need to manage multiple models on a single machine. Small studios and independent creators can generate high-resolution images without investing in specialized equipment.
Requirements and Compatibility
Users will need to install the SDNQ library alongside standard dependencies like torch and diffusers. The developer notes that Windows users should disable quantized matmul operations due to Triton compatibility issues.
NVIDIA GPUs are recommended for best performance, while CPU inference is not advised. System requirements include 16GB of RAM and CUDA 11.8 or higher. The model supports resolutions up to 1344x768 for landscape and 768x1344 for portrait orientations, with 30 inference steps recommended for optimal quality.
Get Z-Image-SDNQ-uint4-svd-r32 on Hugging Face.