mirror of
https://github.com/wassname/peft.git
synced 2026-09-09 11:28:32 +08:00
patching
This commit is contained in:
@@ -58,7 +58,7 @@ class LoraConfig(PeftConfig):
|
||||
default=False,
|
||||
metadata={"help": "Set this to True if the layer to replace stores weight like (fan_in, fan_out)"},
|
||||
)
|
||||
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`."})
|
||||
bias: str = field(default="none", metadata={"help": "Bias type for Lora. Can be 'none', 'all' or 'lora_only'"})
|
||||
|
||||
def __post_init__(self):
|
||||
|
||||
Reference in New Issue
Block a user