Skip to content
Merged
Show file tree
Hide file tree
Changes from 9 commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
cf1f570
Update pipeline_controlnet_inpaint_sd_xl.py
CyberVy Feb 23, 2025
4145cf5
Update pipeline_controlnet_sd_xl_img2img.py
CyberVy Feb 23, 2025
96d7dc7
Update pipeline_controlnet_union_inpaint_sd_xl.py
CyberVy Feb 23, 2025
901428d
Update pipeline_controlnet_union_sd_xl_img2img.py
CyberVy Feb 23, 2025
f73cfc9
Update pipeline_controlnet_inpaint_sd_xl.py
CyberVy Feb 23, 2025
9322c1f
Update pipeline_controlnet_sd_xl_img2img.py
CyberVy Feb 23, 2025
fd948d4
Update pipeline_controlnet_union_inpaint_sd_xl.py
CyberVy Feb 23, 2025
6a147a0
Update pipeline_controlnet_union_sd_xl_img2img.py
CyberVy Feb 23, 2025
cc3e455
Merge branch 'main' into sdxl_controlnet_inpaint_and_img2img_callback…
CyberVy Feb 24, 2025
4b437c3
Apply make style and make fix-copies fixes
CyberVy Feb 24, 2025
4c3a4fa
Merge branch 'main' into sdxl_controlnet_inpaint_and_img2img_callback…
CyberVy Feb 25, 2025
4f4aa0c
Merge branch 'main' into sdxl_controlnet_inpaint_and_img2img_callback…
CyberVy Feb 25, 2025
94a00a3
Update geodiff_molecule_conformation.ipynb
CyberVy Feb 25, 2025
75d7e57
Delete examples/research_projects/geodiff/geodiff_molecule_conformati…
CyberVy Feb 25, 2025
53ef9ed
Delete examples/research_projects/gligen/demo.ipynb
CyberVy Feb 25, 2025
d196d83
Create geodiff_molecule_conformation.ipynb
CyberVy Feb 25, 2025
fb900cc
Create demo.ipynb
CyberVy Feb 25, 2025
ecf5763
Update geodiff_molecule_conformation.ipynb
CyberVy Feb 25, 2025
f50d6b9
Update geodiff_molecule_conformation.ipynb
CyberVy Feb 25, 2025
6362050
Delete examples/research_projects/geodiff/geodiff_molecule_conformati…
CyberVy Feb 25, 2025
0177efa
Add files via upload
CyberVy Feb 25, 2025
252457a
Delete src/diffusers/pipelines/controlnet/pipeline_controlnet_inpaint.py
CyberVy Feb 25, 2025
fbb1acf
Add files via upload
CyberVy Feb 25, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,7 @@ class StableDiffusionXLControlNetInpaintPipeline(
"add_neg_time_ids",
"mask",
"masked_image_latents",
"control_image"
]

def __init__(
Expand Down Expand Up @@ -1835,6 +1836,8 @@ def denoising_value_valid(dnv):
latents = callback_outputs.pop("latents", latents)
prompt_embeds = callback_outputs.pop("prompt_embeds", prompt_embeds)
negative_prompt_embeds = callback_outputs.pop("negative_prompt_embeds", negative_prompt_embeds)
control_image = callback_outputs.pop("control_image", control_image)


# call the callback, if provided
if i == len(timesteps) - 1 or ((i + 1) > num_warmup_steps and (i + 1) % self.scheduler.order == 0):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -242,6 +242,7 @@ class StableDiffusionXLControlNetImg2ImgPipeline(
"add_time_ids",
"negative_pooled_prompt_embeds",
"add_neg_time_ids",
"control_image"
]

def __init__(
Expand Down Expand Up @@ -1614,6 +1615,7 @@ def __call__(
)
add_time_ids = callback_outputs.pop("add_time_ids", add_time_ids)
add_neg_time_ids = callback_outputs.pop("add_neg_time_ids", add_neg_time_ids)
control_image = callback_outputs.pop("control_image", control_image)

# call the callback, if provided
if i == len(timesteps) - 1 or ((i + 1) > num_warmup_steps and (i + 1) % self.scheduler.order == 0):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,7 @@ class StableDiffusionXLControlNetUnionInpaintPipeline(
"add_time_ids",
"mask",
"masked_image_latents",
"control_image"
]

def __init__(
Expand Down Expand Up @@ -1743,6 +1744,7 @@ def denoising_value_valid(dnv):
latents = callback_outputs.pop("latents", latents)
prompt_embeds = callback_outputs.pop("prompt_embeds", prompt_embeds)
negative_prompt_embeds = callback_outputs.pop("negative_prompt_embeds", negative_prompt_embeds)
control_image = callback_outputs.pop("control_image", control_image)

# call the callback, if provided
if i == len(timesteps) - 1 or ((i + 1) > num_warmup_steps and (i + 1) % self.scheduler.order == 0):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -257,6 +257,7 @@ class StableDiffusionXLControlNetUnionImg2ImgPipeline(
"prompt_embeds",
"add_text_embeds",
"add_time_ids",
"control_image"
]

def __init__(
Expand Down Expand Up @@ -1562,6 +1563,7 @@ def __call__(
prompt_embeds = callback_outputs.pop("prompt_embeds", prompt_embeds)
add_text_embeds = callback_outputs.pop("add_text_embeds", add_text_embeds)
add_time_ids = callback_outputs.pop("add_time_ids", add_time_ids)
control_image = callback_outputs.pop("control_image", control_image)

# call the callback, if provided
if i == len(timesteps) - 1 or ((i + 1) > num_warmup_steps and (i + 1) % self.scheduler.order == 0):
Expand Down
Loading