Fix percentage logic, begin adding elements to ModelPatcher to track flip flop compatibility

This commit is contained in:
Jedrzej Kosinski
2025-09-29 22:49:12 -07:00
parent ff789c8beb
commit 8a8162e8da
3 changed files with 26 additions and 11 deletions

View File

@@ -604,6 +604,9 @@ class ModelPatcher:
else:
set_func(out_weight, inplace_update=inplace_update, seed=string_to_seed(key))
def supports_flipflop(self):
return hasattr(self.model.diffusion_model, "flipflop")
def _load_list(self):
loading = []
for n, m in self.model.named_modules():