StableCascadeUNet
A UNet model from the Stable Cascade pipeline.
StableCascadeUNet
class diffusers.models.StableCascadeUNet
< source >( in_channels: int = 16 out_channels: int = 16 timestep_ratio_embedding_dim: int = 64 patch_size: int = 1 conditioning_dim: int = 2048 block_out_channels: Tuple = (2048, 2048) num_attention_heads: Tuple = (32, 32) down_num_layers_per_block: Tuple = (8, 24) up_num_layers_per_block: Tuple = (24, 8) down_blocks_repeat_mappers: Optional = (1, 1) up_blocks_repeat_mappers: Optional = (1, 1) block_types_per_layer: Tuple = (('SDCascadeResBlock', 'SDCascadeTimestepBlock', 'SDCascadeAttnBlock'), ('SDCascadeResBlock', 'SDCascadeTimestepBlock', 'SDCascadeAttnBlock')) clip_text_in_channels: Optional = None clip_text_pooled_in_channels = 1280 clip_image_in_channels: Optional = None clip_seq = 4 effnet_in_channels: Optional = None pixel_mapper_in_channels: Optional = None kernel_size = 3 dropout: Union = (0.1, 0.1) self_attn: Union = True timestep_conditioning_type: Tuple = ('sca', 'crp') switch_level: Optional = None )