1inkusFace commited on
Commit
a127d4d
·
verified ·
1 Parent(s): 3618c18

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
@@ -1219,7 +1219,7 @@ class StableDiffusion3Pipeline(DiffusionPipeline, SD3LoraLoaderMixin, FromSingle
1219
  seq_len, _ = clip_image_embeds_cat_list.shape
1220
  clip_image_embeds_cat_list_repeat = clip_image_embeds_cat_list.repeat(1, 1, 1)
1221
  print('catted embeds repeat: ',clip_image_embeds_cat_list_repeat.shape)
1222
- clip_image_embeds_view = clip_image_embeds_cat_list_repeat.view(bs_embed * 1, seq_len, -1)
1223
  print('catted viewed: ',clip_image_embeds_view.shape)
1224
  zeros_tensor = torch.zeros_like(clip_image_embeds_view)
1225
  print('zeros: ',zeros_tensor.shape)
 
1219
  seq_len, _ = clip_image_embeds_cat_list.shape
1220
  clip_image_embeds_cat_list_repeat = clip_image_embeds_cat_list.repeat(1, 1, 1)
1221
  print('catted embeds repeat: ',clip_image_embeds_cat_list_repeat.shape)
1222
+ clip_image_embeds_view = clip_image_embeds_cat_list_repeat.view(1, seq_len, -1)
1223
  print('catted viewed: ',clip_image_embeds_view.shape)
1224
  zeros_tensor = torch.zeros_like(clip_image_embeds_view)
1225
  print('zeros: ',zeros_tensor.shape)