diff --git a/modules/ltx/ltx_process.py b/modules/ltx/ltx_process.py index 8b429a593..cca7e357e 100644 --- a/modules/ltx/ltx_process.py +++ b/modules/ltx/ltx_process.py @@ -135,11 +135,12 @@ def run_ltx(task_id, "height": get_bucket(height), "num_frames": get_frames(frames), "num_inference_steps": steps, - "image_cond_noise_scale": image_cond_noise_scale, "generator": get_generator(seed), "callback_on_step_end": diffusers_callback, "output_type": "latent", } + if 'Condition' in shared.sd_model.__class__.__name__: + base_args["image_cond_noise_scale"] = image_cond_noise_scale shared.log.debug(f'Video: cls={shared.sd_model.__class__.__name__} op=base {base_args}') if len(conditions) > 0: base_args["conditions"] = conditions