MCPcopy
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_imageFunction · 0.95
generate_videoFunction · 0.95
upscale_videoFunction · 0.95
prefetch_layerMethod · 0.45
evict_previous_layerMethod · 0.45
forwardMethod · 0.45
timestep_embeddingMethod · 0.45
forwardMethod · 0.45
forwardMethod · 0.45
forwardMethod · 0.45

Calls

no outgoing calls

Tested by 3

generate_imageFunction · 0.76
generate_videoFunction · 0.76
upscale_videoFunction · 0.76