feat(conditioning): add regional prompting and SEP-local LoRAs
This commit is contained in:
@@ -62,6 +62,7 @@ def sample_mixture_of_diffusers(
|
||||
latent_tile_batch_size: int,
|
||||
preview_context: DetailPreviewContext | None = None,
|
||||
differential_diffusion: bool = False,
|
||||
allow_full_context_masks: bool = False,
|
||||
) -> Latent:
|
||||
"""Sample a latent with a cloned model patched for Mixture of Diffusers."""
|
||||
|
||||
@@ -72,8 +73,16 @@ def sample_mixture_of_diffusers(
|
||||
latent_tile_height=latent_tile_height,
|
||||
latent_tile_batch_size=latent_tile_batch_size,
|
||||
)
|
||||
reject_unsupported_conditioning(positive, sampler_label=SAMPLER_LABEL)
|
||||
reject_unsupported_conditioning(negative, sampler_label=SAMPLER_LABEL)
|
||||
reject_unsupported_conditioning(
|
||||
positive,
|
||||
sampler_label=SAMPLER_LABEL,
|
||||
allow_full_context_masks=allow_full_context_masks,
|
||||
)
|
||||
reject_unsupported_conditioning(
|
||||
negative,
|
||||
sampler_label=SAMPLER_LABEL,
|
||||
allow_full_context_masks=allow_full_context_masks,
|
||||
)
|
||||
|
||||
sampler = sampling_samplers.resolve_sampler(sampler_name)
|
||||
sigmas = sampling_schedulers.calculate_sigmas(
|
||||
|
||||
Reference in New Issue
Block a user