Fixed bug that prevented using schnell training adapter
This commit is contained in:
@@ -209,7 +209,9 @@ class LoRASpecialNetwork(ToolkitNetworkMixin, LoRANetwork):
|
||||
ignore_if_contains = []
|
||||
self.ignore_if_contains = ignore_if_contains
|
||||
self.transformer_only = transformer_only
|
||||
self.base_model_ref = weakref.ref(base_model)
|
||||
self.base_model_ref = None
|
||||
if base_model is not None:
|
||||
self.base_model_ref = weakref.ref(base_model)
|
||||
|
||||
self.only_if_contains: Union[List, None] = only_if_contains
|
||||
|
||||
|
||||
Reference in New Issue
Block a user