more fixes to config

This commit is contained in:
lucidrains
2023-10-18 20:27:32 -07:00
parent 410a6144e1
commit 1e173f4c66
3 changed files with 4 additions and 4 deletions

View File

@@ -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[int]
self_attn: ListOrTuple[bool]
attn_dim_head: int = 32
attn_heads: int = 16
init_cross_embed: bool = True
@@ -245,7 +245,7 @@ class DecoderConfig(BaseModel):
unets: ListOrTuple[UnetConfig]
image_size: Optional[int] = None
image_sizes: ListOrTuple[int] = None
clip: Optional[AdapterConfig] # The clip model to use if embeddings are not provided
clip: Optional[AdapterConfig] = None # The clip model to use if embeddings are not provided
channels: int = 3
timesteps: int = 1000
sample_timesteps: Optional[SingularOrIterable[Optional[int]]] = None

View File

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