[X] I have searched the existing issues and checked the recent builds/commits
What happened?
This started a bit ago, seemingly out of nowhere when attempting to run webui.sh
If memory serves, the only two things I did out of the ordinary prior to this error showing up were:
I updated pip
I ran Easy Diffusion by mistake and closed it
That's it.
I tried restarting my computer; nothing.
In my attempt to search for a solution, I found a thread suggesting to install transformers so I did so (pip install transformers) successfully but that accomplished nothing.
Steps to reproduce the problem
Occurs on start after running webui.sh
What should have happened?
it should run the webui
Commit where the problem happens
22bcc7be428c94e9408f589966c2040187245d81
What platforms do you use to access the UI ?
Linux
What browsers do you use to access the UI ?
Mozilla Firefox
Command Line Arguments
No
List of extensions
I am but I can't access the UI. None have been installed in the last ~3wks+
Console logs
$ ./webui.sh
################################################################
Install script for stable-diffusion + Web UI
Tested on Debian 11 (Bullseye)
################################################################
################################################################
Running on kymus user
################################################################
################################################################
Repo already cloned, using it as install directory
################################################################
################################################################
Create and activate python venv
################################################################
################################################################
Launching launch.py...
################################################################
Python 3.10.11 (main, Apr 5 2023, 00:00:00) [GCC 12.2.1 20221121 (Red Hat 12.2.1-4)]
Commit hash: 22bcc7be428c94e9408f589966c2040187245d81
Installing requirements for Web UI
Installing sd-dynamic-prompts requirements.txt
Launching Web UI with arguments:
No module 'xformers'. Proceeding without it.
Traceback (most recent call last):
File "/home/kymus/stable-diffusion-webui/launch.py", line 356, in <module>
start()
File "/home/kymus/stable-diffusion-webui/launch.py", line 347, in start
import webui
File "/home/kymus/stable-diffusion-webui/webui.py", line 31, in <module>
from modules import extra_networks, ui_extra_networks_checkpoints
File "/home/kymus/stable-diffusion-webui/modules/ui_extra_networks_checkpoints.py", line 5, in <module>
from modules import shared, ui_extra_networks, sd_models
File "/home/kymus/stable-diffusion-webui/modules/ui_extra_networks.py", line 8, in <module>
from modules.images import read_info_from_image
File "/home/kymus/stable-diffusion-webui/modules/images.py", line 21, in <module>
from modules import sd_samplers, shared, script_callbacks, errors
File "/home/kymus/stable-diffusion-webui/modules/sd_samplers.py", line 1, in <module>
from modules import sd_samplers_compvis, sd_samplers_kdiffusion, shared
File "/home/kymus/stable-diffusion-webui/modules/sd_samplers_compvis.py", line 9, in <module>
from modules import sd_samplers_common, prompt_parser, shared
File "/home/kymus/stable-diffusion-webui/modules/sd_samplers_common.py", line 5, in <module>
from modules import devices, processing, images, sd_vae_approx
File "/home/kymus/stable-diffusion-webui/modules/processing.py", line 15, in <module>
import modules.sd_hijack
File "/home/kymus/stable-diffusion-webui/modules/sd_hijack.py", line 9, in <module>
from modules import sd_hijack_clip, sd_hijack_open_clip, sd_hijack_unet, sd_hijack_xlmr, xlmr
File "/home/kymus/stable-diffusion-webui/modules/sd_hijack_unet.py", line 73, in <module>
CondFunc('open_clip.transformer.ResidualAttentionBlock.__init__', lambda orig_func, *args, **kwargs: kwargs.update({'act_layer': GELUHijack}) and False or orig_func(*args, **kwargs), lambda _, *args, **kwargs: kwargs.get('act_layer') is None or kwargs['act_layer'] == torch.nn.GELU)
File "/home/kymus/stable-diffusion-webui/modules/sd_hijack_utils.py", line 15, in __new__
resolved_obj = getattr(resolved_obj, attr_name)
AttributeError: module 'open_clip' has no attribute 'transformer'. Did you mean: 'transform'?
Is there an existing issue for this?
What happened?
This started a bit ago, seemingly out of nowhere when attempting to run webui.sh
If memory serves, the only two things I did out of the ordinary prior to this error showing up were:
That's it.
I tried restarting my computer; nothing.
In my attempt to search for a solution, I found a thread suggesting to install transformers so I did so (pip install transformers) successfully but that accomplished nothing.
Steps to reproduce the problem
Occurs on start after running webui.sh
What should have happened?
it should run the webui
Commit where the problem happens
22bcc7be428c94e9408f589966c2040187245d81
What platforms do you use to access the UI ?
Linux
What browsers do you use to access the UI ?
Mozilla Firefox
Command Line Arguments
List of extensions
I am but I can't access the UI. None have been installed in the last ~3wks+
Console logs
Additional information
No response