Skip to content

Commit

Permalink
fix self_attn type on unetconfig
Browse files Browse the repository at this point in the history
  • Loading branch information
lucidrains committed Oct 19, 2023
1 parent 1e173f4 commit dab2f74
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dalle2_pytorch/train_configs.py
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ class UnetConfig(BaseModel):
cond_on_text_encodings: Optional[bool] = None
cond_dim: Optional[int] = None
channels: int = 3
self_attn: ListOrTuple[bool]
self_attn: SingularOrIterable[bool] = False
attn_dim_head: int = 32
attn_heads: int = 16
init_cross_embed: bool = True
Expand Down
2 changes: 1 addition & 1 deletion dalle2_pytorch/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '1.15.5'
__version__ = '1.15.6'

0 comments on commit dab2f74

Please sign in to comment.