Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
qixuanwang-233 opened this issue Mar 26, 2024 · 3 comments
Open

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

qixuanwang-233 opened this issue Mar 26, 2024 · 3 comments

Comments

@qixuanwang-233
Copy link

qixuanwang-233 commented Mar 26, 2024

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

@Bigfield77
Copy link

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

does it still oom if you bypass it?

@qixuanwang-233
Copy link
Author

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.

@Bigfield77
Copy link

Bigfield77 commented Mar 27, 2024

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

*update: found it enable_xformers_memory_efficient_attention() on the pipeline

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants