MCPcopy Create free account
hub / github.com/huggingface/diffusers / CogView4Transformer2DModel

Class CogView4Transformer2DModel

src/diffusers/utils/dummy_pt_objects.py:963–975  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

961
962
963class CogView4Transformer2DModel(metaclass=DummyObject):
964 _backends = ["torch"]
965
966 def __init__(self, *args, **kwargs):
967 requires_backends(self, ["torch"])
968
969 @classmethod
970 def from_config(cls, *args, **kwargs):
971 requires_backends(cls, ["torch"])
972
973 @classmethod
974 def from_pretrained(cls, *args, **kwargs):
975 requires_backends(cls, ["torch"])
976
977
978class ConsisIDTransformer3DModel(metaclass=DummyObject):

Callers 3

mainFunction · 0.90
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…