Gemma support (#474)

* gemma support

* format

* lora support for gemma
This commit is contained in:
Awni Hannun
2024-02-21 08:47:13 -08:00
committed by GitHub
parent cfeef6d9d2
commit ab9172baac
4 changed files with 190 additions and 2 deletions

View File

@@ -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))