mirror of
https://github.com/ml-explore/mlx-examples.git
synced 2025-09-18 01:50:19 +08:00
update trainer/lora.py and adding DepthWiseConv1d because mlx 0.18.0 doesnt axepts groups parameter
This commit is contained in:
@@ -143,6 +143,11 @@ def linear_to_lora_layers(
|
||||
"mixer.out_proj",
|
||||
]
|
||||
)
|
||||
elif model.model_type == "mamba2":
|
||||
keys = set(
|
||||
[
|
||||
]
|
||||
)
|
||||
else:
|
||||
raise ValueError(f"Lora does not support {model.model_type}")
|
||||
|
||||
|
Reference in New Issue
Block a user