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

Class CosmosTransformer3DModel

src/diffusers/utils/dummy_pt_objects.py:1083–1095  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1081
1082
1083class CosmosTransformer3DModel(metaclass=DummyObject):
1084 _backends = ["torch"]
1085
1086 def __init__(self, *args, **kwargs):
1087 requires_backends(self, ["torch"])
1088
1089 @classmethod
1090 def from_config(cls, *args, **kwargs):
1091 requires_backends(cls, ["torch"])
1092
1093 @classmethod
1094 def from_pretrained(cls, *args, **kwargs):
1095 requires_backends(cls, ["torch"])
1096
1097
1098class DiTTransformer2DModel(metaclass=DummyObject):

Callers 7

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

Used in the wild real call sites across dependent graphs

searching dependent graphs…