Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I get this error #195

Open
breiti35 opened this issue Dec 28, 2023 · 3 comments
Open

I get this error #195

breiti35 opened this issue Dec 28, 2023 · 3 comments
Labels
bug Something isn't working

Comments

@breiti35
Copy link

ERROR:root:!!! Exception during processing !!!
ERROR:root:lib_comfyui.ipc.callback.RemoteError: 'Module' object has no attribute 'transformer'

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "G:\auto\stable-diffusion-webui\extensions\sd-webui-comfyui\ComfyUI\execution.py", line 153, in recursive_execute
output_data, output_ui = get_output_data(obj, input_data_all)
File "G:\auto\stable-diffusion-webui\extensions\sd-webui-comfyui\ComfyUI\execution.py", line 83, in get_output_data
return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True)
File "G:\auto\stable-diffusion-webui\extensions\sd-webui-comfyui\ComfyUI\execution.py", line 76, in map_node_over_list
results.append(getattr(obj, func)(**slice_dict(input_data_all, i)))
File "G:\auto\stable-diffusion-webui\extensions\sd-webui-comfyui\comfyui_custom_nodes\webui_proxy_nodes.py", line 23, in load_checkpoint
proxies.ClipWrapper(proxies.Clip()),
File "G:\auto\stable-diffusion-webui\extensions\sd-webui-comfyui\lib_comfyui\webui\proxies.py", line 144, in init
self.patcher = ModelPatcher(self.cond_stage_model)
File "G:\auto\stable-diffusion-webui\extensions\sd-webui-comfyui\lib_comfyui\webui\proxies.py", line 14, in init
self.load_device = model.device
File "G:\auto\stable-diffusion-webui\extensions\sd-webui-comfyui\lib_comfyui\webui\proxies.py", line 235, in getattr
res = Clip.sd_clip_getattr(item)
File "G:\auto\stable-diffusion-webui\extensions\sd-webui-comfyui\lib_comfyui\ipc_init_.py", line 20, in wrapper
res = current_callback_proxies[process_id].get(args=(function.module, function.qualname, args, kwargs))
File "G:\auto\stable-diffusion-webui\extensions\sd-webui-comfyui\lib_comfyui\ipc\callback.py", line 73, in get
raise res.error from res
AttributeError: 'Module' object has no attribute 'transformer'

Screenshot 2023-12-28 182605

@ljleb
Copy link
Contributor

ljleb commented Dec 28, 2023

Currently the webui checkpoint node is very unstable and not actively maintained. Plads and I are prioritizing issues that break the extension completely. If other people complain about this node I will consider looking into fixing the code.

A basic thing that needs to be done is opening an issue in comfyui to request for a more stable programming interface that supports our use case. I will do this later today.

@azamet90
Copy link

Currently the webui checkpoint node is very unstable and not actively maintained. Plads and I are prioritizing issues that break the extension completely. If other people complain about this node I will consider looking into fixing the code.

A basic thing that needs to be done is opening an issue in comfyui to request for a more stable programming interface that supports our use case. I will do this later today.

i dont know if this is the same bug but also have this one:

*** Error running postprocess_batch_list: /home/xxx/Masaüstü/stable-diffusion-webui/extensions/sd-webui-comfyui/scripts/comfyui.py[00:01<00:00,  9.61it/s]
    lib_comfyui.ipc.callback.RemoteError: '72e933d2-9228-4960-8f46-bfcd1fa89238'

    The above exception was the direct cause of the following exception:

    Traceback (most recent call last):
      File "/home/xxx/Masaüstü/stable-diffusion-webui/modules/scripts.py", line 766, in postprocess_batch_list
        script.postprocess_batch_list(p, pp, *script_args, **kwargs)
      File "/home/xxx/Masaüstü/stable-diffusion-webui/extensions/sd-webui-comfyui/scripts/comfyui.py", line 57, in postprocess_batch_list
        iframe_requests.extend_infotext_with_comfyui_workflows(p, self.get_tab())
      File "/home/xxx/Masaüstü/stable-diffusion-webui/extensions/sd-webui-comfyui/lib_comfyui/comfyui/iframe_requests.py", line 121, in extend_infotext_with_comfyui_workflows
        ComfyuiIFrameRequests.validate_amount_of_nodes_or_throw(
      File "/home/xxx/Masaüstü/stable-diffusion-webui/extensions/sd-webui-comfyui/lib_comfyui/ipc/__init__.py", line 41, in wrapper
        return function(*args, **kwargs)
      File "/home/xxx/Masaüstü/stable-diffusion-webui/extensions/sd-webui-comfyui/lib_comfyui/comfyui/iframe_requests.py", line 78, in validate_amount_of_nodes_or_throw
        workflow_graph = get_workflow_graph(workflow_type_id)
      File "/home/xxx/Masaüstü/stable-diffusion-webui/extensions/sd-webui-comfyui/lib_comfyui/comfyui/iframe_requests.py", line 145, in get_workflow_graph
        return ComfyuiIFrameRequests.send(request='webui_serialize_graph', workflow_type=workflow_type_id)
      File "/home/xxx/Masaüstü/stable-diffusion-webui/extensions/sd-webui-comfyui/lib_comfyui/ipc/__init__.py", line 20, in wrapper
        res = current_callback_proxies[process_id].get(args=(function.__module__, function.__qualname__, args, kwargs))
      File "/home/xxx/Masaüstü/stable-diffusion-webui/extensions/sd-webui-comfyui/lib_comfyui/ipc/callback.py", line 73, in get
        raise res.error from res
    KeyError: '72e933d2-9228-4960-8f46-bfcd1fa89238'

@ljleb
Copy link
Contributor

ljleb commented Jan 28, 2024

No, this is a different bug. This is a known issue where the webui client id needs to be made slightly more robust: #192

@PladsElsker PladsElsker added the bug Something isn't working label Feb 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants