diff --git a/fastvideo/training/training_pipeline.py b/fastvideo/training/training_pipeline.py index 0e23783ed..12b457aac 100644 --- a/fastvideo/training/training_pipeline.py +++ b/fastvideo/training/training_pipeline.py @@ -209,9 +209,9 @@ class TrainingPipeline(LoRAPipeline, ABC): def _normalize_dit_input(self, training_batch: TrainingBatch) -> TrainingBatch: # TODO(will): support other models - training_batch.latents = normalize_dit_input( - 'wan', training_batch.latents, - self.validation_pipeline.get_module("vae")) + training_batch.latents = normalize_dit_input('wan', + training_batch.latents, + self.get_module("vae")) return training_batch def _prepare_dit_inputs(self,