fix self_attn type on unetconfig

This commit is contained in:
lucidrains
2023-10-18 21:02:50 -07:00
parent 1e173f4c66
commit dab2f74650
2 changed files with 2 additions and 2 deletions

View File

@@ -233,7 +233,7 @@ class UnetConfig(BaseModel):
cond_on_text_encodings: Optional[bool] = None cond_on_text_encodings: Optional[bool] = None
cond_dim: Optional[int] = None cond_dim: Optional[int] = None
channels: int = 3 channels: int = 3
self_attn: ListOrTuple[bool] self_attn: SingularOrIterable[bool] = False
attn_dim_head: int = 32 attn_dim_head: int = 32
attn_heads: int = 16 attn_heads: int = 16
init_cross_embed: bool = True init_cross_embed: bool = True

View File

@@ -1 +1 @@
__version__ = '1.15.5' __version__ = '1.15.6'