File tree Expand file tree Collapse file tree 3 files changed +4
-2
lines changed Expand file tree Collapse file tree 3 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -1111,6 +1111,7 @@ def __init__(
1111
1111
condition_on_text = False ,
1112
1112
text_cond_with_film = False ,
1113
1113
text_condition_model_types = ('t5' ,),
1114
+ text_condition_model_kwargs = (dict (),),
1114
1115
text_condition_cond_drop_prob = 0.25 ,
1115
1116
quads = False ,
1116
1117
):
@@ -1162,6 +1163,7 @@ def __init__(
1162
1163
if condition_on_text :
1163
1164
self .conditioner = TextEmbeddingReturner (
1164
1165
model_types = text_condition_model_types ,
1166
+ model_kwargs = text_condition_model_kwargs ,
1165
1167
cond_drop_prob = text_condition_cond_drop_prob ,
1166
1168
text_embed_pad_value = - 1.
1167
1169
)
Original file line number Diff line number Diff line change 1
- __version__ = '1.5.2 '
1
+ __version__ = '1.5.3 '
Original file line number Diff line number Diff line change 23
23
'accelerate>=0.25.0' ,
24
24
'beartype' ,
25
25
"huggingface_hub>=0.21.4" ,
26
- 'classifier-free-guidance-pytorch>=0.6.7 ' ,
26
+ 'classifier-free-guidance-pytorch>=0.6.8 ' ,
27
27
'einops>=0.8.0' ,
28
28
'einx[torch]>=0.3.0' ,
29
29
'ema-pytorch>=0.5.1' ,
You can’t perform that action at this time.
0 commit comments