ock_only_cross_attention (bool, optional, defaults to None):
Whether to use cross attention with the mid block when using the UNetMidBlock2DSimpleCrossAttn. If
only_cross_attention is given as a single boolean and mid_block_only_cross_attention is None, the
only_cross_attention value is used as the value for mid_block_only_cross_attention. Default to False
otherwise.  disable_freeu  < source > ( )    Disables the FreeU mechanism.  enable_freeu 