Skip to content

Commit 4562926

Browse files
FIX Update signature for resolve_lora_variant (#2618)
The function signature was missing **kwargs, which results in a failure after merging #2571.
1 parent 87703ba commit 4562926

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/peft/tuners/lora/bnb.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@ def __init__(
315315
lora_bias=lora_bias,
316316
)
317317

318-
def resolve_lora_variant(self, *, use_dora: bool) -> Optional[LoraVariant]:
318+
def resolve_lora_variant(self, *, use_dora: bool, **kwargs) -> Optional[LoraVariant]:
319319
if not use_dora:
320320
return None
321321

0 commit comments

Comments
 (0)