MCPcopy Create free account
hub / github.com/TencentARC/BrushNet / from_config

Method from_config

src/diffusers/utils/dummy_pt_objects.py:222–223  ·  view source on GitHub ↗
(cls, *args, **kwargs)

Source from the content-addressed store, hash-verified

220
221 @classmethod
222 def from_config(cls, *args, **kwargs):
223 requires_backends(cls, ["torch"])
224
225 @classmethod
226 def from_pretrained(cls, *args, **kwargs):

Callers

nothing calls this directly

Calls 1

requires_backendsFunction · 0.85

Tested by

no test coverage detected