deep-floyd / IF

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

OOM appears using DeepFloyd_IF (I use 32G video memory)

qixuanwang-233 opened this issue · comments

As in the title, OOM appears when I use DeepFloyd IF through diffuser (I use 32GB video memory).

image

I used the diffuser example directly:
image
image

Stage 3 is pretty useless, it's just a generic upscaler by stability.

does it still oom if you bypass it?

Stage 3 is pretty useless, it's just a generic upscaler by stability.

does it still oom if you bypass it?

Thank you for your response, stage 3 is all I need and I solved this problem by using xFormers.

Good for you!
Btw, how do you use xformer with deepfloyd?

*update: found it enable_xformers_memory_efficient_attention() on the pipeline