CoolFace
Modelpublic

stduhpf/SD3.5-Large-Turbo-GGUF-mixed-sdcpp

sourceHugging Faceotherupdated 2y agoView on Hugging Face
6likes365downloads
Model Card

Overview

These models are made to work with stable-diffusion.cpp release master-ac54e00 onwards. Support for other inference backends is not guarenteed.

Quantized using this PR https://github.com/leejet/stable-diffusion.cpp/pull/447

Normal K-quants are not working properly with SD3.5-Large models because around 90% of the weights are in tensors whose shape doesn't match the 256 superblock size of K-quants and therefore can't be quantized this way. Mixing quantization types allows us to take adventage of the better fidelity of k-quants to some extent while keeping the model file size relatively small.

Only the second layers of both MLPs in each MMDiT block of SD3.5 Large models have the correct shape to be compatible with k-quants. That still makes up for about 10% of all the parameters.

Files:

Non-Linear Type:

  • —sd3.5_large_turbo-iq4_nl.gguf: Same size as q4k40 and q40, runs faster than q4k40 (on Vulkan at least), and provides image quality somewhat comparable to q51 model. Recommended

Mixed Types:

Legacy types:

Outputs:

Sorted by model size (Note that q40, q4k40, and iq4_nl are the exact same size)

QuantizationRobot girlTextCute kitten
q2k4_0[image][image][image]
q3k4_0[image][image][image]
q4_0[image][image][image]
q4k4_0[image][image][image]
iq4_nl[image][image][image]
q4k4_1[image][image][image]
q4_1[image][image][image]
q4k5_0[image][image][image]
q5_0[image][image][image]
q5_1[image][image][image]
q8_0[image][image][image]
f16(sft)[image][image][image]

Generated with a modified version of sdcpp with this PR applied to enable clip timestep embeddings support.

Text encoders used: q4k quant of t5xxl, full precision clipg, and q8 quant of ViT-L-14-TEXT-detail-improved-hiT-GmP-TE-only-HF in place of clip_l.

Full prompts and settings in png metadata.