bool]] = False
block_out_channels: typing.Tuple[int] = (320, 640, 1280, 1280)
layers_per_block: typing.Union[int, typing.Tuple[int]] = 2
downsample_padding: int = 1
mid_block_scale_factor: float = 1
act_fn: str = 'silu'
norm_num_groups: typing.Optional[int] = 32
norm_eps: float = 1e-05
cross_attention_dim: typing.Union[int, typing.Tuple[int]] = 1280
encoder_hid_dim: typing.Optional[int] = None
encoder_hid_dim_type: typing.Optional[str] = None
a