Diffusers
Safetensors
English
wanghaofan commited on
Commit
9029417
·
verified ·
1 Parent(s): b8c1258

Update pipeline_flux_de_distill.py

Browse files
Files changed (1) hide show
  1. pipeline_flux_de_distill.py +1 -1
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=latents,
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,