MCPcopy Index your code
hub / github.com/huggingface/diffusers / FluxTransformer2DModel

Class FluxTransformer2DModel

src/diffusers/utils/dummy_pt_objects.py:1188–1200  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1186
1187
1188class FluxTransformer2DModel(metaclass=DummyObject):
1189 _backends = ["torch"]
1190
1191 def __init__(self, *args, **kwargs):
1192 requires_backends(self, ["torch"])
1193
1194 @classmethod
1195 def from_config(cls, *args, **kwargs):
1196 requires_backends(cls, ["torch"])
1197
1198 @classmethod
1199 def from_pretrained(cls, *args, **kwargs):
1200 requires_backends(cls, ["torch"])
1201
1202
1203class GlmImageTransformer2DModel(metaclass=DummyObject):

Callers 15

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
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 14

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
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

Used in the wild real call sites across dependent graphs

searching dependent graphs…