Closed chenxwh closed 2 months ago
The official diffusers converted weights are broken. Use something like niklasku/PixArt-Sigma-XL-2-1024-MS
instead.
Did you upgrade the diffusers
with pip install git+https://github.com/huggingface/diffusers
?
"PixArt-alpha/PixArt-Sigma-XL-2-1024-MS"
as the transformer
"niklasku/PixArt-Sigma-XL-2-1024-MS"
as the transformer, identical parameters otherwise
I just pulled diffusers/main
5 minutes ago to make these images.
Using ./scripts/diffusers_patches.py with no modifications to the pipeline.
It's strange. If you load the file in "niklasku/PixArt-Sigma-XL-2-1024-MS
from safetensors.torch import load_file
d = load_file('PixArt-Sigma-XL-2-1024-MS/diffusion_pytorch_model.safetensors')
There are plenty of layers are just all zeros?
Padding?
I re-upload a new safetensor file upto the hugginface: https://huggingface.co/PixArt-alpha/PixArt-Sigma-XL-2-1024-MS/tree/main. You can give it a try.
Yes that one works. @chenxwh Should try again.
What ended up being the cause?
It might be worth investigating the x512 diffusers as well. My colleague had said he was having issues with them too. Maybe needs the same fix?
Some layers in the previous ckpt are broken. I have re-uploaded all the 256px, 512px and 1024px ckpt. Let me know if the 512 ckpt is also working well now.
Hi, thanks for the great work and integration to
diffusers
!However when trying exactly the snippets provided here, I got strange results below. Any idea what might have gone wrong?
Thank you!