1inkusFace commited on
Commit
ab2c286
·
verified ·
1 Parent(s): 30fa0a8

Update pipeline_stable_diffusion_3_ipa.py

Browse files
Files changed (1) hide show
  1. pipeline_stable_diffusion_3_ipa.py +1 -1
pipeline_stable_diffusion_3_ipa.py CHANGED
@@ -1191,7 +1191,7 @@ class StableDiffusion3Pipeline(DiffusionPipeline, SD3LoraLoaderMixin, FromSingle
1191
 
1192
  # Add a ReLU activation for non-linearity (optional)
1193
  combined_embeds = torch.relu(combined_embeds)
1194
- clip_image_embeds = clip_image_embeds #torch.cat(image_prompt_embeds_list).mean(dim=0).unsqueeze(0)
1195
 
1196
  # 4. Prepare timesteps
1197
  timesteps, num_inference_steps = retrieve_timesteps(self.scheduler, num_inference_steps, device, timesteps)
 
1191
 
1192
  # Add a ReLU activation for non-linearity (optional)
1193
  combined_embeds = torch.relu(combined_embeds)
1194
+ clip_image_embeds = combined_embeds #torch.cat(image_prompt_embeds_list).mean(dim=0).unsqueeze(0)
1195
 
1196
  # 4. Prepare timesteps
1197
  timesteps, num_inference_steps = retrieve_timesteps(self.scheduler, num_inference_steps, device, timesteps)