Skip to content

Commit

Permalink
added attention_head_dim, attention_type, resolution_idx (#6011)
Browse files Browse the repository at this point in the history
  • Loading branch information
charchit7 authored Dec 1, 2023
1 parent 748c1b3 commit 5058d27
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit 5058d27

Please sign in to comment.