 pipe.vae.config.scaling_factor, return_dict=False)[0]
image = pipe.image_processor.postprocess(image, output_type="pil")[0]
image.save("cat.png") By deleting components you aren’t using and flushing the GPU VRAM, you should be able to run PixArtAlphaPipeline with under 8GB GPU VRAM.  If you want a report of your memory-usage, run this script. Text embeddings computed in 8-bit can impact the quality of the generated images because of the inform