Just wanted to inform that I believe after 5 months, maybe it's close to breaking again. I got the error below, and after spending half an hour figuring out a temporary fix, I managed to get it running by restarting the module. However, I believe it's only a matter of time before this also breaks or something idk. Just posting here to give a heads-up
Thanks
Python 3.10.12 (main, Sep 11 2024, 15:47:36) [GCC 11.4.0]
Version: v1.10.1
Commit hash: 82a973c04367123ae98bd9abdf80d9eda9b910e2
Installing clip
Installing open_clip
Cloning assets into /content/stable-diffusion-webui/repositories/stable-diffusion-webui-assets...
Cloning into '/content/stable-diffusion-webui/repositories/stable-diffusion-webui-assets'...
remote: Enumerating objects: 20, done.
remote: Counting objects: 100% (20/20), done.
remote: Compressing objects: 100% (18/18), done.
remote: Total 20 (delta 0), reused 20 (delta 0), pack-reused 0 (from 0)
Receiving objects: 100% (20/20), 132.70 KiB | 1.62 MiB/s, done.
Cloning Stable Diffusion into /content/stable-diffusion-webui/repositories/stable-diffusion-stability-ai...
Cloning into '/content/stable-diffusion-webui/repositories/stable-diffusion-stability-ai'...
remote: Enumerating objects: 580, done.
remote: Counting objects: 100% (3/3), done.
remote: Compressing objects: 100% (3/3), done.
remote: Total 580 (delta 0), reused 0 (delta 0), pack-reused 577 (from 1)
Receiving objects: 100% (580/580), 73.44 MiB | 24.64 MiB/s, done.
Resolving deltas: 100% (281/281), done.
Cloning Stable Diffusion XL into /content/stable-diffusion-webui/repositories/generative-models...
Cloning into '/content/stable-diffusion-webui/repositories/generative-models'...
remote: Enumerating objects: 1064, done.
remote: Counting objects: 100% (477/477), done.
remote: Compressing objects: 100% (124/124), done.
remote: Total 1064 (delta 376), reused 353 (delta 353), pack-reused 587 (from 1)
Receiving objects: 100% (1064/1064), 53.60 MiB | 20.17 MiB/s, done.
Resolving deltas: 100% (562/562), done.
Cloning K-diffusion into /content/stable-diffusion-webui/repositories/k-diffusion...
Cloning into '/content/stable-diffusion-webui/repositories/k-diffusion'...
remote: Enumerating objects: 1345, done.
remote: Counting objects: 100% (646/646), done.
remote: Compressing objects: 100% (86/86), done.
remote: Total 1345 (delta 604), reused 561 (delta 560), pack-reused 699 (from 1)
Receiving objects: 100% (1345/1345), 239.07 KiB | 8.54 MiB/s, done.
Resolving deltas: 100% (944/944), done.
Cloning BLIP into /content/stable-diffusion-webui/repositories/BLIP...
Cloning into '/content/stable-diffusion-webui/repositories/BLIP'...
remote: Enumerating objects: 277, done.
remote: Counting objects: 100% (183/183), done.
remote: Compressing objects: 100% (46/46), done.
remote: Total 277 (delta 145), reused 137 (delta 137), pack-reused 94 (from 1)
Receiving objects: 100% (277/277), 7.04 MiB | 20.52 MiB/s, done.
Resolving deltas: 100% (152/152), done.
Installing requirements
Installing pycloudflared
Launching Web UI with arguments: --opt-sdp-attention --lowram --no-hashing --enable-insecure-extension-access --no-half-vae --disable-safe-unpickle --gradio-queue --ckpt /content/models/obsessionIllustrious_v10.safetensors --ckpt-dir /content/models --vae-dir /content/VAE --remotemoe
2024-10-20 16:13:44.493443: E external/local_xla/xla/stream_executor/cuda/cuda_fft.cc:485] Unable to register cuFFT factory: Attempting to register factory for plugin cuFFT when one has already been registered
2024-10-20 16:13:44.536405: E external/local_xla/xla/stream_executor/cuda/cuda_dnn.cc:8454] Unable to register cuDNN factory: Attempting to register factory for plugin cuDNN when one has already been registered
2024-10-20 16:13:44.549825: E external/local_xla/xla/stream_executor/cuda/cuda_blas.cc:1452] Unable to register cuBLAS factory: Attempting to register factory for plugin cuBLAS when one has already been registered
no module 'xformers'. Processing without...
no module 'xformers'. Processing without...
No module 'xformers'. Proceeding without it.
Image Browser: Creating database
Image Browser: Database created
Tag Autocomplete: Creating frequency database
Tag Autocomplete: Database successfully created
Tag Autocomplete: Could not locate model-keyword extension, Lora trigger word completion will be limited to those added through the extra networks menu.
remote.moe detected, trying to connect...
Saving key "extensions/sd-webui-tunnels/id_rsa" failed: No such file or directory
Warning: Permanently added 'remote.moe' (ED25519) to the list of known hosts.
*** Error loading script: ssh_tunnel.py
Traceback (most recent call last):
File "/content/stable-diffusion-webui/modules/scripts.py", line 515, in load_scripts
script_module = script_loading.load_module(scriptfile.path)
File "/content/stable-diffusion-webui/modules/script_loading.py", line 13, in load_module
module_spec.loader.exec_module(module)
File "", line 883, in exec_module
File "", line 241, in _call_with_frames_removed
File "/content/stable-diffusion-webui/extensions/tunnels/scripts/ssh_tunnel.py", line 87, in
ssh_tunnel(REMOTE_MOE)
File "/content/stable-diffusion-webui/extensions/tunnels/scripts/ssh_tunnel.py", line 68, in ssh_tunnel
raise RuntimeError(f"Failed to run {host}")
RuntimeError: Failed to run remote.moe
Loading weights [None] from /content/models/obsessionIllustrious_v10.safetensors
/content/stable-diffusion-webui/extensions/aspect-ratio-preset/scripts/sd-webui-ar.py:414: GradioDeprecationWarning: The style method is deprecated. Please set these arguments in the constructor instead.
arc_calc_height = gr.Button(value="Calculate Height").style(
/content/stable-diffusion-webui/extensions/aspect-ratio-preset/scripts/sd-webui-ar.py:414: GradioDeprecationWarning: Use scale in place of full_width in the constructor. scale=1 will make the button expand, whereas 0 will not.
arc_calc_height = gr.Button(value="Calculate Height").style(
/content/stable-diffusion-webui/extensions/aspect-ratio-preset/scripts/sd-webui-ar.py:422: GradioDeprecationWarning: The style method is deprecated. Please set these arguments in the constructor instead.
arc_calc_width = gr.Button(value="Calculate Width").style(
/content/stable-diffusion-webui/extensions/aspect-ratio-preset/scripts/sd-webui-ar.py:422: GradioDeprecationWarning: Use scale in place of full_width in the constructor. scale=1 will make the button expand, whereas 0 will not.
arc_calc_width = gr.Button(value="Calculate Width").style(
/content/stable-diffusion-webui/extensions/latent-couple-two-shot/scripts/two_shot.py:130: GradioDeprecationWarning: The style method is deprecated. Please set these arguments in the constructor instead.
visual_regions = gr.Gallery(label="Regions").style(grid=(4, 4, 4, 8), height="auto")
/content/stable-diffusion-webui/extensions/latent-couple-two-shot/scripts/two_shot.py:130: GradioDeprecationWarning: The 'grid' parameter will be deprecated. Please use 'columns' in the constructor instead.
visual_regions = gr.Gallery(label="Regions").style(grid=(4, 4, 4, 8), height="auto")
ERROR:fastapi:Form data requires "python-multipart" to be installed.
You can install "python-multipart" with:
pip install python-multipart
Error calling: /content/stable-diffusion-webui/extensions-builtin/extra-options-section/scripts/extra_options_section.py/ui
Traceback (most recent call last):
File "/content/stable-diffusion-webui/modules/scripts.py", line 535, in wrap_call
return func(args, kwargs)
File "/content/stable-diffusion-webui/extensions-builtin/extra-options-section/scripts/extra_options_section.py", line 30, in ui
with gr.Blocks() as interface:
File "/usr/local/lib/python3.10/dist-packages/gradio/blocks.py", line 1531, in exit
self.app = routes.App.create_app(self)
File "/usr/local/lib/python3.10/dist-packages/gradio/routes.py", line 221, in create_app
def login(form_data: OAuth2PasswordRequestForm = Depends()):
File "/usr/local/lib/python3.10/dist-packages/fastapi/routing.py", line 659, in decorator
self.add_api_route(
File "/usr/local/lib/python3.10/dist-packages/fastapi/routing.py", line 598, in add_api_route
route = route_class(
File "/usr/local/lib/python3.10/dist-packages/fastapi/routing.py", line 452, in init
self.body_field = get_body_field(dependant=self.dependant, name=self.unique_id)
File "/usr/local/lib/python3.10/dist-packages/fastapi/dependencies/utils.py", line 766, in get_body_field
check_file_field(final_field)
File "/usr/local/lib/python3.10/dist-packages/fastapi/dependencies/utils.py", line 111, in check_file_field
raise RuntimeError(multipart_not_installed_error) from None
RuntimeError: Form data requires "python-multipart" to be installed.
You can install "python-multipart" with:
pip install python-multipart
ERROR:fastapi:Form data requires "python-multipart" to be installed.
You can install "python-multipart" with:
pip install python-multipart
Traceback (most recent call last):
File "/content/stable-diffusion-webui/launch.py", line 48, in
main()
File "/content/stable-diffusion-webui/launch.py", line 44, in main
start()
File "/content/stable-diffusion-webui/modules/launch_utils.py", line 470, in start
webui.webui()
File "/content/stable-diffusion-webui/webui.py", line 64, in webui
shared.demo = ui.create_ui()
File "/content/stable-diffusion-webui/modules/ui.py", line 267, in create_ui
with gr.Blocks(analytics_enabled=False) as txt2img_interface:
File "/usr/local/lib/python3.10/dist-packages/gradio/blocks.py", line 1531, in exit
self.app = routes.App.create_app(self)
File "/usr/local/lib/python3.10/dist-packages/gradio/routes.py", line 221, in create_app
def login(form_data: OAuth2PasswordRequestForm = Depends()):
File "/usr/local/lib/python3.10/dist-packages/fastapi/routing.py", line 659, in decorator
self.add_api_route(
File "/usr/local/lib/python3.10/dist-packages/fastapi/routing.py", line 598, in add_api_route
route = route_class(
File "/usr/local/lib/python3.10/dist-packages/fastapi/routing.py", line 452, in init
self.body_field = get_body_field(dependant=self.dependant, name=self.unique_id)
File "/usr/local/lib/python3.10/dist-packages/fastapi/dependencies/utils.py", line 766, in get_body_field
check_file_field(final_field)
File "/usr/local/lib/python3.10/dist-packages/fastapi/dependencies/utils.py", line 111, in check_file_field
raise RuntimeError(multipart_not_installed_error) from None
RuntimeError: Form data requires "python-multipart" to be installed.
You can install "python-multipart" with:
pip install python-multipart
Creating model from config: /content/stable-diffusion-webui/repositories/generative-models/configs/inference/sd_xl_base.yaml
/usr/local/lib/python3.10/dist-packages/huggingface_hub/file_download.py:1150: FutureWarning: resume_download is deprecated and will be removed in version 1.0.0. Downloads always resume when possible. If you want to force a new download, use force_download=True.
warnings.warn(
vocab.json: 100% 961k/961k [00:00<00:00, 3.87MB/s]
merges.txt: 100% 525k/525k [00:00<00:00, 2.13MB/s]
special_tokens_map.json: 100% 389/389 [00:00<00:00, 1.98MB/s]
tokenizer_config.json: 100% 905/905 [00:00<00:00, 6.88MB/s]
config.json: 100% 4.52k/4.52k [00:00<00:00, 24.1MB/s]
Applying attention optimization: sdp... done.
/content/stable-diffusion-webui/modules/safe.py:156: FutureWarning: You are using torch.load with weights_only=False (the current default value), which uses the default pickle module implicitly. It is possible to construct malicious pickle data which will execute arbitrary code during unpickling (See https://github.com/pytorch/pytorch/blob/main/SECURITY.md#untrusted-models for more details). In a future release, the default value for weights_only will be flipped to True. This limits the functions that could be executed during unpickling. Arbitrary objects will no longer be allowed to be loaded via this mode unless they are explicitly allowlisted by the user via torch.serialization.add_safe_globals. We recommend you start setting weights_only=True for any use case where you don't have full control of the loaded file. Please open an issue on GitHub for any issues related to this experimental feature.
return unsafe_torch_load(filename, *args, **kwargs)
Model loaded in 7.3s (load weights from disk: 2.5s, create model: 2.6s, apply weights to model: 0.6s, apply half(): 0.1s, load textual inversion embeddings: 0.7s, calculate empty prompt: 0.6s).
Just wanted to inform that I believe after 5 months, maybe it's close to breaking again. I got the error below, and after spending half an hour figuring out a temporary fix, I managed to get it running by restarting the module. However, I believe it's only a matter of time before this also breaks or something idk. Just posting here to give a heads-up Thanks