diffusers icon indicating copy to clipboard operation
diffusers copied to clipboard

Bug of PixArtAlphaPipeline

Open CuddleSabe opened this issue 1 year ago • 1 comments

Describe the bug

When I use with torch.autocast("cuda"): images = pipe(...)

the output is noise validation_0_fe0c3de4f9a024ad739f

Reproduction

import torch from diffusers import PixArtAlphaPipeline

pipe = PixArtAlphaPipeline.from_pretrained("PixArt-alpha/PixArt-XL-2-1024-MS", torch_dtype=torch.float16) pipe.enable_model_cpu_offload() prompt = "A small cactus with a happy face in the Sahara desert."

with torch.autocast("cuda"): image = pipe(prompt).images[0]

Logs

No response

System Info

master

Who can help?

No response

CuddleSabe avatar Apr 28 '24 07:04 CuddleSabe

This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.

Please note that issues that do not follow the contributing guidelines are likely to be ignored.

github-actions[bot] avatar Sep 14 '24 15:09 github-actions[bot]