mirror of
https://git.datalinker.icu/kijai/ComfyUI-CogVideoXWrapper.git
synced 2025-12-08 20:34:23 +08:00
Update pipeline_cogvideox.py
This commit is contained in:
parent
8d6e53b556
commit
c71bca9350
@ -507,6 +507,7 @@ class CogVideoXPipeline(DiffusionPipeline, CogVideoXLoraLoaderMixin):
|
|||||||
image_cond_latents = image_cond_latents.repeat(1, latents.shape[1], 1, 1, 1)
|
image_cond_latents = image_cond_latents.repeat(1, latents.shape[1], 1, 1, 1)
|
||||||
else:
|
else:
|
||||||
logger.info(f"Received {image_cond_latents.shape[1]} image conditioning frames")
|
logger.info(f"Received {image_cond_latents.shape[1]} image conditioning frames")
|
||||||
|
image_cond_latents = image_cond_latents.to(self.vae_dtype)
|
||||||
|
|
||||||
# 6. Prepare extra step kwargs. TODO: Logic should ideally just be moved out of the pipeline
|
# 6. Prepare extra step kwargs. TODO: Logic should ideally just be moved out of the pipeline
|
||||||
extra_step_kwargs = self.prepare_extra_step_kwargs(generator, eta)
|
extra_step_kwargs = self.prepare_extra_step_kwargs(generator, eta)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user