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

Error occurred when executing LoRALoader #48

Open
RamonGuthrie opened this issue Jan 22, 2024 · 2 comments
Open

Error occurred when executing LoRALoader #48

RamonGuthrie opened this issue Jan 22, 2024 · 2 comments

Comments

@RamonGuthrie
Copy link

Error occurred when executing LoRALoader:

PEFT backend is required for set_adapters().

File "D:\Stable_Diffusion\ComfyUI_windows_portable_nightly_pytorch\ComfyUI\execution.py", line 155, in recursive_execute
output_data, output_ui = get_output_data(obj, input_data_all)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\Stable_Diffusion\ComfyUI_windows_portable_nightly_pytorch\ComfyUI\execution.py", line 85, in get_output_data
return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\Stable_Diffusion\ComfyUI_windows_portable_nightly_pytorch\ComfyUI\execution.py", line 78, in map_node_over_list
results.append(getattr(obj, func)(**slice_dict(input_data_all, i)))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\Stable_Diffusion\ComfyUI_windows_portable_nightly_pytorch\ComfyUI\custom_nodes\ComfyUI-PhotoMaker\PhotoMakerNode.py", line 196, in load_lora
pipe.set_adapters(["photomaker", unique_adapter_name], adapter_weights=adapter_weights)
File "D:\Stable_Diffusion\ComfyUI_windows_portable_nightly_pytorch\python_embeded\Lib\site-packages\diffusers\loaders\lora.py", line 1247, in set_adapters
unet.set_adapters(adapter_names, adapter_weights)
File "D:\Stable_Diffusion\ComfyUI_windows_portable_nightly_pytorch\python_embeded\Lib\site-packages\diffusers\loaders\unet.py", line 592, in set_adapters
raise ValueError("PEFT backend is required for set_adapters().")

image
@DreamLoveBetty
Copy link

同样的问题,有解决方案了吗?

@pstadnyk
Copy link

Ditto, following

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants