mirror of
https://git.datalinker.icu/comfyanonymous/ComfyUI
synced 2026-09-05 22:37:11 +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)
|
(mat1, mat2, alpha, None, None, None)
|
||||||
)
|
)
|
||||||
|
|
||||||
|
def to_train(self):
|
||||||
|
return LoraDiff(self.weights)
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def load(
|
def load(
|
||||||
cls,
|
cls,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user