lshqqytiger / stable-diffusion-webui-amdgpu

Stable Diffusion web UI
GNU Affero General Public License v3.0
1.67k stars 175 forks source link

[Bug]: New TI files not showing in UI when hitting Refresh #366

Open popsoda27 opened 5 months ago

popsoda27 commented 5 months ago

Checklist

What happened?

New TI files (either .pt or .safetensor) placed in embeddings folder does not show up in UI after hitting Refresh. However, new checkpoints or lora files placed in their respective folders show up immediately after Refresh in their tabs.

Steps to reproduce the problem

Download new embedding file from Civitai. Place new file in embeddings folder. Hit Refresh in Textual Inversion tab.

What should have happened?

New TI file should show up in UI after refreshing.

What browsers do you use to access the UI ?

Google Chrome

Sysinfo

sysinfo-2024-02-02-02-31.json

Console logs

venv "E:\Downloads\stable-diffusion-webui-directml\venv\Scripts\Python.exe"
fatal: No names found, cannot describe anything.
Python 3.10.6 (tags/v3.10.6:9c7b4bd, Aug  1 2022, 21:53:49) [MSC v.1932 64 bit (AMD64)]
Version: 1.7.0
Commit hash: d500e58a65d99bfaa9c7bb0da6c3eb5704fadf25
Launching Web UI with arguments: --opt-split-attention --precision full --always-batch-cond-uncond --disable-nan-check --api --medvram --no-half --no-half-vae --sub-quad-q-chunk-size 1024 --sub-quad-kv-chunk-size 256 --sub-quad-chunk-threshold 75 --use-cpu interrogate clip --use-directml
no module 'xformers'. Processing without...
no module 'xformers'. Processing without...
No module 'xformers'. Proceeding without it.
Style database not found: E:\Downloads\stable-diffusion-webui-directml\styles.csv
Civitai Helper: Get Custom Model Folder
[-] ADetailer initialized. version: 24.1.2, num models: 18
ControlNet preprocessor location: E:\Downloads\stable-diffusion-webui-directml\extensions\sd-webui-controlnet\annotator\downloads
2024-02-02 10:18:41,060 - ControlNet - INFO - ControlNet v1.1.440
2024-02-02 10:18:41,222 - ControlNet - INFO - ControlNet v1.1.440
Loading weights [e73d775ff9] from E:\Downloads\stable-diffusion-webui-directml\models\Stable-diffusion\theTrualityEngine_trualityENGINEPRO.safetensors
2024-02-02 10:18:41,944 - ControlNet - INFO - ControlNet UI callback registered.
Civitai Helper: Set Proxy:
Creating model from config: E:\Downloads\stable-diffusion-webui-directml\configs\v1-inference.yaml
Running on local URL:  http://127.0.0.1:7860

To create a public link, set `share=True` in `launch()`.
Startup time: 24.2s (prepare environment: 3.1s, import torch: 6.7s, import gradio: 2.6s, setup paths: 1.6s, initialize shared: 2.2s, other imports: 0.7s, setup codeformer: 0.1s, load scripts: 5.3s, create ui: 1.0s, gradio launch: 0.4s, add APIs: 0.3s).
Applying attention optimization: Doggettx... done.
Model loaded in 9.0s (load weights from disk: 1.1s, create model: 0.6s, apply weights to model: 5.8s, apply float(): 0.7s, load textual inversion embeddings: 0.1s, calculate empty prompt: 0.5s).

Additional information

version: 1.7.0  •  python: 3.10.6  •  torch: 2.0.0+cpu  •  xformers: N/A  •  gradio: 3.41.2  •  checkpoint: e73d775ff9