Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/lllyasviel/Fooocus
/ to
Method
to
ldm_patched/contrib/external_hypernetwork.py:91–94 ·
view source on GitHub ↗
(self, device)
Source
from the content-addressed store, hash-verified
89
return
q, k, v
90
91
def
to(self, device):
92
for
d in self.hypernet.keys():
93
self.hypernet[d] = self.hypernet[d].to(device)
94
return
self
95
96
return
hypernetwork_patch(out, strength)
97
Callers
15
encode_vae_inpaint
Function · 0.80
get_previewer
Function · 0.80
preview_function
Function · 0.80
ksampler
Function · 0.80
patch
Method · 0.80
input_block_patch
Method · 0.80
patched_timestep_embedding
Function · 0.80
clip_separate_inner
Function · 0.80
sample_hacked
Function · 0.80
patched_encode_token_weights
Function · 0.80
patched_SDClipModel__init__
Function · 0.80
patched_SDClipModel_forward
Function · 0.80
Calls
1
keys
Method · 0.80
Tested by
no test coverage detected