Spaces:
Runtime error
Runtime error
Update pipeline_stable_diffusion_3_ipa.py
Browse files
pipeline_stable_diffusion_3_ipa.py
CHANGED
@@ -1198,7 +1198,7 @@ class StableDiffusion3Pipeline(DiffusionPipeline, SD3LoraLoaderMixin, FromSingle
|
|
1198 |
print('catted embeds list without mean: ', clip_image_embeds_cat.shape)
|
1199 |
zeros_tensor = torch.zeros_like(clip_image_embeds_cat)
|
1200 |
print('zeros: ',zeros_tensor.shape)
|
1201 |
-
clip_image_embeds = torch.cat([zeros_tensor,
|
1202 |
print('embeds shape: ', clip_image_embeds.shape)
|
1203 |
|
1204 |
# 4. Prepare timesteps
|
|
|
1198 |
print('catted embeds list without mean: ', clip_image_embeds_cat.shape)
|
1199 |
zeros_tensor = torch.zeros_like(clip_image_embeds_cat)
|
1200 |
print('zeros: ',zeros_tensor.shape)
|
1201 |
+
clip_image_embeds = torch.cat([zeros_tensor, clip_image_embeds_cat], dim=1)
|
1202 |
print('embeds shape: ', clip_image_embeds.shape)
|
1203 |
|
1204 |
# 4. Prepare timesteps
|