MCPcopy Create free account
hub / github.com/YesianRohn/TextSSR / __init__

Method __init__

diffusers/examples/community/dps_pipeline.py:44–46  ·  view source on GitHub ↗
(self, unet, scheduler)

Source from the content-addressed store, hash-verified

42 model_cpu_offload_seq = "unet"
43
44 def __init__(self, unet, scheduler):
45 super().__init__()
46 self.register_modules(unet=unet, scheduler=scheduler)
47
48 @torch.no_grad()
49 def __call__(

Callers 4

__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45

Calls 1

register_modulesMethod · 0.45

Tested by

no test coverage detected