[Model] add a lora module for granite 3.0 MoE models (#9673)

This commit is contained in:
Will Johnson
2024-10-25 01:00:17 -04:00
committed by GitHub
parent 9f7b4ba865
commit a6f3721861

View File

@@ -324,6 +324,7 @@ class GraniteMoeForCausalLM(nn.Module, SupportsLoRA, SupportsPP):
"o_proj",
"embed_tokens",
"lm_head",
"layer",
]
embedding_modules = {
"embed_tokens": "input_embeddings",