stable-diffusion.cpp icon indicating copy to clipboard operation
stable-diffusion.cpp copied to clipboard

[Bug] pixart wrong vae detected

Open KintCark opened this issue 2 months ago • 1 comments

Git commit

Somereadon pixart vae isn't working sdcpp thinks it's a ltx vae🤔

Operating System & Version

Android termux

GGML backends

CPU

Command-line arguments used

./bin/sd-cli --diffusion-model ~/stable-diffusion.cpp/build/models/Pixart_E_256.safetensors --t5xxl ~/stable-diffusion.cpp/build/models/t5xxl_fp8_e4m3fn_scaled.safetensors --vae ~/stable-diffusion.cpp/build/models/sdxl_vae.safetensors -p " Phenomenalistically With Absolute Brilliance cinematic concept art 35mm Dolby Digital Trailer Game render Sci-fi Paradisaical Scenario e3 Showcase by Joe Letteri " --cfg-scale 3.3 -W 256 -H 256 --steps 17 -v

Steps to reproduce

Download pixart E vae then put it in the folder and paste cli command in the terminal then try to generate image

What you expected to happen

Start pixart generation

What actually happened

The vae is being detected as ltx vae instead of sdxl

Logs / error messages / stack trace

No response

Additional context / environment details

No response

KintCark avatar Sep 25 '26 11:09 KintCark

Reproduced the misdetection locally: the adaln_single.emb.timestep_embedder signature is shared between PixArt and LTX-AV, and the current disambiguation only recognizes the diffusers-style pos_embed.proj.weight marker. A PixArt checkpoint exported in a different naming convention falls through to VERSION_LTXAV, which then instantiates the LTX VAE — matching what you saw.

A fix that broadens the marker set (flat pos_embed, x_embedder, y_embedder, t_block, and LTX-AV audio-side tensors) is ready.

To confirm your exact file is covered, could you share either:

  1. Where you downloaded Pixart_E_256.safetensors (link), or
  2. Its tensor names — on termux this works without installing anything:
head -c 300000 Pixart_E_256.safetensors | strings | grep -iE "pos_embed|x_embedder|y_embedder|t_block|adaln" | sort -u

losewayy avatar Sep 25 '26 15:09 losewayy