We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a0644fc commit c1ab732Copy full SHA for c1ab732
src/peft/tuners/lora.py
@@ -58,7 +58,7 @@ class LoraConfig(PeftConfig):
58
default=False,
59
metadata={"help": "Set this to True if the layer to replace stores weight like (fan_in, fan_out)"},
60
)
61
- enable_lora: Optional[list[bool]] = field(default=None, metadata={"help": "Used with `lora.MergedLinear`."})
+ enable_lora: Optional[List[bool]] = field(default=None, metadata={"help": "Used with `lora.MergedLinear`."})
62
bias: str = field(default="none", metadata={"help": "Bias type for Lora. Can be 'none', 'all' or 'lora_only'"})
63
64
def __post_init__(self):
0 commit comments