We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a643c63 commit a934e5bCopy full SHA for a934e5b
src/diffusers/pipelines/versatile_diffusion/modeling_text_unet.py
@@ -31,6 +31,7 @@ def get_down_block(
31
dual_cross_attention=False,
32
use_linear_projection=False,
33
only_cross_attention=False,
34
+ upcast_attention=False,
35
):
36
down_block_type = down_block_type[7:] if down_block_type.startswith("UNetRes") else down_block_type
37
if down_block_type == "DownBlockFlat":
@@ -83,6 +84,7 @@ def get_up_block(
83
84
85
86
87
88
89
up_block_type = up_block_type[7:] if up_block_type.startswith("UNetRes") else up_block_type
90
if up_block_type == "UpBlockFlat":
0 commit comments