wanghaofan
commited on
Update pipeline_flux_de_distill.py
Browse files
pipeline_flux_de_distill.py
CHANGED
@@ -739,7 +739,7 @@ class FluxPipeline(DiffusionPipeline, FluxLoraLoaderMixin, FromSingleFileMixin):
|
|
739 |
timestep = t.expand(latent_model_input.shape[0])
|
740 |
|
741 |
noise_pred = self.transformer(
|
742 |
-
hidden_states=
|
743 |
timestep=timestep / 1000,
|
744 |
pooled_projections=pooled_prompt_embeds,
|
745 |
encoder_hidden_states=prompt_embeds,
|
|
|
739 |
timestep = t.expand(latent_model_input.shape[0])
|
740 |
|
741 |
noise_pred = self.transformer(
|
742 |
+
hidden_states=latent_model_input,
|
743 |
timestep=timestep / 1000,
|
744 |
pooled_projections=pooled_prompt_embeds,
|
745 |
encoder_hidden_states=prompt_embeds,
|