Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
chenpangpang
diffusers
Commits
5058d27f
Unverified
Commit
5058d27f
authored
Dec 01, 2023
by
Charchit Sharma
Committed by
GitHub
Dec 01, 2023
Browse files
added attention_head_dim, attention_type, resolution_idx (#6011)
parent
748c1b3e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
src/diffusers/pipelines/versatile_diffusion/modeling_text_unet.py
...users/pipelines/versatile_diffusion/modeling_text_unet.py
+7
-0
No files found.
src/diffusers/pipelines/versatile_diffusion/modeling_text_unet.py
View file @
5058d27f
...
...
@@ -50,6 +50,9 @@ def get_down_block(
resnet_eps
,
resnet_act_fn
,
num_attention_heads
,
transformer_layers_per_block
,
attention_type
,
attention_head_dim
,
resnet_groups
=
None
,
cross_attention_dim
=
None
,
downsample_padding
=
None
,
...
...
@@ -113,6 +116,10 @@ def get_up_block(
resnet_eps
,
resnet_act_fn
,
num_attention_heads
,
transformer_layers_per_block
,
resolution_idx
,
attention_type
,
attention_head_dim
,
resnet_groups
=
None
,
cross_attention_dim
=
None
,
dual_cross_attention
=
False
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment