MCPcopy Create free account
hub / github.com/YesianRohn/TextSSR / FluxTransformer2DModel

Class FluxTransformer2DModel

diffusers/src/diffusers/utils/dummy_pt_objects.py:215–227  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

213
214
215class FluxTransformer2DModel(metaclass=DummyObject):
216 _backends = ["torch"]
217
218 def __init__(self, *args, **kwargs):
219 requires_backends(self, ["torch"])
220
221 @classmethod
222 def from_config(cls, *args, **kwargs):
223 requires_backends(cls, ["torch"])
224
225 @classmethod
226 def from_pretrained(cls, *args, **kwargs):
227 requires_backends(cls, ["torch"])
228
229
230class HunyuanDiT2DControlNetModel(metaclass=DummyObject):

Callers 7

mainFunction · 0.90
get_dummy_componentsMethod · 0.90
get_dummy_componentsMethod · 0.90
get_dummy_componentsMethod · 0.90
get_dummy_componentsMethod · 0.90
get_dummy_componentsMethod · 0.90
get_dummy_componentsMethod · 0.90

Calls

no outgoing calls

Tested by 6

get_dummy_componentsMethod · 0.72
get_dummy_componentsMethod · 0.72
get_dummy_componentsMethod · 0.72
get_dummy_componentsMethod · 0.72
get_dummy_componentsMethod · 0.72
get_dummy_componentsMethod · 0.72