MCPcopy
hub / github.com/kohya-ss/sd-scripts / device

Method device

library/sd3_models.py:914–915  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

912
913 @property
914 def device(self):
915 return next(self.parameters()).device
916
917 @property
918 def dtype(self):

Callers 15

load_text_encoderFunction · 0.45
prepare_text_inputsFunction · 0.45
load_shared_modelsFunction · 0.45
process_batch_promptsFunction · 0.45
get_generation_settingsFunction · 0.45
mainFunction · 0.45
trainFunction · 0.45
mainFunction · 0.45
generate_imageFunction · 0.45
prepare_text_inputsFunction · 0.45
process_batch_promptsFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected