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 Error #1

Open
jakethesnake1126 opened this issue Dec 17, 2024 · 1 comment
Open

OOM Error #1

jakethesnake1126 opened this issue Dec 17, 2024 · 1 comment

Comments

@jakethesnake1126
Copy link

It seems my 12 GB VRAM RTX 4070 Super is not enough to run this. Is there any possibility for further optimization such as quantization?

@zhuang2002
Copy link
Collaborator

Thank you so much for your attention and support. To help reduce memory overhead, since ColorFlow does not rely on text conditions, I would kindly suggest avoiding the CFG strategy and instead using empty text for inference. Additionally, you could pre-save the T5 model’s output for empty text inputs, which would allow you to skip loading the T5 model entirely during inference. I’ve had quite a lot on my plate recently, but I’ll make sure to update the code with these optimizations as soon as I can. Thank you for your understanding and patience!

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