z-image-turbo-q4km-sd
Smaller sibling of EnclaveHost/z-image-turbo-sd: Z-Image-Turbo with both the diffusion model and the Qwen3-4B text encoder at Q4_K_M, curated as a single-volume bundle for stable-diffusion.cpp serving on enclave.host. 7.3 GiB on disk vs 10.4 GiB for the Q8_0 volume.
Generic component filenames (diffusion.gguf / llm.gguf /
vae.safetensors): the node's ENCLAVE_SD_*_FILE envs are node-global and
must resolve inside every SD volume on a node, so all curated volumes share
these relative names. Every file is byte-identical to its pinned source; this
is a rename, not a re-quantization.
| file | size | sha256 | what / source |
|---|---|---|---|
diffusion.gguf | 4.64 GiB | 745ec270db042409fde084d6b5cfccabf214a7fe5a494edf994a391125656afd | Z-Image-Turbo 6B Q4_K_M — jayn7/Z-Image-Turbo-GGUF @6e2dff8e3abd78051c1211fb5833a03818a2f3cc, z_image_turbo-Q4_K_M.gguf |
llm.gguf | 2.33 GiB | 3605803b982cb64aead44f6c1b2ae36e3acdb41d8e46c8a94c6533bc4c67e597 | Qwen3-4B-Instruct-2507 Q4_K_M text encoder — unsloth/Qwen3-4B-Instruct-2507-GGUF @a06e946bb6b655725eafa393f4a9745d460374c9, Qwen3-4B-Instruct-2507-Q4_K_M.gguf |
vae.safetensors | 320 MiB | afc8e28272cd15db3919bacdb6918ce9c1ed22e96cb12c4d5ed0fba823529e38 | FLUX.1 AE — same bytes as EnclaveHost/z-image-turbo-sd @d7aeefc33a479d183cedf4dce3c294ea71db29ab (from Comfy-Org/z_image_turbo) |
All components Apache-2.0 (Z-Image: Tongyi-MAI; Qwen3-4B: Alibaba; FLUX.1 AE: Black Forest Labs).
Smoke test
Run at the fleet's pinned serving revision,
leejet/stable-diffusion.cpp
@b5d812008eb7082a238fc589444544b3278187ae (CPU build, --mmap --diffusion-fa): detected as Z-Image, 8 steps, cfg 1.0, euler, 512×512,
seed 7. A photographic prompt and a text-rendering poster prompt both came
out coherent, with the poster text spelled exactly. Rendered next to the Q8_0
volume at the same seed: equal visual quality and the same scenes, but not the
same pixels (the 4-bit text encoder shifts the conditioning, so compositions
differ; PSNR 12-16 dB vs Q8_0). Same seed is reproducible within a volume,
not across the two.
Serving
Same env as every SD volume on the node:
ENCLAVE_SD_DIFFUSION_FILE=diffusion.gguf,
ENCLAVE_SD_LLM_FILE=llm.gguf,
ENCLAVE_SD_VAE_FILE=vae.safetensors, ENCLAVE_SD_VAE_TILING=64:0.25.
cfg 1.0, 4-8 steps, sizes in multiples of 64. Weights resident: ~8.3 GiB
(sd.cpp's own count) vs ~11.2 GiB for the Q8_0 volume; peak VRAM on a GPU is
not yet measured (expect roughly 3 GB under the Q8_0 volume's ~13 GB at
1024 px).
sd-cli --diffusion-model diffusion.gguf --llm llm.gguf --vae vae.safetensors \
-p "a red fox in snow, studio lighting" --cfg-scale 1.0 --steps 8 -W 1024 -H 1024