mirror of
https://git.datalinker.icu/comfyanonymous/ComfyUI
synced 2026-09-04 00:27:05 +08:00
Update lora.py
This commit is contained in:
parent
8cf3b5362b
commit
b8757c5822
@ -74,6 +74,9 @@ class LoRAAdapter(WeightAdapterBase):
|
||||
(mat1, mat2, alpha, None, None, None)
|
||||
)
|
||||
|
||||
def to_train(self):
|
||||
return LoraDiff(self.weights)
|
||||
|
||||
@classmethod
|
||||
def load(
|
||||
cls,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user