Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/modelscope/DiffSynth-Studio
/ to
Method
to
diffsynth/models/model_manager.py:464–466 ·
view source on GitHub ↗
(self, device)
Source
from the content-addressed store, hash-verified
462
463
464
def
to(self, device):
465
for
model in self.model:
466
model.to(device)
467
Callers
15
generate_image
Function · 0.95
generate_video
Function · 0.95
upscale_video
Function · 0.95
prefetch_layer
Method · 0.45
evict_previous_layer
Method · 0.45
forward
Method · 0.45
timestep_embedding
Method · 0.45
forward
Method · 0.45
forward_with_separate_cfg
Method · 0.45
forward_with_separate_cfg
Method · 0.45
forward
Method · 0.45
forward
Method · 0.45
Calls
no outgoing calls
Tested by
3
generate_image
Function · 0.76
generate_video
Function · 0.76
upscale_video
Function · 0.76