mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2025-01-25 15:55:18 +00:00
Model patches can now know which batch is positive and negative.
This commit is contained in:
parent
1d6dd83184
commit
fff491b032
@ -538,6 +538,8 @@ class BasicTransformerBlock(nn.Module):
|
||||
if "block" in transformer_options:
|
||||
block = transformer_options["block"]
|
||||
extra_options["block"] = block
|
||||
if "cond_or_uncond" in transformer_options:
|
||||
extra_options["cond_or_uncond"] = transformer_options["cond_or_uncond"]
|
||||
if "patches" in transformer_options:
|
||||
transformer_patches = transformer_options["patches"]
|
||||
else:
|
||||
|
Loading…
Reference in New Issue
Block a user