1inkusFace commited on
Commit
ade253a
·
verified ·
1 Parent(s): 0c2456a

Update pipeline_stable_diffusion_3_ipa.py

Browse files
Files changed (1) hide show
  1. pipeline_stable_diffusion_3_ipa.py +0 -1
pipeline_stable_diffusion_3_ipa.py CHANGED
@@ -1209,7 +1209,6 @@ class StableDiffusion3Pipeline(DiffusionPipeline, SD3LoraLoaderMixin, FromSingle
1209
  #zeros_tensor = torch.zeros_like(clip_image_embeds_view[:, :image_prompt_embeds_list[0].shape[1], :]) # Make zeros tensor match the sequence length of a single image embedding
1210
  print('zeros: ',zeros_tensor.shape)
1211
  clip_image_embeds = torch.cat([zeros_tensor, clip_image_embeds_view], dim=0)
1212
- clip_image_embeds = clip_image_embeds_view
1213
  print('embeds shape: ', clip_image_embeds.shape)
1214
 
1215
  # 4. Prepare timesteps
 
1209
  #zeros_tensor = torch.zeros_like(clip_image_embeds_view[:, :image_prompt_embeds_list[0].shape[1], :]) # Make zeros tensor match the sequence length of a single image embedding
1210
  print('zeros: ',zeros_tensor.shape)
1211
  clip_image_embeds = torch.cat([zeros_tensor, clip_image_embeds_view], dim=0)
 
1212
  print('embeds shape: ', clip_image_embeds.shape)
1213
 
1214
  # 4. Prepare timesteps