skip_load_model -> force_full_load (#11390)

This should be a bit more clear and less prone to potential breakage if the
logic of the load models changes a bit.
This commit is contained in:
comfyanonymous
2025-12-17 20:29:32 -08:00
committed by GitHub
parent 86dbb89fc9
commit bf7dc63bd6
2 changed files with 5 additions and 6 deletions

View File

@@ -44,7 +44,7 @@ class TrainGuider(comfy_extras.nodes_custom_sampler.Guider_Basic):
noise.shape,
self.conds,
self.model_options,
skip_load_model=True, # skip load model as we manage it in TrainLoraNode.execute()
force_full_load=True, # mirror behavior in TrainLoraNode.execute() to keep model loaded
)
)
device = self.model_patcher.load_device