-
Notifications
You must be signed in to change notification settings - Fork 12
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
Training OOM #27
Comments
I notice that in your paper you mentioned experiments using a single 3090. |
Maybe, try using smaller batch size |
You may also try setting opt = 1 in Line127, which freezes the weights of text encoder. Empirically, this would not affect the final performance very much, but can significantly reduce the memory cost. |
set batchsize = 1 still cause OOM, quite strange.... |
This works, thanks! Meanwhile, I will still try to find the way to not freeze the text encoder |
Hi, I want to know what GPU do you use for training?
I use a V100, but it kept reporting out of memory. I have turned off the 'convert_models_to_fp32'.
The text was updated successfully, but these errors were encountered: