MCPcopy
hub / github.com/Stability-AI/generative-models / load_model

Function load_model

scripts/demo/streamlit_helpers.py:93–94  ·  view source on GitHub ↗
(model)

Source from the content-addressed store, hash-verified

91
92
93def load_model(model):
94 model.cuda()
95
96
97lowvram_mode = False

Callers 2

do_sampleFunction · 0.85
do_img2imgFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected