Fixed the influence of the model on other nodes due to the influence of reference passing by LCM

This commit is contained in:
Limitex
2024-01-02 14:13:45 +09:00
parent d93ed0180a
commit ed47a405ff
+1
View File
@@ -301,6 +301,7 @@ class StreamDiffusionCreateStream:
def load_stream(self, maked_pipeline, t_index_list, width, height, do_add_noise, use_denoising_batch, frame_buffer_size, cfg_type, xformers_memory_efficient_attention, lcm_lora, tiny_vae):
maked_pipeline = copy.deepcopy(maked_pipeline)
lcm_lora = copy.deepcopy(lcm_lora)
stream = StreamDiffusion(
pipe = maked_pipeline,
t_index_list = t_index_list,