sd3 ¶
Classes¶
fastvideo.models.dits.sd3.SD3Attention ¶
SD3Attention(query_dim: int, heads: int, dim_head: int, out_dim: int, added_kv_proj_dim: int | None = None, context_pre_only: bool | None = None, qk_norm: str | None = None, eps: float = 1e-06, supported_attention_backends: tuple[AttentionBackendEnum, ...] | None = None)
Bases: Module
Joint self-attention used in SD3 blocks.
Source code in fastvideo/models/dits/sd3.py
fastvideo.models.dits.sd3.SD3PatchEmbed ¶
SD3PatchEmbed(height: int = 224, width: int = 224, patch_size: int = 16, in_channels: int = 3, embed_dim: int = 768, layer_norm: bool = False, flatten: bool = True, bias: bool = True, interpolation_scale: float = 1.0, pos_embed_type: str | None = 'sincos', pos_embed_max_size: int | None = None)
Bases: Module
2D patch embedding with SD3 positional embedding cropping behavior.
Source code in fastvideo/models/dits/sd3.py
fastvideo.models.dits.sd3.SD3Transformer2DModel ¶
Bases: BaseDiT
FastVideo-native SD3 Transformer2DModel.