MCPcopy
hub / github.com/huggingface/diffusers / SanaControlNetModel

Class SanaControlNetModel

src/diffusers/utils/dummy_pt_objects.py:1743–1755  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1741
1742
1743class SanaControlNetModel(metaclass=DummyObject):
1744 _backends = ["torch"]
1745
1746 def __init__(self, *args, **kwargs):
1747 requires_backends(self, ["torch"])
1748
1749 @classmethod
1750 def from_config(cls, *args, **kwargs):
1751 requires_backends(cls, ["torch"])
1752
1753 @classmethod
1754 def from_pretrained(cls, *args, **kwargs):
1755 requires_backends(cls, ["torch"])
1756
1757
1758class SanaTransformer2DModel(metaclass=DummyObject):

Callers 2

mainFunction · 0.90
get_dummy_componentsMethod · 0.90

Calls

no outgoing calls

Tested by 1

get_dummy_componentsMethod · 0.72

Used in the wild real call sites across dependent graphs

searching dependent graphs…