Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
renzhc
diffusers_dcu
Commits
5058d27f
"git@developer.sourcefind.cn:renzhc/diffusers_dcu.git" did not exist on "73b125df68183279b90d21200c9a712b05e80083"
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
Hide 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(
...
@@ -50,6 +50,9 @@ def get_down_block(
resnet_eps
,
resnet_eps
,
resnet_act_fn
,
resnet_act_fn
,
num_attention_heads
,
num_attention_heads
,
transformer_layers_per_block
,
attention_type
,
attention_head_dim
,
resnet_groups
=
None
,
resnet_groups
=
None
,
cross_attention_dim
=
None
,
cross_attention_dim
=
None
,
downsample_padding
=
None
,
downsample_padding
=
None
,
...
@@ -113,6 +116,10 @@ def get_up_block(
...
@@ -113,6 +116,10 @@ def get_up_block(
resnet_eps
,
resnet_eps
,
resnet_act_fn
,
resnet_act_fn
,
num_attention_heads
,
num_attention_heads
,
transformer_layers_per_block
,
resolution_idx
,
attention_type
,
attention_head_dim
,
resnet_groups
=
None
,
resnet_groups
=
None
,
cross_attention_dim
=
None
,
cross_attention_dim
=
None
,
dual_cross_attention
=
False
,
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