Skip to content

high vram usage with inpaint with SDXL and SDXL_inpaint #14570

@kalle07

Description

@kalle07

Checklist

  • The issue exists after disabling all extensions
  • The issue exists on a clean installation of webui
  • The issue is caused by an extension, but I believe it is caused by a bug in the webui
  • The issue exists in the current version of the webui
  • The issue has not been reported before recently
  • The issue has been reported before but has not been fixed yet

What happened?

i know SDXL_inpaint models not yet fully implemented but its happened also with normal SDXL model

Steps to reproduce the problem

load a model
go to im2img
inpaint-tab
paste an image (take a large one >1400x1000)
draw a mask
write somewhat in the prompt
take over resolution
all other standard
watch GPU-Z Vram usage
with an SDXL model ~9GB
first 2sec 12GB
last 3sec >16GB
if you have a fast GPU rase up sampling steps too 200 too get it

What should have happened?

ok fooocus control has another way to use the models but never use more than 9GB ;)

What browsers do you use to access the UI ?

Mozilla Firefox

Sysinfo

Win10
RTX 4060-16GB

Console logs

no error

Additional information

i only mention this because if i have another program running which uses e.g. 2GB VRam then the last 3sec -> 10sec

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug-reportReport of a bug, yet to be confirmed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions