mirror of
https://github.com/modelscope/DiffSynth-Studio.git
synced 2026-04-16 15:28:21 +00:00
update docs
This commit is contained in:
@@ -88,6 +88,9 @@ class TemplatePipeline(torch.nn.Module):
|
||||
self.model_configs = model_configs
|
||||
self.lazy_loading = lazy_loading
|
||||
if lazy_loading:
|
||||
for model_config in model_configs:
|
||||
TemplatePipeline.check_vram_config(model_config)
|
||||
model_config.download_if_necessary()
|
||||
self.models = None
|
||||
else:
|
||||
models = []
|
||||
|
||||
Reference in New Issue
Block a user