mirror of
https://git.datalinker.icu/kijai/ComfyUI-CogVideoXWrapper.git
synced 2025-12-09 21:04:23 +08:00
Update pipeline_cogvideox.py
This commit is contained in:
parent
35cb4fde94
commit
7141ab23a5
@ -609,6 +609,11 @@ class CogVideoXPipeline(VideoSysPipeline):
|
||||
controlnet_states = None
|
||||
control_weights= None
|
||||
|
||||
if tora is not None:
|
||||
for module in self.transformer.fuser_list:
|
||||
for param in module.parameters():
|
||||
param.data = param.data.to(device)
|
||||
|
||||
# 10. Denoising loop
|
||||
with self.progress_bar(total=num_inference_steps) as progress_bar:
|
||||
old_pred_original_sample = None # for DPM-solver++
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user