vladmandic / automatic

SD.Next: Advanced Implementation of Stable Diffusion and other Diffusion-based generative image models
https://github.com/vladmandic/automatic
GNU Affero General Public License v3.0
5.61k stars 411 forks source link

[Issue]: Modern UI bug - All Icons not showing up #3123

Closed MiloArtemov closed 5 months ago

MiloArtemov commented 5 months ago

Issue Description

After starting the webui.bat & Entering the WebUI itself, There are no Icons for any tab. All replacd by white squares. As for the logs - using --debug but they look normal.

Version Platform Description

Windows 10, Brave Browser, The newest WebUI version installed May 12th, Dev branch. iconsmissing

Relevant log output

Using VENV: F:\autozludanew\modernui\automatic\venv
19:01:15-056880 INFO     Starting SD.Next
19:01:15-064906 INFO     Logger: file="F:\autozludanew\modernui\automatic\sdnext.log" level=DEBUG size=65 mode=create
19:01:15-068920 INFO     Python 3.10.6 on Windows
19:01:15-620745 INFO     Version: app=sd.next updated=2024-05-12 hash=c20e080b branch=dev
                         url=https://github.com/vladmandic/automatic//tree/dev
19:01:16-371227 INFO     Latest published version: e081f232d2648d79659b9a53070cecb544b85b3d 2024-05-07T19:11:45Z
19:01:16-403334 INFO     Platform: arch=AMD64 cpu=AMD64 Family 23 Model 24 Stepping 1, AuthenticAMD system=Windows
                         release=Windows-10-10.0.19045-SP0 python=3.10.6
19:01:16-408350 DEBUG    Setting environment tuning
19:01:16-411361 DEBUG    HF cache folder: C:\Users\Win\.cache\huggingface\hub
19:01:16-414370 DEBUG    Torch overrides: cuda=False rocm=False ipex=False diml=False openvino=False
19:01:16-417380 DEBUG    Torch allowed: cuda=True rocm=True ipex=True diml=True openvino=True
19:01:16-439453 DEBUG    Package not found: torch-directml
19:01:16-441459 INFO     AMD ROCm toolkit detected
19:01:17-067532 DEBUG    ROCm agents detected: ['gfx803']
19:01:17-549125 DEBUG    ROCm version detected: 5.7
19:01:17-552135 WARNING  HIP SDK is detected, but no Torch release for Windows available
19:01:17-554141 INFO     For ZLUDA support specify '--use-zluda'
19:01:17-556147 INFO     Using CPU-only torch
19:01:18-507294 DEBUG    Repository update time: Sun May 12 23:38:33 2024
19:01:18-509301 INFO     Startup: standard
19:01:18-511307 INFO     Verifying requirements
19:01:18-538397 INFO     Verifying packages
19:01:18-540405 INFO     Verifying submodules
19:01:22-272752 DEBUG    Submodule: extensions-builtin/sd-extension-chainner / main
19:01:22-533614 DEBUG    Submodule: extensions-builtin/sd-extension-system-info / main
19:01:22-733274 DEBUG    Submodule: extensions-builtin/sd-webui-agent-scheduler / main
19:01:22-974072 DEBUG    Submodule: extensions-builtin/sdnext-modernui / main
19:01:23-157678 DEBUG    Submodule: extensions-builtin/stable-diffusion-webui-rembg / master
19:01:23-337273 DEBUG    Submodule: modules/k-diffusion / master
19:01:23-526900 DEBUG    Submodule: wiki / master
19:01:23-626228 DEBUG    Register paths
19:01:23-897124 DEBUG    Installed packages: 227
19:01:23-900135 DEBUG    Extensions all: ['Lora', 'sd-extension-chainner', 'sd-extension-system-info',
                         'sd-webui-agent-scheduler', 'sdnext-modernui', 'stable-diffusion-webui-rembg']
19:01:24-465003 DEBUG    Running extension installer:
                         F:\autozludanew\modernui\automatic\extensions-builtin\sd-extension-system-info\install.py
19:01:25-356953 DEBUG    Running extension installer:
                         F:\autozludanew\modernui\automatic\extensions-builtin\sd-webui-agent-scheduler\install.py
19:01:26-540870 DEBUG    Running extension installer:
                         F:\autozludanew\modernui\automatic\extensions-builtin\stable-diffusion-webui-rembg\install.py
19:01:27-421784 DEBUG    Extensions all: []
19:01:27-423791 INFO     Extensions enabled: ['Lora', 'sd-extension-chainner', 'sd-extension-system-info',
                         'sd-webui-agent-scheduler', 'sdnext-modernui', 'stable-diffusion-webui-rembg']
19:01:27-427805 INFO     Verifying requirements
19:01:27-445864 DEBUG    Setup complete without errors: 1715619687
19:01:27-476967 DEBUG    Extension preload: {'extensions-builtin': 0.01, 'extensions': 0.0}
19:01:27-479977 DEBUG    Starting module: <module 'webui' from 'F:\\autozludanew\\modernui\\automatic\\webui.py'>
19:01:27-482987 INFO     Command line args: ['--debug', '--medvram', '--models-dir',
                         'D:\\stable-diffusion-webui-directml-master2\\models', '--listen', '--cors-origins', '*']
                         medvram=True models_dir=D:\stable-diffusion-webui-directml-master2\models listen=True
                         cors_origins=* debug=True
19:01:27-491014 DEBUG    Env flags: []
19:02:05-404437 INFO     Load packages: {'torch': '2.2.0+cpu', 'diffusers': '0.27.2', 'gradio': '3.43.2'}
19:02:07-812402 DEBUG    Read: file="config.json" json=44 bytes=1863 time=0.000
19:02:07-817418 INFO     Engine: backend=Backend.DIFFUSERS compute=cpu device=cpu attention="Dynamic Attention SDP"
                         mode=no_grad
19:02:07-821432 INFO     Device:
19:02:07-842501 DEBUG    Read: file="html\reference.json" json=38 bytes=22313 time=0.019
19:02:13-479148 DEBUG    ONNX: version=1.17.3 provider=CPUExecutionProvider, available=['DmlExecutionProvider',
                         'CPUExecutionProvider']
19:02:13-707905 DEBUG    Importing LDM
19:02:13-763087 DEBUG    Entering start sequence
19:02:13-765095 INFO     Using models path: D:\stable-diffusion-webui-directml-master2\models
19:02:13-788171 DEBUG    Initializing
19:02:13-931645 INFO     Available VAEs: path="D:\stable-diffusion-webui-directml-master2\models\VAE" items=1
19:02:13-934656 DEBUG    Available UNets: path="D:\stable-diffusion-webui-directml-master2\models\UNET" items=0
19:02:13-938669 INFO     Disabled extensions: []
19:02:13-967764 DEBUG    Read: file="metadata.json" json=117 bytes=375687 time=0.024
19:02:13-981811 DEBUG    Scanning diffusers cache: folder=D:\stable-diffusion-webui-directml-master2\models\Diffusers
                         items=1 time=0.00
19:02:13-984822 INFO     Available models: path="D:\stable-diffusion-webui-directml-master2\models\Stable-diffusion"
                         items=19 time=0.04
19:02:14-554707 DEBUG    Load extensions
19:02:14-737311 INFO     Extension: script='extensions-builtin\Lora\scripts\lora_script.py'
                         19:02:14-719252 INFO     LoRA networks: available=98
                         folders=2
19:02:16-379744 INFO     Extension: script='extensions-builtin\sd-webui-agent-scheduler\scripts\task_scheduler.py'
                         Using sqlite file: extensions-builtin\sd-webui-agent-scheduler\task_scheduler.sqlite3
19:02:16-416867 DEBUG    Extensions init time: 1.86 Lora=0.06 sd-extension-chainner=0.18 sd-webui-agent-scheduler=1.45
19:02:16-476063 DEBUG    Read: file="html/upscalers.json" json=4 bytes=2672 time=0.017
19:02:16-502149 DEBUG    Read: file="extensions-builtin\sd-extension-chainner\models.json" json=24 bytes=2719
                         time=0.021
19:02:16-510176 DEBUG    chaiNNer models: path="D:\stable-diffusion-webui-directml-master2\models\chaiNNer" defined=24
                         discovered=0 downloaded=0
19:02:16-517200 DEBUG    Upscaler type=ESRGAN folder="D:\stable-diffusion-webui-directml-master2\models\ESRGAN"
                         model="ESRGAN_4x"
                         path="D:\stable-diffusion-webui-directml-master2\models\ESRGAN\ESRGAN_4x.pth"
19:02:16-526228 DEBUG    Upscaler type=SwinIR folder="D:\stable-diffusion-webui-directml-master2\models\SwinIR"
                         model="SwinIR_4x"
                         path="D:\stable-diffusion-webui-directml-master2\models\SwinIR\SwinIR_4x.pth"
19:02:16-533252 DEBUG    Load upscalers: total=54 downloaded=4 user=2 time=0.11 ['None', 'Lanczos', 'Nearest',
                         'ChaiNNer', 'ESRGAN', 'LDSR', 'RealESRGAN', 'SCUNet', 'SD', 'SwinIR']
19:02:16-592448 DEBUG    Load styles: folder="D:\stable-diffusion-webui-directml-master2\models\styles" items=290
                         time=0.05
19:02:16-602482 DEBUG    Creating UI
19:02:16-606498 DEBUG    UI themes available: type=Modern themes=27
19:02:16-609506 INFO     UI theme: type=Modern name="Default"
19:02:16-629570 DEBUG    UI theme: css="extensions-builtin\sdnext-modernui\themes\Default.css" base="base.css"
                         user="None"
19:02:16-637598 DEBUG    UI initialize: txt2img
19:02:16-761005 DEBUG    Extra networks: page='model' items=57 subfolders=2 tab=txt2img
                         folders=['D:\\stable-diffusion-webui-directml-master2\\models\\Stable-diffusion',
                         'D:\\stable-diffusion-webui-directml-master2\\models\\Diffusers', 'models\\Reference']
                         list=0.08 thumb=0.01 desc=0.01 info=0.00 workers=4 sort=Default
19:02:16-788095 DEBUG    Extra networks: page='lora' items=98 subfolders=0 tab=txt2img
                         folders=['D:\\stable-diffusion-webui-directml-master2\\models\\Lora',
                         'D:\\stable-diffusion-webui-directml-master2\\models\\LyCORIS'] list=0.09 thumb=0.02 desc=0.04
                         info=0.00 workers=4 sort=Default
19:02:16-850300 DEBUG    Extra networks: page='style' items=290 subfolders=1 tab=txt2img
                         folders=['D:\\stable-diffusion-webui-directml-master2\\models\\styles', 'html'] list=0.09
                         thumb=0.00 desc=0.00 info=0.00 workers=4 sort=Default
19:02:16-860333 DEBUG    Extra networks: page='embedding' items=0 subfolders=0 tab=txt2img
                         folders=['D:\\stable-diffusion-webui-directml-master2\\models\\embeddings'] list=0.01
                         thumb=0.00 desc=0.00 info=0.00 workers=4 sort=Default
19:02:16-869365 DEBUG    Extra networks: page='vae' items=1 subfolders=0 tab=txt2img
                         folders=['D:\\stable-diffusion-webui-directml-master2\\models\\VAE'] list=0.02 thumb=0.01
                         desc=0.00 info=0.00 workers=4 sort=Default
19:02:17-012838 DEBUG    UI initialize: img2img
19:02:17-347947 DEBUG    UI initialize: control models=D:\stable-diffusion-webui-directml-master2\models\control
19:02:18-804767 DEBUG    Read: file="ui-config.json" json=0 bytes=2 time=0.000
19:02:19-027503 DEBUG    UI themes available: type=Modern themes=27
19:02:19-258266 DEBUG    Reading failed: F:\autozludanew\modernui\automatic\html\extensions.json [Errno 2] No such file
                         or directory: 'F:\\autozludanew\\modernui\\automatic\\html\\extensions.json'
19:02:19-261276 INFO     Extension list is empty: refresh required
19:02:20-763246 DEBUG    Extension list: processed=6 installed=6 enabled=6 disabled=0 visible=6 hidden=0
19:02:21-186647 DEBUG    Root paths: ['F:\\autozludanew\\modernui\\automatic']
19:02:23-496286 INFO     Local URL: http://localhost:7860/
19:02:23-498293 DEBUG    Gradio functions: registered=1700
19:02:23-516353 DEBUG    FastAPI middleware: ['Middleware', 'Middleware', 'Middleware']
19:02:23-522373 DEBUG    Creating API
INFO:nncf:NNCF initialized successfully. Supported frameworks detected: torch, tensorflow, onnx, openvino
19:02:27-067099 INFO     [AgentScheduler] Task queue is empty
19:02:27-070110 INFO     [AgentScheduler] Registering APIs
19:02:27-223617 DEBUG    Scripts setup: ['IP Adapters:0.049', 'AnimateDiff:0.012', 'Prompt Matrix:0.005', 'X/Y/Z
                         Grid:0.016', 'Face:0.018', 'Image-to-Video:0.009', 'Stable Video Diffusion:0.007']
19:02:27-227631 DEBUG    Model metadata: file="metadata.json" no changes
19:02:27-230642 DEBUG    Model requested: fn=<lambda>
19:02:27-234654 INFO     Select: model="Diffusers\UnfilteredAI/NSFW-gen [2755174ccd]"
19:02:27-237664 DEBUG    Load model: existing=False
                         target=D:\stable-diffusion-webui-directml-master2\models\Diffusers\models--UnfilteredAI--NSFW-
                         gen\snapshots\2755174ccd9ddf41e78aa0c1924a4def8e5f856f info=None
19:02:27-242681 INFO     Torch override dtype: no-half set
19:02:27-245692 INFO     Torch override VAE dtype: no-half set
19:02:27-247697 DEBUG    Desired Torch parameters: dtype=FP32 no-half=True no-half-vae=True upscast=False
19:02:27-250706 INFO     Setting Torch parameters: device=cpu dtype=torch.float32 vae=torch.float32 unet=torch.float32
                         context=no_grad fp16=None bf16=None optimization=Dynamic Attention SDP
19:02:27-256728 DEBUG    Diffusers loading:
                         path="D:\stable-diffusion-webui-directml-master2\models\Diffusers\models--UnfilteredAI--NSFW-g
                         en\snapshots\2755174ccd9ddf41e78aa0c1924a4def8e5f856f"
19:02:27-260740 INFO     Autodetect: model="Stable Diffusion" class=StableDiffusionPipeline
                         file="D:\stable-diffusion-webui-directml-master2\models\Diffusers\models--UnfilteredAI--NSFW-g
                         en\snapshots\2755174ccd9ddf41e78aa0c1924a4def8e5f856f" size=0MB
Loading pipeline components... 100% ------------------------------------------------ 7/7  [ 0:00:22 < 0:00:00 , 0 C/s ]
19:02:50-150462 INFO     Load embeddings: loaded=0 skipped=0 time=0.01
19:02:50-154477 DEBUG    Setting model: enable VAE slicing
19:02:50-156482 DEBUG    Setting model: enable VAE tiling
19:02:50-206651 DEBUG    Setting model: enable model CPU offload
19:02:50-523697 DEBUG    GC: collected=110 device=cpu {'ram': {'used': 10.53, 'total': 23.93}} time=0.27
19:02:50-539750 INFO     Load model: time=23.01 load=22.90 move=0.10 native=1024 {'ram': {'used': 10.53, 'total':
                         23.93}}
19:02:50-547778 DEBUG    Script callback init time: system-info.py:app_started=3.38 task_scheduler.py:app_started=0.18
19:02:50-551791 INFO     Startup time: 83.02 torch=26.20 gradio=7.49 diffusers=4.19 libraries=8.30 ldm=0.06
                         samplers=0.17 extensions=1.86 face-restore=0.56 upscalers=0.12 networks=0.06 ui-en=0.42
                         ui-txt2img=0.10 ui-img2img=0.28 ui-control=0.14 ui-extras=0.06 ui-models=1.12 ui-gallery=0.06
                         ui-settings=0.44 ui-extensions=1.57 ui-defaults=0.10 launch=2.63 api=0.15 app-started=3.56
                         checkpoint=23.32
19:02:50-554802 DEBUG    Save: file="config.json" json=44 bytes=1796 time=0.008
--------------------------------------------CLIENT LOG--------------------------------------------------
2024-05-13 17:03:05.496initPromptChecker
2024-05-13 17:03:05.503initLogMonitor
2024-05-13 17:03:05.504initContextMenu
2024-05-13 17:03:05.505initDragDrop
2024-05-13 17:03:05.535initSettings
2024-05-13 17:03:05.538initImageViewer
2024-05-13 17:03:05.538initGallery
2024-05-13 17:03:05.542initControlUI
2024-05-13 17:03:05.558initExtraNetworks
2024-05-13 17:03:05.580reconnectUI
2024-05-13 17:03:06.066toggleCompact false undefined
2024-05-13 17:03:06.078setFontSize 14
2024-05-13 17:03:06.088initPrompts
2024-05-13 17:03:06.122uiReady
2024-05-13 17:03:06.123userAgent Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.61 Safari/537.36
2024-05-13 17:03:06.123UI settings {"uiux_hide_legacy":true,"uiux_no_slider_layout":false,"uiux_show_input_range_ticks":true,"uiux_show_labels_aside":false,"uiux_show_labels_main":false,"uiux_show_labels_tabs":false,"uiux_show_labels_control":false,"uiux_no_headers_params":false,"uiux_show_outline_params":true,"uiux_mobile_scale":0.7,"uiux_enable_console_log":false,"uiux_max_resolution_output":4096,"uiux_disable_transitions":false}
2024-05-13 17:03:06.132UI removeStyleSheets 33
2024-05-13 17:03:06.265UI removeElements 18216/18334
2024-05-13 17:03:06.266mainUiUx 0.143
2024-05-13 17:03:06.267loadAllTemplates 0.001
2024-05-13 17:03:06.294initModels 19
2024-05-13 17:03:08.343loadAllPortals 0.731
2024-05-13 17:03:08.467hideLegacy true
2024-05-13 17:03:09.073extraTweaks 0.598
2024-05-13 17:03:09.760removeSplash
2024-05-13 17:03:09.761startupTime 9.933
2024-05-13 17:03:10.089setHints {"type":2,"elements":2535,"localized":0,"hints":740,"data":291,"time":143}
2024-05-13 17:03:10.126initIndexDB 38

Backend

Diffusers

Branch

Dev

Model

SD-XL

Acknowledgements

vladmandic commented 5 months ago

for modernui, use modernui git repo and create an issue - i'll close it here as i cannot transfer it. https://github.com/BinaryQuantumSoul/sdnext-modernui/issues

anyhow, what does browser inspector say - specifically network tab?