-
Notifications
You must be signed in to change notification settings - Fork 32
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
[Bug]: sd-civitai-browser-plus continually increases Ram uses when updating Lora's tags/info #116
Comments
Yeah, it's painful, isn't it? I have to move 3/4 of my resources to a folder that didn't have a link to the webui just to get Forge to be able to load. Now I'm trying to move to reForge and it's not working so well either. |
I found the cause, and it's Stable diffusion model failed to load
loading stable diffusion model: FileNotFoundError
Traceback (most recent call last):
File "threading.py", line 973, in _bootstrap
File "threading.py", line 1016, in _bootstrap_inner
File "X:\Reforge\system\python\lib\site-packa
ges\anyio\_backends\_asyncio.py", line 807, in run
result = context.run(func, *args)
File "X:\Reforge\system\python\lib\site-packa
ges\gradio\utils.py", line 707, in wrapper
response = f(*args, **kwargs)
File "X:\Reforge\webui\modules\ui_extra_netwo
rks.py", line 785, in pages_html
create_html()
File "X:\Reforge\webui\modules\ui_extra_netwo
rks.py", line 781, in create_html
ui.pages_contents = [pg.create_html(ui.tabname) for pg in ui.stored_extra_pa
ges]
File "X:\Reforge\webui\modules\ui_extra_netwo
rks.py", line 781, in <listcomp>
ui.pages_contents = [pg.create_html(ui.tabname) for pg in ui.stored_extra_pa
ges]
File "X:\Reforge\webui\modules\ui_extra_netwo
rks.py", line 589, in create_html
self.items = {x["name"]: x for x in items_list}
File "X:\Reforge\webui\modules\ui_extra_netwo
rks.py", line 589, in <dictcomp>
self.items = {x["name"]: x for x in items_list}
File "X:\Reforge\webui\extensions-builtin\Lor
a\ui_extra_networks_lora.py", line 82, in list_items
item = self.create_item(name, index)
File "X:\Reforge\webui\extensions-builtin\Lor
a\ui_extra_networks_lora.py", line 63, in create_item
if shared.opts.lora_show_all or not enable_filter or not shared.sd_model:
File "X:\Reforge\webui\modules\shared_items.p
y", line 178, in sd_model
return modules.sd_models.model_data.get_sd_model()
File "X:\Reforge\webui\modules\sd_models.py",
line 569, in get_sd_model
load_model()
File "X:\Reforge\webui\modules\sd_models.py",
line 657, in load_model
checkpoint_info = checkpoint_info or select_checkpoint()
File "X:\Reforge\webui\modules\sd_models.py",
line 238, in select_checkpoint
raise FileNotFoundError(error_message)
FileNotFoundError: No checkpoints found. When searching for checkpoints, looked
at:
- file X:\Reforge\webui\model.ckpt
- directory X:\Reforge\webui\models\Stable-dif
fusionCan't run without a checkpoint. Find and place a .ckpt or .safetensors fil
e into any of those locations. Until it stops, and when using CivitAI Browser+ (without checkpoint on autostart), it lags with clicks on other loras (#358), white screen cutoffs that sometimes even freezes (#358), downloads being laggy with high ram use, One-Time Hash Generation/updating tags/downloading preview images on the extension's Update Models tab uses high amounts of ram until the OS exit/stops the webui tab on the browser (#116, #318), and can keep/gets stuck loading when click on the next page/model/model's version (#344). Edit: After generating without debug mode, another issue (#157) seems to be from |
Checklist
What happened?
Main details Here.
When using updating Loras tags/preview images, ram uses keeps going until physical memory is being used at 99% percent and the webui tab goes at 10GB in ram uses when there's a lot of lora info to update.
Also note this happen in OG forge as well when downloading with the extension.
Steps to reproduce the problem
What should have happened?
Update tags/info/preview images without high ram uses.
What browsers do you use to access the UI ?
Mozilla Firefox
Sysinfo
N/A
Console logs
Additional information
There was a workaround on reForge's older commits (on the main branch), where if you use
ARG
like--ui-debug-mode
before starting your checkpoint, updating lora used around 0.5GB of RAM, until i updated to the latest commit where the webui tab keep increasing the ram regardless of if i started the checkpoint.The text was updated successfully, but these errors were encountered: