Spaces:
Runtime error
Runtime error
adaface-neurips
commited on
Commit
·
07ac181
1
Parent(s):
80ef555
Add comment
Browse files
lib/pipeline_ConsistentID.py
CHANGED
@@ -537,6 +537,7 @@ class ConsistentIDPipeline(StableDiffusionPipeline):
|
|
537 |
latent_model_input = (
|
538 |
torch.cat([latents] * 2) if do_classifier_free_guidance else latents
|
539 |
)
|
|
|
540 |
latent_model_input = self.scheduler.scale_model_input(latent_model_input, t)
|
541 |
|
542 |
if i <= start_merge_step:
|
|
|
537 |
latent_model_input = (
|
538 |
torch.cat([latents] * 2) if do_classifier_free_guidance else latents
|
539 |
)
|
540 |
+
# DDIM doesn't scale latent_model_input.
|
541 |
latent_model_input = self.scheduler.scale_model_input(latent_model_input, t)
|
542 |
|
543 |
if i <= start_merge_step:
|