Repository navigation
Releases
v0.2.0: tested sm_61 engine, cuDNN VAE by default
v0.2.0: tested sm_61 engine, cuDNN VAE by default
Z-Image-Turbo (Q8_0 GGUF) at 768x1344 on a 4 GB GTX 1050 Ti (Pascal, sm_61) with stable-diffusion.cpp, on Windows. Measured on a 16 GB RAM laptop; the process uses about 11 GB of RAM.
Unofficial. Not affiliated with Tongyi-MAI (Z-Image), leejet (stable-diffusion.cpp) or NVIDIA.
What is new since v0.1.0
- The VAE stage got faster and closer to a reference decode. On our card the VAE stage takes 8.3 to 15.9 s instead of 29.8 to 36.3 s, and the PSNR against a CPU float32 one-piece decode of the same latent went from 38 to 43 dB to 71 to 73 dB (3 pictures; the reference is our own engine's decode, not an independent implementation). A picture takes 193 to 228 s instead of 261.6 s (five
generate.pyruns in the clean-root test, model files on an SSD). Seedocs/MEASUREMENTS.md. - cuDNN is downloaded from NVIDIA by default.
setup.pyprints one line with the address of NVIDIA's license before the download;--no-cudnnskips it. NVIDIA's license applies; its text says that whoever does not accept its terms must not download, install or use it. We do not ship cuDNN. Without it everything works with the v0.1.0 VAE path (--vae legacy). --vae auto|tiled|legacy;run.jsonsays which path ran (stages.vae_path).- Check it yourself:
generate.pyprintsPIXEL_SHA256;scripts/compare.pycompares two pictures pixel by pixel. - Engine patches published in
patches/(MIT) with the apply order and CMake flags;docs/BUILD.mdexplains building for another card. - Apache-2.0 +
NOTICE,ETHICS.md,SECURITY.md,CONTRIBUTING.md, issue forms,docs/RELATED.md, README in 30 languages (AI-assisted localization; corrections welcome).
Pictures are not byte-identical to v0.1.0 for the same prompt and seed, because the VAE path changed on purpose.
Install
git clone https://github.com/alexturkey/z-image-turbo-pascal-4gb.git
cd z-image-turbo-pascal-4gb
python scripts/setup.py
python scripts/generate.py --prompt-file prompts/eiffel.txtExpect the last lines SETUP_OK and IMAGE_OK <path>. About 12.2 GB of downloads (11.8 GB without cuDNN). AI coding agents: AGENTS.md.
Assets
| File | Size (bytes) | sha256 |
|---|---|---|
sinirsiz-foto-engine-v0.2.0-win-x64-cuda12.8-sm61.zip |
37 541 583 | 9f33330a5e5370b202b46bb4b53dd38900d200b8beed6597230c39cfd4ed47c6 |
sinirsiz-foto-engine-v0.2.0-win-x64-cuda12.8-sm61.zip.sha256 |
- | - |
setup.py downloads the engine itself and checks the sha256 in models.lock.json; you do not need to download the zip by hand.
The zip contains sd-cli.exe, sd-server.exe, five DLLs and the license texts. It does not contain the CUDA runtime or cuDNN (both are NVIDIA's; see THIRD_PARTY.md).
Limits
- The engine is built for Pascal (sm_61) only, and only the GTX 1050 Ti 4 GB laptop was measured. Other cards, less than 16 GB RAM, Linux, macOS: not tested.
- cuDNN: the CUDA 11 build of 9.10.2.21 was measured; the CUDA 12 build was not.
- Memory is tight: close other programs. We have not seen GPU memory run out after the engine's memory check passed, and we did not test what happens then.
- Please report your card with the "Hardware test report" form.