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

[Bug]: Additional Networks subfolder issues #112

Open
1 task done
PaulCoddington opened this issue May 1, 2023 · 3 comments
Open
1 task done

[Bug]: Additional Networks subfolder issues #112

PaulCoddington opened this issue May 1, 2023 · 3 comments

Comments

@PaulCoddington
Copy link

Is there an existing issue for this?

  • I have searched the existing issues and checked the recent builds/commits

What happened?

Subfolder and filter support are not fully operational for all network types.

LoRA:
• subfolders and filters work OK.
• normal subfolders and symlink subfolders work OK.

LyCORIS:
• subfolders and filters work OK.
• normal subfolders and symlink subfolders work OK.

HyperNetwork:
• subfolders and filters work OK.
• normal subfolders and symlink subfolders work OK.

Checkpoint:
• models in subfolders are displayed in ALL (OK)
• models in subfolders are not displayed when subfolders are selected in filter (BUG)

Textual Inversion:
• subfolders and filters work OK, but not symlink subfolders (BUG).

Steps to reproduce the problem

  1. Arrange parts of Additional Networks collections within subfolders.
  2. Compare ALL and subfolder filters for each pane.
  3. Repeat with at least one symlink subfolder per pane.

What should have happened?

Additional Networks pane subfolder/filter behaviour expected to be consistent for all network types.

Commit where the problem happens

434c67d

What platforms do you use to access the UI ?

Windows

What browsers do you use to access the UI ?

Microsoft Edge

Command Line Arguments

--medvram --no-half-vae --xformers --skip-install --autolaunch

List of extensions

a1111-sd-webui-lycoris
a1111-sd-webui-tagcomplete
clip-interrogator-ext
DreamArtist-sd-webui-extension
multidiffusion-upscaler-for-automatic1111
sd-webui-aspect-ratio-helper
sd-webui-controlnet
sd-webui-cutoff
sd-webui-model-converter
stable-diffusion-webui-images-browser
stable-diffusion-webui-promptgen
ultimate-upscale-for-automatic1111

Console logs

Python 3.10.6 | packaged by conda-forge | (main, Oct 24 2022, 16:02:16) [MSC v.1916 64 bit (AMD64)]
Commit hash: ad801b1beb2ba6b93f428f1dca9d12e53cbde560
Installing requirements for scikit_learn
Launching Web UI with arguments: --medvram --no-half-vae --xformers --autolaunch
Loading weights [6ce0161689] from C:\ProgramData\Stable Diffusion\stable-diffusion-webui-ux\models\Stable-Diffusion\Stable Diffusion.safetensors
Creating model from config: C:\ProgramData\Stable Diffusion\stable-diffusion-webui-ux\configs\v1-inference.yaml
LatentDiffusion: Running in eps-prediction mode
DiffusionWrapper has 859.52 M params.
Applying xformers cross attention optimization.
Model loaded in 2.0s (create model: 0.4s, apply weights to model: 0.8s, apply half(): 0.7s).
Running on local URL:  http://127.0.0.1:7860
To create a public link, set `share=True` in `launch()`.
Startup time: 13.2s (import gradio: 2.7s, import ldm: 0.9s, other imports: 1.8s, list extensions: 1.1s, setup codeformer: 0.1s, load scripts: 2.3s, load SD checkpoint: 2.5s, create ui: 1.3s, gradio launch: 0.4s).

Additional information

Problem can be replicated in another fork (vladmandic).

Windows 11 Professional 22H2
Miniconda3

@PaulCoddington PaulCoddington changed the title [Bug]: Additional Networks subfolder support issues [Bug]: Additional Networks subfolder issues May 1, 2023
@anapnoe
Copy link
Owner

anapnoe commented May 1, 2023

can you upgrade the ui-ux and report back? I can't reproduce the issue with the latest commit

@PaulCoddington
Copy link
Author

Upgraded to latest commit and realised the problem was not quite as described (apologies, my error).

The issue with Checkpoint subfolders not being filtered/displayed occurs when the parent Models folder itself is a symlink (although other network panes work fine with this arrangement).

Embeddings symlink subfolder is now working, but it does not handle unresolvable symlinks (offline media) gracefully (python errors) as others do (unresolvable symlinks reported as "ignored" in log).

@halr9000
Copy link

halr9000 commented Nov 21, 2023

Are symlinks to embeddings working for anyone? I know they used to, but coming now from install via stability matrix (issue there), and the embeddings they manage via symlink aren't showing up which is very odd...

UX:
image

symlinked folder with TIs in it:
image

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