mirror of
https://github.com/huggingface/diffusers.git
synced 2026-01-27 17:22:53 +03:00
added attention_head_dim, attention_type, resolution_idx (#6011)
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user