-
Notifications
You must be signed in to change notification settings - Fork 27.3k
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
[Feature Request] Add flags to run various models on the CPU. #313
Comments
For interrogator I added code to run it on 4GB. Try it now. |
Unfortunately I still get an out of memory error when running the interrogator. For the record I am using a GTX 1650 super, and running the program with the following command line arguments:
Here is the full error:
|
I get the same error when using the interrogate function. (GTX 1660 Ti, 6GB VRAM). |
fix custom box & noise inversion broken fix log format
I have a GTX-16xx GPU with just 4GB of VRAM, but thanks to all of the optimizations I am still able to generate images at pretty high resolution. However there are other parts of the program that still causes CUDA out of memory errors for me:
I get the error when trying to upscale images with realesrgan that are larger than 512x512. By googling around I figured out how to run it on the CPU instead by adding a couple of lines of code to “upscale_with_realesrgan”. This fixed the problem, and performance is still acceptable. However it would be nice to have this fix implemented as an option or command line argument, as there are probably others having the same problem.
I also get the error when using the CLIP interrogator; the BLIP-caption generates just fine, but I get an out of memory error within the “rank”-function when trying to generate artist descriptions. Here I did not figure out how to run it on the CPU, but if it is doable I figured it might be a quick fix as well?
Lastly I just want to thank you for making this, it has been a real joy to use!
The text was updated successfully, but these errors were encountered: