Interpause / Interpause/auto-sd-paint-ext

Memory usage is much worse than in automatic1111 ui

Open
#127 2 comments 0 reactions 0 assignees View on GitHub
question
Dominant language
Python
Stars
482
Forks
37
PR merge metrics
No merged PRs in 30d

Description

**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](https://user-images.githubusercontent.com/1585669/219996153-bb64eab9-e68e-42d5-8ce3-3678bfb6e39a.png)
![image](https://user-images.githubusercontent.com/1585669/219996183-68d14253-7f45-427e-a79c-d4c57d094d07.png)
![image](https://user-images.githubusercontent.com/1585669/219996210-fe16de92-499a-4701-ad66-d477f568b16a.png)

**Desktop (please complete the following information):**
- OS: Windows
- WebUI commit revision: ea9bd9fc7409109adcd61b897abc2c8881161256
- Extension commit revision: 516f70cbc61aa5085ed9fe5e7818fa2976e01fd8

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.