@@ -242,6 +242,7 @@ def apply_layer_skip(*args, **kwargs):
242
242
def apply_pyramid_attention_broadcast (* args , ** kwargs ):
243
243
requires_backends (apply_pyramid_attention_broadcast , ["torch" ])
244
244
245
+
245
246
class AllegroTransformer3DModel (metaclass = DummyObject ):
246
247
_backends = ["torch" ]
247
248
@@ -527,6 +528,21 @@ def from_pretrained(cls, *args, **kwargs):
527
528
requires_backends (cls , ["torch" ])
528
529
529
530
531
+ class BriaTransformer2DModel (metaclass = DummyObject ):
532
+ _backends = ["torch" ]
533
+
534
+ def __init__ (self , * args , ** kwargs ):
535
+ requires_backends (self , ["torch" ])
536
+
537
+ @classmethod
538
+ def from_config (cls , * args , ** kwargs ):
539
+ requires_backends (cls , ["torch" ])
540
+
541
+ @classmethod
542
+ def from_pretrained (cls , * args , ** kwargs ):
543
+ requires_backends (cls , ["torch" ])
544
+
545
+
530
546
class CacheMixin (metaclass = DummyObject ):
531
547
_backends = ["torch" ]
532
548
@@ -1067,6 +1083,36 @@ def from_pretrained(cls, *args, **kwargs):
1067
1083
requires_backends (cls , ["torch" ])
1068
1084
1069
1085
1086
+ class QwenImageControlNetModel (metaclass = DummyObject ):
1087
+ _backends = ["torch" ]
1088
+
1089
+ def __init__ (self , * args , ** kwargs ):
1090
+ requires_backends (self , ["torch" ])
1091
+
1092
+ @classmethod
1093
+ def from_config (cls , * args , ** kwargs ):
1094
+ requires_backends (cls , ["torch" ])
1095
+
1096
+ @classmethod
1097
+ def from_pretrained (cls , * args , ** kwargs ):
1098
+ requires_backends (cls , ["torch" ])
1099
+
1100
+
1101
+ class QwenImageMultiControlNetModel (metaclass = DummyObject ):
1102
+ _backends = ["torch" ]
1103
+
1104
+ def __init__ (self , * args , ** kwargs ):
1105
+ requires_backends (self , ["torch" ])
1106
+
1107
+ @classmethod
1108
+ def from_config (cls , * args , ** kwargs ):
1109
+ requires_backends (cls , ["torch" ])
1110
+
1111
+ @classmethod
1112
+ def from_pretrained (cls , * args , ** kwargs ):
1113
+ requires_backends (cls , ["torch" ])
1114
+
1115
+
1070
1116
class QwenImageTransformer2DModel (metaclass = DummyObject ):
1071
1117
_backends = ["torch" ]
1072
1118
0 commit comments