mirror of
https://github.com/ml-explore/mlx-examples.git
synced 2025-09-01 04:14:38 +08:00
@@ -31,6 +31,7 @@ def linear_to_lora_layers(model: nn.Module, num_lora_layers: int):
|
||||
"mixtral",
|
||||
"stablelm_epoch",
|
||||
"qwen2",
|
||||
"gemma",
|
||||
]:
|
||||
check_lora_layers(len(model.model.layers))
|
||||
|
||||
|
Reference in New Issue
Block a user