Skip to content

VRAM leak when extension is installed #13

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

Open
SidAbhi opened this issue Mar 20, 2023 · 4 comments
Open

VRAM leak when extension is installed #13

SidAbhi opened this issue Mar 20, 2023 · 4 comments

Comments

@SidAbhi
Copy link

SidAbhi commented Mar 20, 2023

When this extension is installed, after a few times generating images with either lora or locon the vram will be filled and there's no way to fix without restarting. Uninstalling the extension fixes the problem.

COMMANDLINE_ARGS= --listen --medvram --xformers --api

@lozn00
Copy link

lozn00 commented Mar 22, 2023

oh

@KohakuBlueleaf
Copy link
Owner

you mean also the normal lora?

@SidAbhi
Copy link
Author

SidAbhi commented Mar 22, 2023

Yes even just using only regular loras. I thought at first maybe the medvram/xformers settings didn't know how to flush locon/lycoris, but even just using regular loras the VRAM would eventually fill and won't empty. However I have not tried not using any loras at all.

Also it's somewhat random when this happens. Sometimes I could generate 100 images before it breaks, sometimes it happens on the first couple of images.

oh and the gpu is 8GB 3060TI
and here's the extension list I use, maybe it could also be a conflict with something here (I did make sure to not use any of the other extensions when testing it)

posex
Txt2Vectorgraphics
sd-webui-depth-lib
sd-dynamic-prompts
stable-diffusion-webui-composable-lora
sd-extension-steps-animation
ABG_extension
embedding-inspector
sd-webui-ar
stable-diffusion-webui-aesthetic-image-scorer
stable-diffusion-webui-two-shot-old
sd-webui-additional-networks
sd-webui-lora-block-weight
stable-diffusion-webui-images-browser
Stable-Diffusion-Webui-Civitai-Helper
sd-webui-cutoff
Auto-Photoshop-StableDiffusion-Plugin
openOutpaint
sd-dynamic-thresholding
stable-diffusion-webui-Prompt_Generator
canvas-zoom
stable-diffusion-webui-two-shot
sd-webui-controlnet
openpose-editor
a1111-stable-diffusion-webui-vram-estimator
stable-diffusion-webui-cafe-aesthetic

@SidAbhi
Copy link
Author

SidAbhi commented Apr 15, 2023

Tried this extension again and I am no longer having this issue with the latest version of webui, the latest version of this extension, pytorch 2, and xformers 0.18, and updated all my extensions. I don't really know which of those fixed it, but it is fixed for me.

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

3 participants