Merge branch 'ryan/remove-attention-map-saving' into ryan/regional-conditioning

This commit is contained in:
Ryan Dick
2024-03-01 11:03:04 -05:00
740 changed files with 24428 additions and 31726 deletions

View File

@ -1 +1,5 @@
"""
Initialization file for invokeai.models.diffusion
"""
from .shared_invokeai_diffusion import InvokeAIDiffuserComponent # noqa: F401

View File

@ -33,6 +33,11 @@ class BasicConditioningInfo:
return self
@dataclass
class ConditioningFieldData:
conditionings: List[BasicConditioningInfo]
@dataclass
class SDXLConditioningInfo(BasicConditioningInfo):
"""SDXL text conditioning information produced by Compel."""

View File

@ -378,7 +378,6 @@ class InvokeAIDiffuserComponent:
"""Runs the conditioned and unconditioned UNet forward passes sequentially for lower memory usage at the cost of
slower execution speed.
"""
# Since we are running the conditioned and unconditioned passes sequentially, we need to split the ControlNet
# and T2I-Adapter residuals into two chunks.
uncond_down_block, cond_down_block = None, None