Open halr9000 opened 7 months ago
Interesting! Disabling all extensions actually reverts the UI to upstream, which surprised me, and the page loads fine:
Console:
fatal: No names found, cannot describe anything.
Python 3.10.11 (tags/v3.10.11:7d4cc5a, Apr 5 2023, 00:38:17) [MSC v.1929 64 bit (AMD64)]
Version: 1.8.0-RC
Commit hash: fafb0b581bb2b6ba78b62dfba8c95eee6925ce76
Launching Web UI with arguments: --server-name 0.0.0.0 --xformers --api --skip-python-version-check --no-download-sd-model --disable-all-extensions
*** "--disable-all-extensions" arg was used, will not load any extensions ***
Loading weights [15012c538f] from D:\hal\stable-diffusion\StabilityMatrix\Packages\Stable Diffusion Web UI-UX\models\Stable-diffusion\sd15\realisticVisionV51_v51VAE.safetensors
Creating model from config: D:\hal\stable-diffusion\StabilityMatrix\Packages\Stable Diffusion Web UI-UX\configs\v1-inference.yaml
Running on local URL: http://0.0.0.0:7860
Applying attention optimization: xformers... done.
Model loaded in 2.6s (load weights from disk: 0.1s, create model: 0.7s, apply weights to model: 1.5s, calculate empty prompt: 0.1s).
To create a public link, set `share=True` in `launch()`.
Startup time: 17.9s (prepare environment: 2.8s, import torch: 4.8s, import gradio: 1.4s, setup paths: 1.4s, initialize shared: 0.3s, other imports: 0.8s, list SD models: 0.1s, load scripts: 1.2s, create ui: 0.6s, gradio launch: 4.4s, add APIs: 0.2s).
100%|██████████| 20/20 [00:03<00:00, 6.07it/s]
Total progress: 100%|██████████| 20/20 [00:02<00:00, 7.01it/s]s]
Will test a few more variations.
Here it is with only extra (not built-in) extensions, and it is broken as I expected (adding an update below, it's partially working):
Console (note that some of that cruft comes from built-in extensions):
fatal: No names found, cannot describe anything.
Python 3.10.11 (tags/v3.10.11:7d4cc5a, Apr 5 2023, 00:38:17) [MSC v.1929 64 bit (AMD64)]
Version: 1.8.0-RC
Commit hash: fafb0b581bb2b6ba78b62dfba8c95eee6925ce76
Launching Web UI with arguments: --server-name 0.0.0.0 --xformers --api --skip-python-version-check --no-download-sd-model --disable-extra-extensions
*** "--disable-extra-extensions" arg was used, will only load built-in extensions ***
reading lora D:\hal\stable-diffusion\StabilityMatrix\Packages\Stable Diffusion Web UI-UX\models\Lora\sdxl_lightning_2step_lora.safetensors: AssertionError
Traceback (most recent call last):
File "D:\hal\stable-diffusion\StabilityMatrix\Packages\Stable Diffusion Web UI-UX\extensions-builtin\Lora\network.py", line 38, in __init__
self.metadata = cache.cached_data_for_file('safetensors-metadata', "lora/" + self.name, filename, read_metadata)
File "D:\hal\stable-diffusion\StabilityMatrix\Packages\Stable Diffusion Web UI-UX\modules\cache.py", line 114, in cached_data_for_file
value = func()
File "D:\hal\stable-diffusion\StabilityMatrix\Packages\Stable Diffusion Web UI-UX\extensions-builtin\Lora\network.py", line 31, in read_metadata
metadata = sd_models.read_metadata_from_safetensors(filename)
File "D:\hal\stable-diffusion\StabilityMatrix\Packages\Stable Diffusion Web UI-UX\modules\sd_models.py", line 283, in read_metadata_from_safetensors
assert metadata_len > 2 and json_start in (b'{"', b"{'"), f"{filename} is not a safetensors file"
AssertionError: D:\hal\stable-diffusion\StabilityMatrix\Packages\Stable Diffusion Web UI-UX\models\Lora\sdxl_lightning_2step_lora.safetensors is not a safetensors file
reading lora D:\hal\stable-diffusion\StabilityMatrix\Packages\Stable Diffusion Web UI-UX\models\Lora\sdxl_lightning_8step_lora.safetensors: AssertionError
Traceback (most recent call last):
File "D:\hal\stable-diffusion\StabilityMatrix\Packages\Stable Diffusion Web UI-UX\extensions-builtin\Lora\network.py", line 38, in __init__
self.metadata = cache.cached_data_for_file('safetensors-metadata', "lora/" + self.name, filename, read_metadata)
File "D:\hal\stable-diffusion\StabilityMatrix\Packages\Stable Diffusion Web UI-UX\modules\cache.py", line 114, in cached_data_for_file
value = func()
File "D:\hal\stable-diffusion\StabilityMatrix\Packages\Stable Diffusion Web UI-UX\extensions-builtin\Lora\network.py", line 31, in read_metadata
metadata = sd_models.read_metadata_from_safetensors(filename)
File "D:\hal\stable-diffusion\StabilityMatrix\Packages\Stable Diffusion Web UI-UX\modules\sd_models.py", line 283, in read_metadata_from_safetensors
assert metadata_len > 2 and json_start in (b'{"', b"{'"), f"{filename} is not a safetensors file"
AssertionError: D:\hal\stable-diffusion\StabilityMatrix\Packages\Stable Diffusion Web UI-UX\models\Lora\sdxl_lightning_8step_lora.safetensors is not a safetensors file
Loading weights [15012c538f] from D:\hal\stable-diffusion\StabilityMatrix\Packages\Stable Diffusion Web UI-UX\models\Stable-diffusion\sd15\realisticVisionV51_v51VAE.safetensors
Creating model from config: D:\hal\stable-diffusion\StabilityMatrix\Packages\Stable Diffusion Web UI-UX\configs\v1-inference.yaml
Running on local URL: http://0.0.0.0:7860
Applying attention optimization: xformers... done.
Model loaded in 2.4s (load weights from disk: 0.1s, create model: 0.3s, apply weights to model: 1.7s, calculate empty prompt: 0.1s).
To create a public link, set `share=True` in `launch()`.
Startup time: 18.2s (prepare environment: 2.7s, import torch: 4.6s, import gradio: 1.3s, setup paths: 1.3s, initialize shared: 0.3s, other imports: 0.8s, list SD models: 0.1s, load scripts: 1.5s, create ui: 1.2s, gradio launch: 4.2s, add APIs: 0.2s).
Update. By disabling extra extensions, it loads -- kinda. As you see in these pics, it is not happy. This is Chrome, but it breaks the exact same in Safari,.
All of the extra network pages say Loading like this:
Extensions tab also fails to load:
Last update for now, here's the same server with same config as above (disabled extra extensions), working just fine from Android, which is what confuses me so much.
Thank you for your feedback. Unfortunately, I do not have any Apple devices to test. There is an advanced selector that you can check if your current browser supports at https://caniuse.com/css-has.
Checklist
What happened?
Main interface will not load at all on iPad. Most times I will see only the "Stable Diffusion" window title, and a blank screen, and page load will stop. (Stop button changes to refresh.) Occasionally, with multiple refresh attempts and after a very long delay (>60s ? So long, it's not worth timing), the SDUX loading screen text will appear, but never progresses past that.
I've had it load from this same device previously, but I had not been running SDUX for some months, so I do not know what may have changed. Suspect it's Gradio, but this is very hard to troubleshoot from mobile device without access to js console. Happy to help troubleshoot though if you have some tricks.
Works fine from multiple PCs, Macs, and Android devices in my possession.
Steps to reproduce the problem
What should have happened?
All the things
What browsers do you use to access the UI ?
Google Chrome, Brave, Apple Safari, Android, iOS
Sysinfo
sysinfo-2024-04-06-15-48.json
Console logs
Additional information
No response