Skip to content

Commit

Permalink
Actually add support for RSLoRA and DoRA
Browse files Browse the repository at this point in the history
  • Loading branch information
arnavgarg1 committed Apr 5, 2024
1 parent 4b07ce4 commit 517f814
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ludwig/schema/llms/peft.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,8 @@ def to_config(self, task_type: str = None, **kwargs) -> "PeftConfig":
bias=self.bias_type,
target_modules=self.target_modules,
task_type=task_type,
use_rslora=self.use_rslora,
use_dora=self.use_dora,
)

@classmethod
Expand Down

0 comments on commit 517f814

Please sign in to comment.