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

Memory usage is much worse than in automatic1111 ui #127

Open
TimothyKrell opened this issue Feb 20, 2023 · 2 comments
Open

Memory usage is much worse than in automatic1111 ui #127

TimothyKrell opened this issue Feb 20, 2023 · 2 comments
Labels
question Further information is requested

Comments

@TimothyKrell
Copy link

TimothyKrell commented Feb 20, 2023

Describe the bug
I get out of memory errors much more easily when using the plugin in Krita vs using the web ui directly. I'm running an RTX 3090. In the web ui, I can run inpaint with 1280 x 896 resolution with a batch size of 4 with no problems. When running in Krita, I can only do an inpaint at resolution of 1280 x 896 with a batch size of 1. When I increase the batch size to 2 I get out of memory errors. This is seems to indicate that this plugin is roughly 4x worse in memory usage than using the web ui, unless I am missing something.

To Reproduce
Steps to reproduce the behavior:

  1. inpaint in the web ui with a high batch count and resolution
  2. observe it working
  3. inpaint in Krita with same high batch count and resolution
  4. observe out of memory errors

Screenshots
image
image
image

Desktop (please complete the following information):

  • OS: Windows
  • WebUI commit revision: ea9bd9fc7409109adcd61b897abc2c8881161256
  • Extension commit revision: 516f70c
@ethanfel
Copy link

enable the upscaler

@Interpause
Copy link
Owner

Did you intend to tick "Tiling mode"? I don't fully know how it works but I think it uses more memory.

@Interpause Interpause added the question Further information is requested label May 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants