StableCascade icon indicating copy to clipboard operation
StableCascade copied to clipboard

This Workflow Requires PEFT Backend?

Open Torcelllo opened this issue 1 year ago • 1 comments

When using this w/flow (Win 10, 8Gb VRAM RTX2070, 64Gb RAM)

workflow2

Error occurred when executing StreamDiffusionCreateStream:

PEFT backend is required for this method.

File "B:\ComfyUI\execution.py", line 152, in recursive_execute output_data, output_ui = get_output_data(obj, input_data_all) File "B:\ComfyUI\execution.py", line 82, in get_output_data return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True) File "B:\ComfyUI\execution.py", line 75, in map_node_over_list results.append(getattr(obj, func)(**slice_dict(input_data_all, i))) File "B:\ComfyUI\custom_nodes\ComfyUI-Diffusers\nodes.py", line 264, in load_stream stream.load_lcm_lora(lcm_lora) File "C:\Users\john_\AppData\Local\Programs\Python\Python310\lib\site-packages\streamdiffusion\pipeline.py", line 87, in load_lcm_lora self.pipe.load_lora_weights( File "B:\ComfyUI\custom_nodes\ComfyUI-DiffusersStableCascade\src\diffusers\src\diffusers\loaders\lora.py", line 107, in load_lora_weights raise ValueError("PEFT backend is required for this method.")

Torcelllo avatar Feb 16 '24 10:02 Torcelllo

The error message is very confusing. Someone looked into the code and found the error is caused by version of transformers. I upgraded my transformers (from transformers-4.32.1 to transformers-4.39.1) then everything runs smoothly. pip install -U peft transformers

Ellen-Gu avatar Mar 27 '24 04:03 Ellen-Gu