iris.c icon indicating copy to clipboard operation
iris.c copied to clipboard

Z-Image-Turbo on x86 (generic&blas) generates random color mosaics only

Open martin-frbg opened this issue 9 months ago • 3 comments

AMD Ryzen AI 9 365, installed huggingface_hub python package and downloaded model as per instructions in the README. No error message, but the output image is a mosaic of colored squares, no matter the size or other options. (flux-klein works and I'm looking into improving the automatic thread count assignment in OpenBLAS)

./iris -d zimage-turbo -p "a fish" --power -o fish.png
BLAS: OpenBLAS | HASWELL | 20 threads / 20 procs
      OpenBLAS 0.3.31.dev NO_AFFINITY USE_OPENMP HASWELL MAX_THREADS=20
Seed: 1771424285
Loading VAE... done (0.1s)
Model: Z-Image-Turbo-6B v1.0 (zimage, 9 steps, guidance 0.0)
Loading Qwen3 encoder... done (0.6s)
Encoding text... done (11.9s)
Loading Z-Image transformer... done (0.0s)
Denoising (d=double block, s=single blocks, F=final):
  Step 1/9 ddddssssssF
  Step 2/9 ddddssssssF
  Step 3/9 ddddssssssF
  Step 4/9 ddddssssssF
  Step 5/9 ddddssssssF
  Step 6/9 ddddssssssF
  Step 7/9 ddddssssssF
  Step 8/9 ddddssssssF
  Step 9/9 ddddssssssF
Decoding image... done (3.4s)
Saving... fish.png 256x256 (0.0s)
Total generation time: 151.9 seconds
Image

martin-frbg avatar Feb 18 '26 14:02 martin-frbg

similar setup, different OpenBLAS, Linux, same problem. It's not only you

BLAS: OpenBLAS | Zen | 16 threads / 16 procs
      OpenBLAS 0.3.29 NO_LAPACKE DYNAMIC_ARCH NO_AFFINITY Zen MAX_THREADS=128
Seed: 1771436335

ashimokawa avatar Feb 18 '26 17:02 ashimokawa

which model ?

spuvr avatar Feb 25 '26 22:02 spuvr

See the command line in the quoted part of my first post please - this is with the sample command from the README.md (except for the --power , but I tried all documented options to no avail)

martin-frbg avatar Feb 26 '26 06:02 martin-frbg