Diffusers documentation

StableCascadeUNet

You are viewing v0.30.3 version. A newer version v0.32.1 is available.
Hugging Face's logo
Join the Hugging Face community

and get access to the augmented documentation experience

to get started

StableCascadeUNet

A UNet model from the Stable Cascade pipeline.

StableCascadeUNet

class diffusers.models.StableCascadeUNet

< >

( 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 )

< > Update on GitHub