Add OFT/BOFT algorithm in weight adapter (#7725)

This commit is contained in:
Kohaku-Blueleaf
2025-04-22 16:59:47 +08:00
committed by GitHub
parent 3ab231f01f
commit 966c43ce26
3 changed files with 213 additions and 0 deletions

View File

@@ -3,6 +3,8 @@ from .lora import LoRAAdapter
from .loha import LoHaAdapter
from .lokr import LoKrAdapter
from .glora import GLoRAAdapter
from .oft import OFTAdapter
from .boft import BOFTAdapter
adapters: list[type[WeightAdapterBase]] = [
@@ -10,4 +12,6 @@ adapters: list[type[WeightAdapterBase]] = [
LoHaAdapter,
LoKrAdapter,
GLoRAAdapter,
OFTAdapter,
BOFTAdapter,
]