Besides, it seems that I can't load the PixArtAlphaPipeline somehow cause some config file missing.
OSError: Error no file named config.json found in directory /root/.cache/huggingface/hub/models--PixArt-alpha--PixArt-Alpha-DMD-XL-2-512x512/snapshots/57df7bb32daad69bc1d6c825a275935113802169.
First ,it seems that the model should be loaded as safetensors.Because no safetensors files in https://huggingface.co/PixArt-alpha/PixArt-Alpha-DMD-XL-2-512x512/tree/main.
pipe = PixArtAlphaPipeline.from_pretrained( model_path, subfolder="transformer", torch_dtype=weight_dtype, use_safetensors=False, )
Besides, it seems that I can't load the PixArtAlphaPipeline somehow cause some config file missing.
OSError: Error no file named config.json found in directory /root/.cache/huggingface/hub/models--PixArt-alpha--PixArt-Alpha-DMD-XL-2-512x512/snapshots/57df7bb32daad69bc1d6c825a275935113802169.