Update lora.py

This commit is contained in:
Kohaku-Blueleaf 2025-06-10 23:20:30 +08:00
parent 8cf3b5362b
commit b8757c5822

View File

@ -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,