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

Class SanaTransformer2DModel

src/diffusers/utils/dummy_pt_objects.py:1758–1770  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1756
1757
1758class SanaTransformer2DModel(metaclass=DummyObject):
1759 _backends = ["torch"]
1760
1761 def __init__(self, *args, **kwargs):
1762 requires_backends(self, ["torch"])
1763
1764 @classmethod
1765 def from_config(cls, *args, **kwargs):
1766 requires_backends(cls, ["torch"])
1767
1768 @classmethod
1769 def from_pretrained(cls, *args, **kwargs):
1770 requires_backends(cls, ["torch"])
1771
1772
1773class SanaVideoTransformer3DModel(metaclass=DummyObject):

Callers 6

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

Calls

no outgoing calls

Tested by 5

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…